1What is the main purpose of a cloud compute service?
Overview of compute services
Easy
A.To provide processing resources
B.To manage user passwords only
C.To store physical documents
D.To design network cables
Correct Answer: To provide processing resources
Explanation:
Cloud compute services provide processing power for running applications and workloads.
Incorrect! Try again.
2Which factor commonly helps determine the type of compute service needed?
Overview of compute services
Easy
A.Workload requirements
B.Office wall color
C.Printer brand
D.Employee clothing
Correct Answer: Workload requirements
Explanation:
Compute services are selected based on requirements such as processing power, memory, scalability, and workload type.
Incorrect! Try again.
3What does scalability mean in cloud computing?
Overview of compute services
Easy
A.Using only one server forever
B.Removing all application data
C.Blocking users from applications
D.Changing resources with demand
Correct Answer: Changing resources with demand
Explanation:
Scalability is the ability to increase or decrease computing resources as workload demand changes.
Incorrect! Try again.
4Which AWS service is primarily used to run virtual servers?
Overview of compute services
Easy
A.Amazon EC2
B.Amazon S3
C.Amazon Route 53
D.Amazon RDS
Correct Answer: Amazon EC2
Explanation:
Amazon EC2 provides resizable virtual servers, called instances, in the AWS Cloud.
Incorrect! Try again.
5What is an EC2 instance?
Amazon EC2
Easy
A.A DNS record
B.A virtual server
C.A storage bucket
D.A database table
Correct Answer: A virtual server
Explanation:
An EC2 instance is a virtual server that can run applications in AWS.
Incorrect! Try again.
6What does an Amazon Machine Image (AMI) provide?
Amazon EC2
Easy
A.A network address list
B.A template for instances
C.A billing invoice
D.A user support ticket
Correct Answer: A template for instances
Explanation:
An AMI contains the information needed to launch an EC2 instance, such as the operating system and software configuration.
Incorrect! Try again.
7Which component controls the processing capacity of an EC2 instance?
Amazon EC2
Easy
A.Key pair
B.Security group
C.Instance type
D.Availability Zone
Correct Answer: Instance type
Explanation:
The EC2 instance type defines resources such as virtual CPUs, memory, networking, and storage capability.
Incorrect! Try again.
8What is the purpose of an EC2 security group?
Amazon EC2
Easy
A.To create database backups
B.To select an operating system
C.To control network traffic
D.To calculate monthly taxes
Correct Answer: To control network traffic
Explanation:
A security group acts as a virtual firewall that controls inbound and outbound traffic for an EC2 instance.
Incorrect! Try again.
9What is an EC2 key pair commonly used for?
Amazon EC2
Easy
A.Creating a billing account
B.Choosing an instance type
C.Increasing disk capacity
D.Secure instance access
Correct Answer: Secure instance access
Explanation:
A key pair is used to securely connect to an EC2 instance, especially when using SSH.
Incorrect! Try again.
10Which action changes the size or capacity of an existing EC2 instance?
Amazon EC2
Easy
A.Changing the account email
B.Deleting the key pair
C.Resizing the instance
D.Renaming the region
Correct Answer: Resizing the instance
Explanation:
Resizing an EC2 instance changes its instance type and can provide different amounts of compute resources.
Incorrect! Try again.
11What is an On-Demand EC2 pricing model?
EC2 pricing and cost optimization
Easy
A.Paying only for data storage
B.Using instances at no charge
C.Paying once for permanent ownership
D.Paying for usage without commitment
Correct Answer: Paying for usage without commitment
Explanation:
On-Demand Instances let users pay for compute capacity by usage without requiring a long-term commitment.
Incorrect! Try again.
12Which EC2 pricing option can provide discounts for a commitment to a consistent amount of usage?
EC2 pricing and cost optimization
Easy
A.Reserved Instances
B.Dedicated DNS records
C.Free Tier storage
D.Spot notifications
Correct Answer: Reserved Instances
Explanation:
Reserved Instances can offer discounted pricing when users commit to a specific instance configuration for a term.
Incorrect! Try again.
13What are Spot Instances designed to use?
EC2 pricing and cost optimization
Easy
A.Exclusive customer hardware
B.Unused EC2 capacity
C.Permanent database licenses
D.Only physical data centers
Correct Answer: Unused EC2 capacity
Explanation:
Spot Instances use available spare EC2 capacity and can cost less than On-Demand Instances.
Incorrect! Try again.
14Which action can help reduce unnecessary EC2 costs?
EC2 pricing and cost optimization
Easy
A.Selecting the highest price
B.Stopping unused instances
C.Running test servers continuously
D.Increasing every instance size
Correct Answer: Stopping unused instances
Explanation:
Stopping instances that are not needed can reduce compute charges, although associated resources may still incur costs.
Incorrect! Try again.
15Which AWS tool helps estimate the cost of planned AWS resources?
EC2 pricing and cost optimization
Easy
A.AWS Pricing Calculator
B.AWS CloudFormation
C.Amazon CloudFront
D.Amazon Inspector
Correct Answer: AWS Pricing Calculator
Explanation:
The AWS Pricing Calculator estimates expected costs for selected AWS services and configurations.
Incorrect! Try again.
16What is a key feature of a managed compute service?
Managed compute services
Easy
A.Users build all physical servers
B.Applications cannot scale
C.Customers replace data center hardware
D.AWS manages more infrastructure
Correct Answer: AWS manages more infrastructure
Explanation:
Managed services reduce the customer's responsibility for tasks such as server maintenance, patching, and capacity management.
Incorrect! Try again.
17Which AWS service runs code without requiring users to manage servers?
Managed compute services
Easy
A.Amazon VPC
B.AWS Lambda
C.Amazon EBS
D.Amazon EC2
Correct Answer: AWS Lambda
Explanation:
AWS Lambda runs code in response to events while AWS manages the underlying servers.
Incorrect! Try again.
18What type of computing model does AWS Lambda primarily use?
Managed compute services
Easy
A.Manual hardware computing
B.Offline desktop computing
C.Tape-based computing
D.Event-driven computing
Correct Answer: Event-driven computing
Explanation:
Lambda functions are commonly invoked by events such as API requests, file uploads, or scheduled tasks.
Incorrect! Try again.
19What is a container?
Container services
Easy
A.A physical network switch
B.A cloud billing document
C.A packaged application environment
D.A type of database password
Correct Answer: A packaged application environment
Explanation:
A container packages an application and its dependencies so it can run consistently across environments.
Incorrect! Try again.
20Which AWS service is a managed container orchestration service?
Container services
Easy
A.Amazon S3
B.Amazon ECS
C.Amazon Athena
D.Amazon Polly
Correct Answer: Amazon ECS
Explanation:
Amazon Elastic Container Service (Amazon ECS) is used to deploy and manage containerized applications.
Incorrect! Try again.
21A company wants to run an application without managing servers and pay only when the application code executes. Which AWS compute service best meets these requirements?
Overview of compute services
Medium
A.Amazon Lightsail
B.AWS Lambda
C.AWS Outposts
D.Amazon EC2
Correct Answer: AWS Lambda
Explanation:
AWS Lambda runs code without requiring server management and charges based on requests and execution duration.
Incorrect! Try again.
22A development team needs complete control over the operating system, installed software, and network configuration of its compute environment. Which service should it use?
Overview of compute services
Medium
A.AWS Fargate
B.AWS Elastic Beanstalk
C.Amazon EC2
D.AWS Lambda
Correct Answer: Amazon EC2
Explanation:
Amazon EC2 provides virtual machines with control over the operating system, software stack, storage, and networking.
Incorrect! Try again.
23An application experiences predictable traffic during business hours but very little traffic overnight. Which compute design best balances availability and resource efficiency?
Overview of compute services
Medium
A.Use one large EC2 instance continuously
B.Use an Auto Scaling group with scheduled scaling
C.Use a fixed fleet sized for the maximum expected traffic throughout the entire day
D.Use Dedicated Hosts for all application servers
Correct Answer: Use an Auto Scaling group with scheduled scaling
Explanation:
Scheduled scaling adjusts the number of instances around known traffic patterns, reducing unused capacity while maintaining availability.
Incorrect! Try again.
24A company must run a legacy application that requires a custom kernel module. Which AWS compute option is most appropriate?
Overview of compute services
Medium
A.AWS App Runner
B.AWS Fargate
C.Amazon EC2
D.AWS Lambda
Correct Answer: Amazon EC2
Explanation:
EC2 provides the operating-system-level control needed to install custom kernel modules.
Incorrect! Try again.
25An EC2-based web application must remain available if one Availability Zone fails. Which deployment provides the required resilience?
Amazon EC2
Medium
A.Instances across multiple Availability Zones
B.One instance with multiple EBS volumes
C.Multiple instances in one Availability Zone
D.One Dedicated Host in a private subnet
Correct Answer: Instances across multiple Availability Zones
Explanation:
Distributing instances across Availability Zones prevents the failure of one zone from making the entire application unavailable.
Incorrect! Try again.
26A workload performs continuous video encoding and requires consistently high CPU performance. Which EC2 instance family is the best starting point?
Amazon EC2
Medium
A.Accelerated computing
B.Compute optimized
C.Memory optimized
D.Storage optimized
Correct Answer: Compute optimized
Explanation:
Compute-optimized instances are designed for CPU-intensive workloads such as media encoding and scientific modeling.
Incorrect! Try again.
27An EC2 instance needs permission to read objects from a specific Amazon S3 bucket. What is the recommended approach?
Amazon EC2
Medium
A.Attach an IAM role to the EC2 instance
B.Create an administrator account specifically for the instance and rotate its password monthly
C.Store an IAM user's access keys in the application
D.Add the instance's private IP to the bucket policy
Correct Answer: Attach an IAM role to the EC2 instance
Explanation:
An IAM role supplies temporary credentials to the instance and avoids storing long-term access keys in the application.
Incorrect! Try again.
28A database on EC2 requires a persistent block storage volume whose data must survive an instance stop and start. Which storage option should be used?
Amazon EC2
Medium
A.AWS Storage Gateway
B.Amazon EBS
C.Amazon S3 Glacier
D.Instance store
Correct Answer: Amazon EBS
Explanation:
Amazon EBS provides persistent block storage that remains available independently of the EC2 instance lifecycle.
Incorrect! Try again.
29A fault-tolerant data-processing job can be interrupted and restarted from checkpoints. Which EC2 purchasing option is generally the most cost-effective?
EC2 pricing and cost optimization
Medium
A.Capacity Reservations
B.Spot Instances
C.On-Demand Instances
D.Dedicated Hosts
Correct Answer: Spot Instances
Explanation:
Spot Instances offer substantial discounts for workloads that can tolerate interruptions and resume from checkpoints.
Incorrect! Try again.
30A company expects a steady EC2 workload for the next three years but wants flexibility to change instance families and Regions. Which pricing model is most suitable?
EC2 pricing and cost optimization
Medium
A.Spot Instance pricing
B.Compute Savings Plans
C.EC2 Instance Savings Plans
D.On-Demand pricing
Correct Answer: Compute Savings Plans
Explanation:
Compute Savings Plans provide discounts for a usage commitment while allowing broader flexibility across instance families, Regions, and eligible compute services.
Incorrect! Try again.
31A test server is needed for 10 hours each weekday and can remain stopped at other times. What is the most direct cost-optimization action?
EC2 pricing and cost optimization
Medium
A.Reboot the instance outside working hours
B.Stop the instance outside working hours
C.Keep the instance running and purchase additional EBS capacity to improve its utilization
D.Move the instance to a Dedicated Host
Correct Answer: Stop the instance outside working hours
Explanation:
Stopping an EBS-backed instance ends its compute charges, although attached EBS storage charges continue.
Incorrect! Try again.
32An EC2 instance costs $0.20 per hour On-Demand and runs for 150 hours during a month. Ignoring storage and data transfer, what is the compute cost?
EC2 pricing and cost optimization
Medium
A.$35
B.$30
C.$25
D.$20
Correct Answer: $30
Explanation:
The cost is , so the monthly compute charge is $30.
Incorrect! Try again.
33A developer wants to deploy a web application by uploading code while AWS handles capacity provisioning, load balancing, scaling, and health monitoring. Which service fits this requirement?
Managed compute services
Medium
A.AWS Elastic Beanstalk
B.Amazon Machine Images
C.AWS CloudFormation
D.Amazon EC2 Auto Scaling
Correct Answer: AWS Elastic Beanstalk
Explanation:
Elastic Beanstalk deploys and manages application infrastructure while allowing developers to focus on application code.
Incorrect! Try again.
34An image-processing function must run automatically whenever a new image is uploaded to an S3 bucket. Which architecture is most appropriate?
Managed compute services
Medium
A.Start an EC2 instance from an S3 lifecycle rule
B.Deploy Elastic Beanstalk and continuously poll every bucket in the account for newly created objects
C.Trigger AWS Lambda from an S3 event
D.Invoke AWS Batch through an EBS volume event
Correct Answer: Trigger AWS Lambda from an S3 event
Explanation:
Amazon S3 can invoke a Lambda function when an object is created, enabling event-driven processing without continuously running servers.
Incorrect! Try again.
35A research team needs to run thousands of queued, independent simulation jobs with varying CPU and memory requirements. Which managed compute service is designed for this workload?
Managed compute services
Medium
A.AWS Batch
B.AWS Lambda
C.Amazon Lightsail
D.AWS Elastic Beanstalk
Correct Answer: AWS Batch
Explanation:
AWS Batch schedules queued jobs and dynamically provisions suitable compute resources for batch-processing workloads.
Incorrect! Try again.
36A startup wants a simple virtual server bundle that includes compute, storage, networking, and predictable monthly pricing for a small website. Which service is the best fit?
Managed compute services
Medium
A.AWS Batch
B.AWS Lambda
C.Amazon Lightsail
D.Amazon EMR
Correct Answer: Amazon Lightsail
Explanation:
Amazon Lightsail provides simplified virtual server bundles with predictable pricing for small websites and straightforward applications.
Incorrect! Try again.
37A team wants to run Docker containers using AWS-managed orchestration without operating a Kubernetes control plane. Which service should it choose?
Container services
Medium
A.Amazon ECR
B.AWS CloudFormation
C.Amazon ECS
D.Amazon EKS
Correct Answer: Amazon ECS
Explanation:
Amazon ECS is AWS's managed container orchestration service and does not require Kubernetes.
Incorrect! Try again.
38A company has standardized on Kubernetes and wants a managed AWS service that integrates with its existing Kubernetes tools. Which service is appropriate?
Container services
Medium
A.Amazon ECR
B.AWS App Runner
C.Amazon EKS
D.Amazon ECS
Correct Answer: Amazon EKS
Explanation:
Amazon EKS provides managed Kubernetes control planes and supports standard Kubernetes APIs and tools.
Incorrect! Try again.
39A team wants to run ECS tasks without provisioning or managing EC2 worker instances. Which launch option should it use?
Container services
Medium
A.AWS Fargate
B.Amazon ECR
C.An Auto Scaling group that maintains and patches a permanent fleet of container instances
D.EC2 Dedicated Hosts
Correct Answer: AWS Fargate
Explanation:
AWS Fargate provides serverless compute for containers, removing the need to provision or manage worker instances.
Incorrect! Try again.
40A CI/CD pipeline builds container images that must be stored privately and then pulled by ECS tasks. Which AWS service should store the images?
Container services
Medium
A.Amazon EBS
B.Amazon ECR
C.Amazon S3 Glacier
D.Amazon EFS
Correct Answer: Amazon ECR
Explanation:
Amazon Elastic Container Registry is a managed registry for storing, scanning, and retrieving private container images.
Incorrect! Try again.
41A workload receives unpredictable bursts, processes each request for up to 18 minutes, requires 6 GiB of memory, and must run an unmodified Linux container. Which AWS compute option best satisfies these constraints with the least infrastructure management?
Overview of compute services
Hard
A.AWS Elastic Beanstalk worker tier
B.Amazon ECS on AWS Fargate
C.Amazon EC2 with Dedicated Hosts
D.AWS Lambda with provisioned concurrency
Correct Answer: Amazon ECS on AWS Fargate
Explanation:
Fargate runs containers without managing servers and supports tasks longer than Lambda's 15-minute invocation limit. Provisioned concurrency does not change that limit.
Incorrect! Try again.
42A company must run a licensed network appliance that requires access to a physical CPU socket count and does not support virtualized license mobility. Which compute model is most appropriate?
Overview of compute services
Hard
A.Amazon EC2 Dedicated Instances
B.Amazon EC2 Dedicated Hosts
C.Amazon ECS on AWS Fargate
D.AWS Lambda provisioned concurrency
Correct Answer: Amazon EC2 Dedicated Hosts
Explanation:
Dedicated Hosts expose host-level socket and core information and support host-affinity controls, which are commonly required for server-bound licensing.
Incorrect! Try again.
43An event-driven image pipeline has no persistent server state, takes 40 seconds per image, and has traffic ranging from zero to thousands of requests per minute. Which design most directly aligns cost with actual execution?
Overview of compute services
Hard
A.Deploy an AWS Batch multi-node parallel job
B.Run fixed Amazon EC2 instances behind an ALB
C.Invoke AWS Lambda from Amazon S3 events
D.Use an Amazon ECS EC2 service with two tasks
Correct Answer: Invoke AWS Lambda from Amazon S3 events
Explanation:
Lambda scales from zero in response to S3 events and bills for invocations and execution duration, fitting short, stateless, highly variable work.
Incorrect! Try again.
44A tightly coupled HPC application uses MPI and requires consistently low-latency, high-throughput communication between instances in one Availability Zone. Which EC2 placement strategy is most suitable?
Overview of compute services
Hard
A.A partition placement group
B.A Regional Auto Scaling group
C.A spread placement group
D.A cluster placement group
Correct Answer: A cluster placement group
Explanation:
A cluster placement group places instances close together within one Availability Zone to provide the low network latency and high throughput needed by tightly coupled HPC workloads.
Incorrect! Try again.
45An application writes temporary data to an instance store volume. The instance is stopped and later started on different underlying hardware. What should the architect expect?
Amazon EC2
Hard
A.The instance store data is lost
B.The data is restored from the AMI
C.The volume is converted to gp3
D.The data persists after host migration
Correct Answer: The instance store data is lost
Explanation:
Instance store data is ephemeral and does not survive stopping, terminating, or migration to different underlying hardware. Durable data belongs on services such as EBS or S3.
Incorrect! Try again.
46An EC2 instance has an IAM role attached. An application on the instance must call Amazon S3 without storing long-term credentials. Which mechanism supplies the credentials?
Amazon EC2
Hard
A.Static keys embedded in the user data
B.A key pair retrieved from AWS KMS
C.Credentials inherited from the security group
D.Temporary credentials from instance metadata
Correct Answer: Temporary credentials from instance metadata
Explanation:
The instance profile makes automatically rotated temporary role credentials available through the Instance Metadata Service. Security groups and EC2 key pairs do not provide AWS API credentials.
Incorrect! Try again.
47A stateful EC2 application requires the operating system and in-memory process state to resume after a planned shutdown. The selected instance family and AMI support the feature. Which action is required?
Amazon EC2
Hard
A.Enable hibernation when launching the instance
B.Attach an instance store volume for RAM
C.Create an AMI immediately before each stop
D.Enable termination protection after launch
Correct Answer: Enable hibernation when launching the instance
Explanation:
EC2 hibernation saves RAM contents to the encrypted root EBS volume and must be enabled at launch. A normal stop preserves EBS data but not memory state.
Incorrect! Try again.
48Instances in a private subnet need outbound access to operating-system repositories, but unsolicited inbound internet connections must remain blocked. Which architecture meets the requirement without assigning public IPv4 addresses to the instances?
Amazon EC2
Hard
A.Route outbound traffic through a NAT gateway
B.Peer the subnet with a public subnet
C.Attach an Elastic IP to each private instance
D.Route outbound traffic through an internet gateway
Correct Answer: Route outbound traffic through a NAT gateway
Explanation:
A NAT gateway in a public subnet lets private instances initiate internet connections while preventing the internet from initiating connections to those instances.
Incorrect! Try again.
49A company has a steady $10/hour EC2 On-Demand baseline in one Region and wants a one-year commitment that can also apply to future AWS Fargate usage. Which discount model best fits?
EC2 pricing and cost optimization
Hard
A.Compute Savings Plans
B.Regional Standard Reserved Instances
C.Zonal Convertible Reserved Instances
D.EC2 Instance Savings Plans
Correct Answer: Compute Savings Plans
Explanation:
Compute Savings Plans can apply across eligible EC2, Fargate, and Lambda usage. EC2 Instance Savings Plans and Reserved Instances do not extend to Fargate.
Incorrect! Try again.
50A fault-tolerant batch job checkpoints every two minutes and can resume on another instance. Its completion deadline is flexible. Which purchasing option usually provides the largest EC2 discount for this workload?
EC2 pricing and cost optimization
Hard
A.Dedicated Hosts
B.Spot Instances
C.Standard Reserved Instances
D.On-Demand Instances
Correct Answer: Spot Instances
Explanation:
Spot Instances offer steep discounts for interruptible capacity. Frequent checkpointing and a flexible deadline make the workload resilient to Spot interruptions.
Incorrect! Try again.
51A Linux Regional Standard Reserved Instance has matching attributes for an instance family, but the workload changes to a different size within that family. Which property can preserve the discount automatically?
EC2 pricing and cost optimization
Hard
A.Spot capacity rebalancing
B.Capacity reservation affinity
C.Host resource group sharing
D.Instance size flexibility
Correct Answer: Instance size flexibility
Explanation:
For eligible Linux/UNIX Regional Reserved Instances, the discount can apply across sizes in the same instance family using normalized units.
Incorrect! Try again.
52An Auto Scaling group runs 10 instances continuously. Six are a stable baseline; four vary among instance families and may later move to Fargate. Which commitment strategy minimizes lock-in while covering the predictable baseline?
EC2 pricing and cost optimization
Hard
A.Buy a Compute Savings Plan for six instances' spend
B.Buy Standard RIs for all ten instances' spend
C.Buy Dedicated Hosts for the six baseline instances
D.Use Spot blocks for all ten instances' spend
Correct Answer: Buy a Compute Savings Plan for six instances' spend
Explanation:
Committing only the stable baseline avoids paying for unused commitment, while a Compute Savings Plan retains flexibility across EC2 families and eligible Fargate usage.
Incorrect! Try again.
53A Lambda function has reserved concurrency set to 40 and currently has 40 concurrent invocations. Additional events arrive synchronously through an API. What is the immediate expected result?
Managed compute services
Hard
A.The invocations wait indefinitely inside Lambda
B.The function automatically raises its reservation
C.The additional synchronous invocations are throttled
D.Lambda borrows unlimited account concurrency
Correct Answer: The additional synchronous invocations are throttled
Explanation:
Reserved concurrency is also a hard concurrency ceiling for the function. Synchronous invocations beyond that ceiling receive throttling responses unless the caller retries.
Incorrect! Try again.
54A team submits thousands of containerized scientific jobs with CPU and memory requirements that vary by job. Jobs may queue until capacity is available. Which managed service is designed to schedule this workload?
Managed compute services
Hard
A.AWS Elastic Beanstalk
B.AWS Lambda
C.Amazon Lightsail
D.AWS Batch
Correct Answer: AWS Batch
Explanation:
AWS Batch queues jobs, selects compute resources, and schedules containerized batch work according to declared dependencies and resource requirements.
Incorrect! Try again.
55A Lambda function processing SQS messages fails a subset of records in a batch. The team wants successfully processed records removed while only failed records become visible for retry. What should the function use?
Managed compute services
Hard
A.Partial batch response reporting
B.A synchronous invocation mode
C.Provisioned concurrency allocation
D.An increased visibility timeout only
Correct Answer: Partial batch response reporting
Explanation:
Partial batch responses identify failed message IDs, allowing Lambda and SQS to retry only those records instead of the entire batch.
Incorrect! Try again.
56A web application deployed with AWS Elastic Beanstalk needs zero-downtime replacement of its environment and a quick rollback path. Which deployment approach best fits?
Managed compute services
Hard
A.Replace instances manually through the EC2 console
B.Use an all-at-once deployment in production
C.Terminate the environment before redeployment
D.Create a second environment and swap CNAMEs
Correct Answer: Create a second environment and swap CNAMEs
Explanation:
A blue/green deployment creates a separate environment, validates it, and swaps CNAMEs. Swapping back provides a fast rollback path.
Incorrect! Try again.
57An ECS task on Fargate must pull a private image from Amazon ECR and then access an S3 bucket from application code. Which IAM roles should grant these permissions?
Container services
Hard
A.Execution role for ECR; task role for S3
B.Task role for ECR; execution role for S3
C.Container instance role for both ECR and S3
D.Service-linked role for both ECR and S3
Correct Answer: Execution role for ECR; task role for S3
Explanation:
The ECS task execution role supports agent operations such as pulling from ECR, while the task role provides AWS permissions to application code inside the container.
Incorrect! Try again.
58An ECS service uses both On-Demand and Spot Fargate capacity. Two tasks must always run on On-Demand capacity, while additional tasks should prefer Spot. Which capacity-provider strategy element guarantees the two baseline tasks?
Container services
Hard
A.Set the service minimum healthy percent to 2
B.Set the FARGATE_SPOT provider weight to 0
C.Set the FARGATE provider weight to 2
D.Set the FARGATE provider base to 2
Correct Answer: Set the FARGATE provider base to 2
Explanation:
The base value specifies the minimum number of tasks placed on one capacity provider before weights distribute the remaining tasks.
Incorrect! Try again.
59An EKS pod needs read-only access to one S3 bucket, but other pods on the same worker node must not receive that permission. Which approach provides the narrowest identity boundary?
Container services
Hard
A.Associate an IAM role with the pod's service account
B.Store an IAM user's access keys in a ConfigMap
C.Attach the S3 policy to the worker node role
D.Add the S3 policy to the EKS cluster role
Correct Answer: Associate an IAM role with the pod's service account
Explanation:
A pod-specific IAM role associated with its Kubernetes service account grants permissions to that workload without broadening the worker node's role.
Incorrect! Try again.
60An ECS service must keep exactly four healthy tasks during an Availability Zone failure and distribute replacements across the remaining zones. Which combination is essential?
Container services
Hard
A.A service desired count of 4 with multi-AZ subnets
B.A placement constraint limited to one zone
C.A daemon scheduling strategy on Fargate
D.A standalone task count of 4 in one subnet
Correct Answer: A service desired count of 4 with multi-AZ subnets
Explanation:
An ECS service reconciles the desired task count, while subnets in multiple Availability Zones give the scheduler locations in which to place replacement tasks.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →