Topic: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

A company plans to deploy containers on AWS. The company wants full control of the compute resources that host the containers. Which AWS service will meet these requirements?

A.
Amazon Elastic Kubernetes Service (Amazon EKS)
B.
AWS Fargate
C.
Amazon EC2
D.
Amazon Elastic Container Service (Amazon ECS)

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

C. Amazon EC2

Amazon EC2 (Elastic Compute Cloud) provides resizable compute capacity and allows you to have full control over the underlying infrastructure. With EC2, you can launch instances and deploy containers on them using container orchestration tools like Docker or Kubernetes while retaining control over the configuration, scaling, and management of the underlying virtual servers. This option provides the flexibility and control needed for managing compute resources directly.

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Full control is the key word. ECS is managed container service, no control over compute by customer, all managed by AWS

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Full control is the key word. ECS is managed container service, no control over compute by customer, all managed by AWS

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Full control is the key word. ECS is managed container service, no control over compute by customer, all managed by AWS

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

C = CORRECT

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Answer: C. Amazon EC2

Fargate: for serverless compute for containers, where AWS will manage your infrastructure provisioning.

EC2: For full control over your compute environment.

Amazon Elastic Container Service or Amazon Elastic Kubernetes Service: For container orchestrators.

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

C. Amazon EC2

Here's why:

Requirement: Full control over compute resources for container deployment.
Service Features:
EC2: Provides virtual machines (VMs) where users have complete control over configuration, resource allocation, and management.
EKS: A managed Kubernetes service, not offering direct control over underlying compute resources.
Fargate: Serverless container platform within ECS, where resources are managed by AWS.
ECS: Offers both managed and unmanaged options (EC2 Launch Type), but the EC2 Launch Type provides full control over compute resources.
Therefore, only EC2 allows complete user control over the VMs hosting the containers, fulfilling the company's specific need

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Amazon Elastic Container Service (ECS) is a fully managed container orchestration service that helps you to more efficiently deploy, manage, and scale containerized applications. It deeply integrates with the AWS environment to provide an easy-to-use solution for running container workloads in the cloud and on premises with advanced security features using Amazon ECS Anywhere.

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

ECS for sure. Below is an excerpt from the doc:

"For full control over your compute environment, choose to run your containers on Amazon Elastic Compute Cloud (EC2)"

https://aws.amazon.com/containers/

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

In the link that you shared it's also mentioned EC2

"For full control over your compute environment, choose to run your containers on Amazon Elastic Compute Cloud (EC2)"

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

First EC2 is not ECS so this cannot be accurate.
Second for this who picked EC2 im not so sure check this out:
https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html

Main points are:
Provide bootstrap arguments at deployment of a node, such as extra kubelet arguments.
Assign IP addresses to Pods from a different CIDR block than the IP address assigned to the node.
Deploy your own custom AMI to nodes.
Deploy your own custom CNI to nodes.

That’s basically full control, you can use your own custom AMIs and also control all the other features so basically EKS should be the correct answer here.

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Services like ECS and EKS provide managed orchestration of containers but the underlying compute is abstracted away. With EC2, the company can choose the instance types, availability zones, security groups etc as per their needs.

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Not really though with EKS you can login to the systems and you can provide your own images so actually you do have full control of the compute it’s the backplane that is taken care of. Yes a lot of stuff gets automated on those node systems but to say you don’t have full control of them isn’t accurate.

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

"AWS Container services" section on following link explains use cases for different AWS services very well. Company can have full control of the compute resources that hosts the containers through Amazon EC2.

https://aws.amazon.com/containers/

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Full control on computer resources.

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

EC2  - COMPUTE RESOURCE

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

C is correct

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Answer: C. Amazon EC2

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

I think that answer is C and is explained here
https://aws.amazon.com/containers/
Compute options --> Run containers with server-level control --> Amazon Elastic Compute Cloud (EC2)

Re: AWS Certified Cloud Practitioner CLF-C02 topic 1 question 121

Answer: C. Amazon EC2

Explanation: Amazon EC2 is a fully managed service for creating and managing virtual computers (EC2 instances) in the AWS Cloud. Companies that want to have full control over the compute resources that host their containers can use EC2 to provision and configure their own EC2 instances.