Skip to content

3.3

Question 1

A company runs a video transcoding application that performs CPU-intensive processing. The application requires high-performance processors and does not need large amounts of local storage. Which Amazon EC2 instance category is most appropriate?

A. Compute optimized
B. Storage optimized
C. Memory optimized
D. General purpose

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Compute optimized EC2 instances are designed for compute-bound workloads that require high-performance processors, such as video transcoding, batch processing, and high-performance web servers. * **Why B is incorrect:** Storage optimized instances are designed for workloads requiring high, sequential read and write access to very large local data sets. * **Why C is incorrect:** Memory optimized instances are intended for workloads that process large data sets in memory. * **Why D is incorrect:** General purpose instances provide a balanced combination of compute, memory, and networking resources but are not specifically optimized for CPU-intensive workloads.

Question 2

A company needs to run a web application consisting of containerized services. The development team does not want to manage servers or clusters and wants AWS to manage the underlying compute infrastructure. Which AWS service should the company use?

A. Amazon ECS with AWS Fargate
B. Amazon EKS with customer-managed worker nodes
C. Amazon EC2
D. Amazon Lightsail

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Amazon ECS orchestrates containers, and AWS Fargate provides serverless compute for running those containers without requiring the company to provision or manage servers. * **Why B is incorrect:** Amazon EKS provides managed Kubernetes control planes, but customer-managed worker nodes still require infrastructure management unless a serverless compute option is selected. * **Why C is incorrect:** Amazon EC2 provides virtual servers, but the company would be responsible for managing the instances and container infrastructure. * **Why D is incorrect:** Amazon Lightsail is designed for simple virtual private servers and applications, not for managed container orchestration at this level.

Question 3

An online retailer experiences unpredictable increases in traffic during sales events. The retailer wants to automatically add or remove EC2 instances to maintain application performance and control costs. Which AWS service should the retailer use?

A. AWS Auto Scaling
B. Elastic Load Balancing
C. Amazon ECS
D. AWS Lambda

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Auto Scaling automatically adjusts compute capacity based on demand, providing elasticity by adding capacity during increases in traffic and removing capacity when demand decreases. * **Why B is incorrect:** Elastic Load Balancing distributes incoming traffic across targets, but it does not by itself provide the automatic addition or removal of EC2 instances. * **Why C is incorrect:** Amazon ECS is a container orchestration service and does not directly provide EC2 instance scaling for a traditional EC2-based application. * **Why D is incorrect:** AWS Lambda runs code without provisioning servers, but it is not the service used to automatically scale a group of EC2 instances.

Question 4

A company has a short-running image-processing function that should execute automatically whenever a new image is uploaded. The company does not want to provision or manage servers. Which AWS compute service is most appropriate?

A. AWS Lambda
B. Amazon EC2
C. Amazon Lightsail
D. AWS Outposts

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Lambda runs code in response to events without requiring customers to provision or manage servers. It is well suited for short-running, event-driven processing. * **Why B is incorrect:** Amazon EC2 requires the company to provision and manage virtual servers. * **Why C is incorrect:** Amazon Lightsail provides simplified virtual servers and other resources, but it still requires server management. * **Why D is incorrect:** AWS Outposts extends AWS infrastructure into a customer’s facility and is used when workloads must run on premises, not for simple event-driven serverless processing.

Question 5

A company has an existing application that uses Kubernetes APIs and tools. The company wants to run the application on AWS while minimizing management of the Kubernetes control plane. Which service should the company choose?

A. Amazon EKS
B. Amazon ECS
C. AWS Lambda
D. AWS Batch

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Amazon EKS is a managed Kubernetes service that enables organizations to run Kubernetes workloads on AWS while AWS manages the Kubernetes control plane. * **Why B is incorrect:** Amazon ECS is AWS’s container orchestration service but does not provide a Kubernetes control plane. * **Why C is incorrect:** AWS Lambda is a serverless function service and does not run applications that require Kubernetes orchestration. * **Why D is incorrect:** AWS Batch is designed to run batch computing jobs and is not a managed Kubernetes service for general application orchestration.

Question 6

A company hosts a public web application on several EC2 instances. The company wants incoming requests distributed across healthy instances so that the application remains available if one instance fails. Which AWS service should the company use?

A. Elastic Load Balancing
B. AWS Auto Scaling
C. Amazon EKS
D. AWS Batch

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Elastic Load Balancing distributes incoming traffic across multiple targets and can route traffic only to healthy targets, improving application availability. * **Why B is incorrect:** AWS Auto Scaling adjusts capacity by adding or removing resources, but it is not primarily responsible for distributing incoming requests. * **Why C is incorrect:** Amazon EKS manages Kubernetes clusters and workloads, not traffic distribution for a general EC2-based application. * **Why D is incorrect:** AWS Batch schedules and runs batch computing jobs rather than serving and distributing web requests.

Question 7

A research organization needs to run thousands of independent computational jobs. The jobs can be queued and run when compute capacity is available, and the organization wants the service to provision the required compute resources automatically. Which AWS service is most appropriate?

A. AWS Batch
B. AWS Lambda
C. Elastic Load Balancing
D. Amazon Lightsail

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Batch is designed to run batch computing jobs at scale. It queues jobs and provisions the appropriate compute resources to process them. * **Why B is incorrect:** AWS Lambda is suitable for event-driven functions, but it is not the primary service for managing large queues of computational batch jobs. * **Why C is incorrect:** Elastic Load Balancing distributes application traffic and does not schedule batch jobs. * **Why D is incorrect:** Amazon Lightsail provides simplified cloud resources for smaller applications and does not provide large-scale batch job scheduling.

Question 8

A small business wants to deploy a simple blog with a low and predictable workload. The business has limited AWS experience and wants an easy-to-use virtual server with simplified pricing and management. Which AWS service is most appropriate?

A. Amazon Lightsail
B. Amazon EC2
C. Amazon EKS
D. AWS Outposts

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Amazon Lightsail provides an easy-to-use virtual private server experience with simplified pricing and bundled resources, making it suitable for simple applications and small businesses. * **Why B is incorrect:** Amazon EC2 provides greater flexibility and control but generally requires more configuration and management. * **Why C is incorrect:** Amazon EKS is designed for Kubernetes container orchestration and is unnecessarily complex for a simple blog. * **Why D is incorrect:** AWS Outposts is intended for running AWS infrastructure in a customer’s on-premises location, not for a small public blog.

Question 9

A financial services company must keep certain workloads in its own data center because of regulatory requirements. The company wants to use AWS infrastructure, APIs, and services locally while maintaining a consistent hybrid experience. Which AWS service should the company use?

A. AWS Outposts
B. Amazon EC2
C. AWS Fargate
D. Amazon Lightsail

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Outposts extends AWS infrastructure and services into a customer’s on-premises facility, supporting workloads that must remain local while providing a consistent AWS experience. * **Why B is incorrect:** Amazon EC2 normally runs in AWS Regions and does not by itself place AWS infrastructure in the customer’s data center. * **Why C is incorrect:** AWS Fargate provides serverless compute for containers in AWS environments but does not independently satisfy the requirement to run AWS infrastructure on premises. * **Why D is incorrect:** Amazon Lightsail is designed for simplified cloud application hosting and is not an on-premises AWS infrastructure service.

Question 10

A media company is selecting compute services for two workloads: a containerized application that should run without server management and a high-performance database that requires very fast access to large amounts of local data. Which TWO options meet these requirements? (Select TWO)

A. AWS Fargate
B. Storage optimized Amazon EC2 instances
C. Amazon Lightsail
D. AWS Lambda
E. Amazon EKS with customer-managed worker nodes

Click to view Answer & Explanation **Correct Answers:** A and B **Explanation:** * **Why A is correct:** AWS Fargate runs containers without requiring the company to provision or manage the underlying servers, making it appropriate for the containerized application. * **Why B is correct:** Storage optimized EC2 instances are designed for workloads requiring high, sequential read and write access to very large data sets, such as certain databases and data processing applications. * **Why C is incorrect:** Amazon Lightsail is intended for simple applications and does not specifically provide serverless container execution or storage-optimized database performance. * **Why D is incorrect:** AWS Lambda is intended for event-driven functions and is not designed to host a high-performance database requiring large local storage. * **Why E is incorrect:** Amazon EKS with customer-managed worker nodes provides Kubernetes orchestration, but the customer must manage the worker node infrastructure, which does not meet the serverless container requirement.

Question 11

A company runs a web application on Amazon EC2 instances. Traffic varies significantly throughout the day, and the company wants the number of instances to increase during peak periods and decrease during low-demand periods. Which AWS service provides this elasticity?

A. AWS Auto Scaling
B. Amazon Lightsail
C. AWS Batch
D. AWS Outposts

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Auto Scaling automatically adjusts compute capacity based on demand, helping applications maintain performance while controlling costs. * **Why distractors are incorrect:** * **B (Amazon Lightsail):** Provides simplified virtual private servers and application hosting, but is not primarily an automatic scaling service. * **C (AWS Batch):** Runs batch computing jobs, not continuously scaling web application instances. * **D (AWS Outposts):** Extends AWS infrastructure into an on-premises location and does not provide application elasticity by itself.

Question 12

A media company needs to distribute incoming requests across multiple Amazon EC2 instances running its public website. The company also wants the service to improve application availability if one instance becomes unhealthy. Which AWS service should the company use?

A. Elastic Load Balancing
B. AWS Lambda
C. Amazon Lightsail
D. AWS Batch

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Elastic Load Balancing distributes incoming traffic across healthy targets, such as EC2 instances, and helps improve application availability. * **Why distractors are incorrect:** * **B (AWS Lambda):** Runs code without managing servers but does not distribute traffic among EC2 instances. * **C (Amazon Lightsail):** Provides simplified virtual servers and related resources, not load balancing for an EC2-based application. * **D (AWS Batch):** Manages batch job queues and compute environments rather than web traffic distribution.

Question 13

A financial company runs a numerical analysis application that performs intensive calculations and requires high CPU performance. Which Amazon EC2 instance category is most appropriate?

A. Compute optimized
B. Storage optimized
C. Memory optimized
D. General purpose

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Compute-optimized EC2 instances are designed for workloads that require high-performance processors, such as batch processing, high-performance computing, and scientific modeling. * **Why distractors are incorrect:** * **B (Storage optimized):** Is designed for workloads requiring high, sequential read and write access to local storage. * **C (Memory optimized):** Is designed for workloads that process large data sets in memory. * **D (General purpose):** Provides a balanced combination of compute, memory, and networking for a wide range of workloads but is not specifically optimized for intensive CPU processing.

Question 14

An online retailer is deploying a database that requires very high rates of read and write access to local data storage. Which Amazon EC2 instance category should the retailer consider?

A. Storage optimized
B. Compute optimized
C. General purpose
D. Burstable performance

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Storage-optimized EC2 instances are designed for workloads requiring high, sequential read and write access to large data sets on local storage. * **Why distractors are incorrect:** * **B (Compute optimized):** Focuses on high CPU performance rather than local storage throughput. * **C (General purpose):** Provides a balanced resource configuration and is not specialized for high local storage performance. * **D (Burstable performance):** Provides a baseline level of CPU performance with the ability to burst above that baseline; it is not specifically designed for storage-intensive workloads.

Question 15

A small business wants to host a simple website and a small database. The business has limited AWS experience and wants a predictable monthly price with a simplified management experience. Which AWS service is most appropriate?

A. Amazon Lightsail
B. Amazon EC2 with AWS Auto Scaling
C. AWS Outposts
D. AWS Batch

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Amazon Lightsail provides simplified virtual servers, storage, networking, and other resources with predictable pricing, making it suitable for simple applications and users with limited AWS experience. * **Why distractors are incorrect:** * **B (Amazon EC2 with AWS Auto Scaling):** Provides more flexibility and control but generally requires more architecture and management than this small business needs. * **C (AWS Outposts):** Places AWS infrastructure in an on-premises location and is intended for specific hybrid requirements. * **D (AWS Batch):** Runs batch computing jobs and is not intended for hosting a simple website and database.

Question 16

A company has a containerized application but does not want to provision or manage the underlying servers. The company wants AWS to run the containers while it focuses on the application and container images. Which AWS service is most appropriate?

A. AWS Fargate
B. Amazon EC2
C. Amazon Lightsail
D. AWS Outposts

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Fargate is a serverless compute engine for containers. It allows customers to run containers without managing the underlying EC2 instances. * **Why distractors are incorrect:** * **B (Amazon EC2):** Requires customers to select, configure, patch, and manage virtual servers unless additional services are used. * **C (Amazon Lightsail):** Provides simplified virtual servers but is not the primary serverless container compute option. * **D (AWS Outposts):** Provides AWS infrastructure on premises and does not remove the need to manage the underlying environment in the same way as Fargate.

Question 17

A development team is building a function that processes an image whenever the image is uploaded. The function runs for a short time, and the team does not want to manage servers. Which AWS service should the team use?

A. AWS Lambda
B. Amazon EC2
C. AWS Batch
D. Amazon Lightsail

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Lambda runs code in response to events without requiring customers to provision or manage servers. It is well suited for short-running event-driven processing. * **Why distractors are incorrect:** * **B (Amazon EC2):** Requires management of virtual servers and is less suitable when the application consists of short, event-driven functions. * **C (AWS Batch):** Is designed for batch computing jobs rather than simple event-driven function execution. * **D (Amazon Lightsail):** Provides simplified virtual servers but still involves server-based application hosting.

Question 18

A company has an existing application packaged as containers and wants to use a managed AWS container orchestration service without adopting Kubernetes. Which service should the company choose?

A. Amazon ECS
B. Amazon EKS
C. AWS Lambda
D. AWS Batch

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Amazon Elastic Container Service (Amazon ECS) is a managed container orchestration service that can run and manage containerized applications without requiring Kubernetes. * **Why distractors are incorrect:** * **B (Amazon EKS):** Provides managed Kubernetes control planes and is appropriate when the organization specifically needs Kubernetes. * **C (AWS Lambda):** Runs functions rather than continuously managing a containerized application through a container orchestration platform. * **D (AWS Batch):** Orchestrates batch jobs and is not the general-purpose container orchestration choice for this requirement.

Question 19

A company has standardized its development and operations processes on Kubernetes. It wants a managed Kubernetes control plane in AWS. Which service should the company use?

A. Amazon EKS
B. Amazon ECS
C. AWS Fargate
D. Amazon Lightsail

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service for running Kubernetes on AWS. * **Why distractors are incorrect:** * **B (Amazon ECS):** Is AWS’s container orchestration service but does not provide Kubernetes. * **C (AWS Fargate):** Provides serverless compute for containers, but it is not itself a Kubernetes control plane. * **D (Amazon Lightsail):** Provides simplified virtual servers and application hosting rather than managed Kubernetes orchestration.

Question 20

A research organization needs to run thousands of independent simulations. Each simulation is a separate job, and the organization wants the service to automatically provision the required compute resources and manage job queues. Which AWS service is most appropriate?

A. AWS Batch
B. AWS Lambda
C. Elastic Load Balancing
D. Amazon Lightsail

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Batch runs batch computing jobs at any scale, manages job queues, and provisions the appropriate compute capacity for the jobs. * **Why distractors are incorrect:** * **B (AWS Lambda):** Is intended for event-driven functions and is not the primary service for managing large queues of batch computing jobs. * **C (Elastic Load Balancing):** Distributes network traffic among application targets rather than scheduling batch jobs. * **D (Amazon Lightsail):** Provides simplified virtual servers and is not designed for large-scale batch job orchestration.

Question 21

A company must run an application in its own data center because the application processes sensitive data that cannot leave the facility. The company wants to use AWS infrastructure and services on premises. Which AWS service should the company evaluate?

A. AWS Outposts
B. Amazon Lightsail
C. AWS Lambda
D. Amazon ECS

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Outposts provides AWS infrastructure and services in an on-premises location, supporting workloads that must remain locally due to data residency, latency, or operational requirements. * **Why distractors are incorrect:** * **B (Amazon Lightsail):** Provides simplified cloud-based virtual servers and is not designed to place AWS infrastructure in a customer data center. * **C (AWS Lambda):** Runs serverless functions in AWS Regions and is not an on-premises infrastructure service. * **D (Amazon ECS):** Orchestrates containers but does not by itself provide AWS infrastructure in the customer’s facility.

Question 22

A web application experiences unpredictable traffic spikes. The company wants to automatically add or remove EC2 instances so that the application maintains performance while avoiding unnecessary capacity during quiet periods. Which capability is being described?

A. Elasticity provided by AWS Auto Scaling
B. Load distribution provided by Elastic Load Balancing
C. Function execution provided by AWS Lambda
D. Container orchestration provided by Amazon ECS

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Auto Scaling provides elasticity by automatically adjusting the amount of compute capacity to match demand. * **Why distractors are incorrect:** * **B (Elastic Load Balancing):** Distributes traffic across targets but does not, by itself, add or remove EC2 instances. * **C (AWS Lambda):** Automatically runs functions without server management but does not scale an EC2 fleet. * **D (Amazon ECS):** Orchestrates containers but is not the general capability described for scaling an EC2 instance fleet.

Question 23

A company wants to deploy a service that requires large amounts of memory to keep an in-memory data set available for fast processing. Which Amazon EC2 instance category is most appropriate?

A. Memory optimized
B. Compute optimized
C. Storage optimized
D. General purpose

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Memory-optimized EC2 instances are designed for workloads that process large data sets in memory, including in-memory databases and real-time big data analytics. * **Why distractors are incorrect:** * **B (Compute optimized):** Is intended for CPU-intensive workloads rather than large memory requirements. * **C (Storage optimized):** Is intended for high local storage performance and storage-intensive workloads. * **D (General purpose):** Offers balanced resources and is not specifically optimized for very large memory workloads.

Question 24

A company is designing a highly available application that runs on several EC2 instances. Which two actions should the company take to distribute user requests and route traffic away from unhealthy instances? (Select TWO)

A. Use Elastic Load Balancing in front of the instances.
B. Configure health checks for the load balancer targets.
C. Use AWS Batch to place user requests into a job queue.
D. Use Amazon Lightsail instead of EC2 instances.

Click to view Answer & Explanation **Correct Answers:** A and B **Explanation:** * **Why A is correct:** Elastic Load Balancing distributes incoming traffic across registered targets such as EC2 instances. * **Why B is correct:** Health checks allow the load balancer to identify unhealthy targets and stop routing traffic to them. * **Why distractors are incorrect:** * **C (AWS Batch):** Manages batch computing jobs and is not used to distribute interactive application requests. * **D (Amazon Lightsail):** Is a simplified hosting service and does not provide the required EC2 load-balancing design.

Question 25

A company wants to run a containerized application and avoid managing the underlying compute instances. Which two AWS services can provide container orchestration or container compute while reducing server management? (Select TWO)

A. Amazon ECS with AWS Fargate
B. Amazon EKS with AWS Fargate
C. Amazon EC2 without any container service
D. AWS Batch without a container workload

Click to view Answer & Explanation **Correct Answers:** A and B **Explanation:** * **Why A is correct:** Amazon ECS can orchestrate containers, and AWS Fargate can provide the serverless compute capacity for those containers. * **Why B is correct:** Amazon EKS provides managed Kubernetes orchestration, and AWS Fargate can run supported Kubernetes pods without customers managing the underlying servers. * **Why distractors are incorrect:** * **C (Amazon EC2):** EC2 provides virtual servers that the customer must manage; it does not by itself provide container orchestration or serverless container execution. * **D (AWS Batch without a container workload):** AWS Batch is designed for batch jobs and does not meet the general containerized application requirement as stated.

Question 26

A company needs to execute code in response to events, such as messages arriving or objects being uploaded. The code usually runs for a short duration, and the company wants to pay based on execution rather than maintain continuously running servers. Which service is most appropriate?

A. AWS Lambda
B. Amazon EC2
C. Amazon Lightsail
D. AWS Outposts

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** AWS Lambda is a serverless compute service that runs code in response to events and eliminates the need to manage continuously running servers. * **Why distractors are incorrect:** * **B (Amazon EC2):** Provides virtual servers that the customer must provision and manage. * **C (Amazon Lightsail):** Provides simplified virtual servers with predictable pricing, not event-driven serverless execution. * **D (AWS Outposts):** Extends AWS infrastructure on premises and is not intended for this event-driven compute pattern.

Question 27

A company runs a web application on EC2 instances in an Auto Scaling group. During a traffic spike, the company observes that new instances are launched, but users are not evenly distributed across the instances. Which service is needed to distribute incoming application traffic?

A. Elastic Load Balancing
B. AWS Auto Scaling
C. AWS Batch
D. Amazon EKS

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Elastic Load Balancing distributes incoming application traffic across multiple targets, including instances in an Auto Scaling group. * **Why distractors are incorrect:** * **B (AWS Auto Scaling):** Adds or removes capacity based on demand but does not distribute user requests among instances. * **C (AWS Batch):** Schedules and runs batch jobs rather than serving web traffic. * **D (Amazon EKS):** Manages Kubernetes clusters and is unrelated to distributing traffic across this EC2-based application.

Question 28

A startup is moving a CPU-intensive video transcoding workload to AWS. The workload runs continuously and benefits from high processing performance. Which option should the startup choose?

A. Compute-optimized Amazon EC2 instances
B. Storage-optimized Amazon EC2 instances
C. AWS Lambda functions for all transcoding jobs
D. Amazon Lightsail virtual servers

Click to view Answer & Explanation **Correct Answer:** A **Explanation:** * **Why A is correct:** Compute-optimized EC2 instances are appropriate for sustained CPU-intensive workloads such as video encoding and transcoding. * **Why distractors are incorrect:** * **B (Storage-optimized EC2 instances):** Are optimized for high local storage performance, not primarily CPU-intensive processing. * **C (AWS Lambda):** Is best suited for short-running event-driven functions and may not be appropriate for a continuously running transcoding workload. * **D (Amazon Lightsail):** Provides simplified virtual servers but is not the specialized choice for high-performance CPU workloads.

Question 29

A company has a Kubernetes-based application and wants to reduce the operational effort of managing worker node servers. Which two options can help the company run the application while minimizing direct server management? (Select TWO)

A. Amazon EKS with AWS Fargate
B. Amazon EKS with managed node groups
C. Amazon EC2 instances configured and patched manually
D. Amazon Lightsail instances managed independently of Kubernetes

Click to view Answer & Explanation **Correct Answers:** A and B **Explanation:** * **Why A is correct:** Amazon EKS provides managed Kubernetes, and AWS Fargate can run workloads without the customer managing the underlying worker servers. * **Why B is correct:** EKS managed node groups automate aspects of provisioning and managing the EC2 worker nodes, reducing operational effort compared with manually managed instances. * **Why distractors are incorrect:** * **C (Amazon EC2 instances configured and patched manually):** Requires the company to perform significant server provisioning, patching, and maintenance. * **D (Amazon Lightsail):** Provides simplified virtual servers but does not provide the managed Kubernetes deployment model described.

Question 30

A company must choose compute services for two workloads:

  • Workload 1 is a short-running function triggered by an application event.
  • Workload 2 is a containerized application that must run continuously, but the company does not want to manage servers.

Which two services should the company use? (Select TWO)

A. AWS Lambda for Workload 1
B. AWS Fargate for Workload 2
C. AWS Batch for Workload 1
D. Amazon EC2 for Workload 2 without an orchestration service

Click to view Answer & Explanation **Correct Answers:** A and B **Explanation:** * **Why A is correct:** AWS Lambda is designed for short-running, event-driven code without server management. * **Why B is correct:** AWS Fargate runs continuously running containers without requiring the company to manage the underlying servers. * **Why distractors are incorrect:** * **C (AWS Batch):** Is intended for queued batch computing jobs, not a typical short-running event-driven function. * **D (Amazon EC2 without an orchestration service):** Requires the company to manage the virtual servers and does not meet the requirement to avoid server management.