Courseiva

AWS Certified Cloud Practitioner CLF-C02 (CLF-C02) — Questions 76150

988 questions total · 14pages · All types, answers revealed

Page 1

Page 2 of 14

Page 3
76
MCQmedium

A company archives compliance records that must be retained for 7 years but will almost never be accessed. They need the absolute lowest storage cost with retrieval times of several hours being acceptable. Which S3 storage class should they use?

A.S3 Glacier Instant Retrieval
B.S3 Standard-IA
C.S3 Glacier Flexible Retrieval
D.S3 Glacier Deep Archive
AnswerD

S3 Glacier Deep Archive is the lowest-cost S3 storage class, designed specifically for rarely accessed, long-term retention with retrieval times of 12–48 hours. For a 7-year compliance archive that is accessed only in exceptional circumstances, that retrieval latency is perfectly acceptable, while the substantial savings in storage cost make it the most cost-effective option. It also supports the same object-level features as other S3 classes, ensuring the compliance data remains manageable within the overall S3 ecosystem.

Why this answer

S3 Glacier Deep Archive is designed for long-term retention of data that is accessed rarely, with retrieval times of 12 hours or more, making it the lowest-cost S3 storage class. For compliance records that must be retained for 7 years and almost never accessed, with acceptable retrieval times of several hours, this class provides the absolute minimum storage cost while meeting the retrieval time requirement.

Exam trap

The trap here is that candidates often confuse 'Glacier Flexible Retrieval' with the lowest-cost option, but the question explicitly states 'absolute lowest storage cost' and 'retrieval times of several hours being acceptable,' which points to Glacier Deep Archive as the correct choice due to its significantly lower storage price.

How to eliminate wrong answers

Option A is wrong because S3 Glacier Instant Retrieval is optimized for data accessed once per quarter with millisecond retrieval, not for rarely accessed archives, and costs more than Deep Archive. Option B is wrong because S3 Standard-IA is designed for infrequently accessed data requiring millisecond retrieval, not for archival data with multi-hour retrieval tolerance, and has higher storage costs. Option C is wrong because S3 Glacier Flexible Retrieval offers retrieval times from minutes to hours but has higher storage costs than Deep Archive, and is intended for data that may need occasional access rather than near-zero access over 7 years.

77
MCQmedium

A healthcare organization stores sensitive patient records in Amazon S3. The organization's compliance team learns that AWS stores data from multiple customers on the same physical hardware. They are concerned that data from different customers could be mixed or accessed by another customer. Which fundamental characteristic of cloud computing explains how AWS allows customers to share physical infrastructure while keeping each customer's data logically isolated?

A.Rapid elasticity
B.Resource pooling
C.On-demand self-service
D.Measured service
AnswerB

Resource pooling allows the provider to serve multiple customers from a shared pool of physical resources while logically isolating each customer's data and workloads. AWS uses multi-tenant architectures and security controls to ensure that one customer cannot access another customer's data, even when stored on the same hardware.

Why this answer

Resource pooling is the correct answer because it describes how AWS aggregates computing resources (including storage) from multiple customers into a shared pool, then logically isolates each customer's data through software-defined boundaries. In Amazon S3, this isolation is achieved via bucket policies, IAM roles, and object ACLs that enforce strict access controls, ensuring that even though physical hardware is shared, no customer can access another's data. This characteristic directly addresses the compliance team's concern about data mixing or unauthorized cross-tenant access.

Exam trap

The trap here is that candidates confuse 'resource pooling' with 'multi-tenancy' or assume it means data is physically separated, but the exam tests that resource pooling specifically enables logical isolation through software controls, not physical hardware separation.

Why the other options are wrong

A

Rapid elasticity refers to the ability to quickly scale resources up or down based on demand, not to the logical isolation of customer data on shared physical hardware.

D

Measured service refers to the ability to monitor and control resource usage for billing and optimization, not to the logical isolation of customer data on shared physical infrastructure.

When would these options actually be correct?

A

A question asking which cloud characteristic allows a company to automatically add compute capacity during a flash sale and reduce it afterward, without manual intervention.

D

A question asking which cloud characteristic enables pay-per-use billing and resource usage tracking, such as 'A company wants to track and optimize its cloud spending based on actual consumption. Which cloud characteristic supports this?'

Why candidates pick the wrong answer

A

Candidates may confuse the concept of sharing physical infrastructure with the ability to rapidly adjust resources, thinking that elasticity implies some form of resource sharing.

D

Candidates may confuse 'measured service' with the idea that AWS measures and separates customer data, but it actually pertains to metering usage for billing, not data isolation.

78
MCQmedium

A company is building a serverless order-processing application. The workflow consists of several steps that must run in a defined order: validate the order, check inventory, process payment, and then update the database. Some steps, such as shipping notification and invoice generation, can run in parallel after payment is confirmed. The company needs a managed service to orchestrate these steps, automatically handle retries if a step fails, and provide a visual representation of the workflow's execution state. Which AWS service should the company use?

A.AWS Step Functions
B.Amazon Simple Workflow Service (SWF)
C.Amazon MQ
D.AWS Glue
AnswerA

AWS Step Functions is a serverless orchestration service that allows you to define workflows as state machines. It can coordinate sequential and parallel steps, handle retries and errors, and provides a visual console to track execution. This directly matches the requirement to orchestrate the order-processing steps with defined order and parallel branches.

Why this answer

AWS Step Functions is the correct choice because it is a fully managed serverless orchestration service that allows you to define workflows as state machines, specifying sequential steps (validate, check inventory, process payment, update database) and parallel branches (shipping notification, invoice generation). It automatically handles retries on failures with configurable backoff rates and provides a visual execution console to track the state of each workflow instance in real time, meeting all the company's requirements.

Exam trap

The trap here is that candidates confuse Amazon SWF with Step Functions because both orchestrate workflows, but SWF requires custom deciders and workers for coordination, whereas Step Functions is fully managed and serverless, making it the correct choice for this use case.

Why the other options are wrong

B

Amazon SWF is a managed workflow service, but it requires custom workers and deciders, not a fully serverless orchestration with automatic retries and visual execution state like Step Functions.

C

Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ, not a workflow orchestration service. It does not provide built-in step sequencing, retry logic, or visual workflow execution state.

D

AWS Glue is a serverless data integration service for ETL (extract, transform, load) jobs, not a workflow orchestration service. It cannot define sequential steps with retries or provide a visual representation of workflow execution state.

When would these options actually be correct?

B

A company needs a workflow service that supports human tasks, long-running executions (up to 1 year), and requires custom decision logic with a decider program. SWF is ideal for workflows with manual intervention or complex coordination.

C

A company needs a managed message broker to decouple microservices, support JMS or AMQP protocols, and migrate an existing on-premises message queue to AWS without rewriting application code.

D

A company needs to build a serverless ETL pipeline that extracts data from multiple sources, transforms it (e.g., cleanses, enriches), and loads it into a data warehouse. The pipeline must run on a schedule and automatically scale. AWS Glue would be the correct service for this scenario.

Why candidates pick the wrong answer

B

Candidates may confuse SWF with Step Functions because both are workflow services, but SWF is older and less serverless; they might think SWF can also orchestrate steps with retries and visual monitoring.

C

Candidates may confuse message queuing with workflow orchestration, thinking that a queue can coordinate steps, but Amazon MQ lacks the state management and sequencing capabilities required for multi-step workflows.

D

Candidates may confuse 'serverless' and 'orchestration' with Glue's ability to run jobs in a defined order using triggers, but Glue lacks the state machine and visual workflow capabilities required for complex business process orchestration.

79
MCQmedium

A company's finance team wants to receive an email alert when monthly AWS costs exceed 80% of the budgeted amount. Additionally, they want to automatically apply a specific IAM policy to restrict further resource provisioning if costs exceed 100% of the budget. Which AWS feature should the team configure to meet both requirements?

A.AWS Budgets with budget actions
B.AWS Cost Explorer
C.AWS Trusted Advisor
D.AWS Organizations Service Control Policies (SCPs)
AnswerA

Correct. AWS Budgets allows you to set cost budgets and configure actions that fire when actual or forecasted usage exceeds thresholds. Actions include sending notifications (via SNS) and applying IAM policies or SCPs to restrict new resource provisioning.

Why this answer

AWS Budgets allows you to set cost budgets and configure budget actions that trigger when actual or forecasted costs exceed a threshold. In this scenario, you can create a budget with an alert action to send an email when costs reach 80% of the budget, and a separate budget action (using an IAM policy) to automatically restrict resource provisioning when costs hit 100%. This meets both requirements natively without additional services.

Exam trap

The trap here is that candidates often confuse AWS Budgets with AWS Cost Explorer, thinking Cost Explorer can send alerts, but Cost Explorer is purely analytical and lacks the ability to trigger automated actions or notifications based on thresholds.

Why the other options are wrong

B

AWS Cost Explorer provides visualization and analysis of cost data but cannot send alerts or automatically apply IAM policies based on budget thresholds.

C

AWS Trusted Advisor provides cost optimization recommendations and checks, but it cannot send alerts based on budget thresholds or automatically apply IAM policies to restrict resource provisioning.

D

SCPs are used to centrally control permissions across accounts in an AWS Organization, but they cannot trigger email alerts or automatically apply IAM policies based on budget thresholds. They are not designed for cost-based actions.

When would these options actually be correct?

B

A company needs to analyze historical cost trends and identify the top services contributing to monthly spending, without requiring automated actions or alerts.

C

A company wants to receive recommendations to reduce costs and improve performance, security, and fault tolerance. Trusted Advisor would be correct for identifying underutilized resources or reserved instance opportunities.

D

A company needs to enforce that no account in an AWS Organization can launch EC2 instances above a certain family type, regardless of IAM permissions. SCPs would be the correct feature to set a guardrail at the organization level.

Why candidates pick the wrong answer

B

Candidates may confuse Cost Explorer's cost monitoring capabilities with the alerting and automated actions provided by AWS Budgets.

C

Candidates may confuse Trusted Advisor's cost optimization checks with budget alerts, or assume it can enforce policies automatically due to its advisory nature.

D

Candidates may confuse SCPs with budget actions because both can restrict resource provisioning, but SCPs lack the cost-triggering and alerting capabilities required in the question.

80
MCQmedium

A company must encrypt all data at rest stored in Amazon S3 and wants AWS to manage the encryption keys. Which S3 encryption option requires the least operational overhead?

A.SSE-C (Customer-Provided Keys)
B.SSE-KMS (AWS KMS-Managed Keys)
C.SSE-S3 (Amazon S3-Managed Keys)
D.Client-side encryption
AnswerC

SSE-S3 (Amazon S3-Managed Keys) is the correct answer because it provides transparent, fully-managed server-side encryption with no customer key management or additional costs. AWS automatically encrypts each object with a unique key, then encrypts that key with a rotating master key, all entirely on the server side. It is the default encryption mechanism when you enable the bucket default encryption setting, requiring no code, no key storage, and no per-request API fees, making it the ideal zero-overhead encryption option.

Why this answer

SSE-S3 uses Amazon S3-managed keys, where AWS fully handles key creation, management, and rotation with no configuration required from the user. This option provides the least operational overhead because you simply enable server-side encryption on the bucket or object, and AWS manages the entire encryption process transparently.

Exam trap

The trap here is that candidates often confuse 'AWS managed keys' with SSE-KMS, assuming KMS is the default AWS-managed option, but SSE-S3 is the true fully managed key service with zero configuration overhead.

How to eliminate wrong answers

Option A is wrong because SSE-C requires you to provide and manage your own encryption keys, including key storage, rotation, and secure transmission, which adds significant operational overhead. Option B is wrong because SSE-KMS uses AWS KMS-managed keys, which still requires you to create, manage, and control key policies, permissions, and key rotation schedules, increasing operational complexity compared to SSE-S3. Option D is wrong because client-side encryption requires you to encrypt data before uploading to S3, manage encryption keys locally, and handle decryption on retrieval, resulting in the highest operational overhead of all options.

81
MCQmedium

A startup is running a pilot application on AWS and wants to control costs strictly. The finance team sets a monthly budget of $1,000. They need to receive an email notification when actual or forecasted spending reaches 80% of the budget. Additionally, if the budget is exceeded, they want to automatically stop a non-critical Amazon EC2 instance to prevent further cost overruns. Which combination of AWS services should they use to meet all these requirements with minimal operational overhead?

A.AWS Cost Explorer with Amazon SNS notifications to send alerts at 80% spending, and an AWS Lambda function to stop the EC2 instance
B.AWS Budgets with a budget alert set at 80% of the $1,000 limit, and an AWS Trusted Advisor check to stop the instance when costs exceed the budget
C.AWS Budgets with a budget action configured to stop the EC2 instance when the budget limit is exceeded
D.Amazon CloudWatch cost metric alarms combined with AWS Auto Scaling to reduce instance capacity when spending exceeds the budget
AnswerC

AWS Budgets can set cost thresholds and send alerts. Budget actions allow you to define automated responses, such as stopping an EC2 instance, applying IAM policies, or running a Lambda function. This meets all requirements in a fully managed way with minimal operational overhead.

Why this answer

AWS Budgets natively supports budget actions that can automatically stop an EC2 instance when the actual or forecasted spending exceeds a defined threshold. This eliminates the need for custom scripting or additional services, meeting the requirements with minimal operational overhead. The budget alert at 80% can be configured via AWS Budgets' notification feature to send an email through Amazon SNS.

Exam trap

The trap here is that candidates may overcomplicate the solution by combining multiple services (e.g., Cost Explorer, Lambda, Trusted Advisor) when AWS Budgets alone, with its built-in budget action capability, directly satisfies both the notification and automated EC2 stop requirements with minimal operational overhead.

Why the other options are wrong

A

AWS Cost Explorer does not support automated actions like stopping EC2 instances; it only provides cost visualization and forecasting. The requirement to automatically stop an instance when the budget is exceeded cannot be met by Cost Explorer alone, even with Lambda, as Budgets is the native service for budget-based actions.

B

AWS Trusted Advisor does not have the capability to automatically stop EC2 instances based on budget thresholds; it provides cost optimization recommendations but not automated actions.

D

Amazon CloudWatch cost metric alarms cannot directly trigger EC2 instance stop actions; they only support SNS notifications or Auto Scaling actions, not stopping instances. Auto Scaling reduces capacity but does not stop a specific non-critical instance.

When would these options actually be correct?

A

This option would be correct if the question required only cost monitoring and alerts (not automated actions) and the candidate needed to visualize spending trends and receive SNS notifications at a threshold. For example: 'A company wants to track AWS spending and receive email alerts when costs reach 80% of budget, without any automated cost control actions.'

B

If the question required receiving cost optimization recommendations and manual intervention to stop resources, AWS Budgets for alerts and Trusted Advisor for cost checks would be appropriate, but without the need for automated instance termination.

D

If the requirement were to scale down capacity (e.g., terminate instances in an Auto Scaling group) based on cost metrics, CloudWatch alarms with Auto Scaling policies would be appropriate. For example, a question asking to reduce EC2 fleet size when spending exceeds a threshold.

Why candidates pick the wrong answer

A

Candidates may think Cost Explorer can trigger actions via Lambda, but AWS Budgets is the simpler, fully managed service for budget alerts and automated actions, reducing operational overhead.

B

Candidates may think Trusted Advisor can automate cost-saving actions because it offers cost optimization checks, but they overlook that it lacks direct integration with EC2 instance control for budget enforcement.

D

Candidates may think CloudWatch can monitor costs and trigger any action, and that Auto Scaling can stop instances, but Auto Scaling only manages instance counts, not stopping individual instances.

82
MCQmedium

A company runs database servers that require consistent EC2 capacity 24/7 for the next 3 years. Which EC2 purchasing option provides the greatest discount compared to On-Demand pricing?

A.Spot Instances
B.On-Demand Instances
C.Reserved Instances (3-year, all upfront)
D.Dedicated Hosts
AnswerC

3-year Reserved Instances with all-upfront payment provide the maximum EC2 discount. For database servers with consistent, predictable 24/7 use over 3 years, this commitment results in the greatest cost savings.

Why this answer

Reserved Instances (RIs) with a 3-year term and all upfront payment provide the highest discount compared to On-Demand pricing because they commit to a consistent, predictable workload for an extended period. AWS offers significant pricing tiers for RIs, with the 3-year all upfront option yielding up to 72% discount over On-Demand, which is the greatest among all purchasing options for steady-state usage.

Exam trap

The trap here is that candidates often confuse Spot Instances as the cheapest option overall, but the question specifies 'consistent EC2 capacity 24/7 for the next 3 years,' which disqualifies Spot Instances due to their lack of reliability and potential for termination, making Reserved Instances the correct choice for maximum discount under those constraints.

How to eliminate wrong answers

Option A is wrong because Spot Instances offer discounts of up to 90% but are designed for fault-tolerant, interruptible workloads and can be terminated by AWS with a 2-minute warning, making them unsuitable for 24/7 database servers that require consistent capacity. Option B is wrong because On-Demand Instances provide no discount and are priced at the full rate, which is the baseline for comparison, not a cost-saving option. Option D is wrong because Dedicated Hosts provide physical server isolation for licensing compliance but do not inherently offer a discount over On-Demand; they are priced per host and can be more expensive than standard Reserved Instances.

83
MCQmedium

A company wants to set up a new multi-account AWS environment with pre-configured security guardrails, a logging account, an audit account, and a predefined structure for creating new accounts — all based on AWS best practices — with minimal manual configuration. Which AWS service provides this automated account setup?

A.AWS CloudFormation StackSets
B.AWS Organizations
C.AWS Control Tower
D.AWS Security Hub
AnswerC

Control Tower automates the entire landing zone setup: creates the management account structure, configures a log archive account, sets up an audit account, and applies mandatory guardrails (preventive SCPs and detective Config rules) following AWS best practices.

Why this answer

AWS Control Tower is the correct answer because it provides a fully automated, best-practices-based setup for a multi-account AWS environment, including pre-configured security guardrails (using Service Control Policies), a logging account, an audit account, and a predefined account structure via Account Factory. This eliminates the need for manual configuration of these foundational components.

Exam trap

The trap here is that candidates often confuse AWS Organizations (which provides the raw capability to manage multiple accounts) with AWS Control Tower (which automates the entire setup with best-practice guardrails and account factory), leading them to pick Organizations as the 'automated' solution when it actually requires significant manual configuration.

How to eliminate wrong answers

Option A is wrong because AWS CloudFormation StackSets allow you to deploy infrastructure across multiple accounts and regions, but they do not automatically set up the initial multi-account structure, guardrails, or dedicated logging/audit accounts — they require you to manually define and manage the stack instances. Option B is wrong because AWS Organizations provides the underlying organizational hierarchy and policy management (SCPs) but does not include pre-configured guardrails, a logging account, an audit account, or a predefined account creation workflow — it is a building block, not a turnkey solution. Option D is wrong because AWS Security Hub is a security posture management service that aggregates findings from various AWS services (like GuardDuty, Inspector, etc.) but does not automate the setup of a multi-account environment, guardrails, or account structure.

84
MCQeasy

Which AWS service provides a fully managed workflow orchestration service that coordinates multiple AWS services into serverless workflows using visual state machines?

A.Amazon EventBridge
B.Amazon SQS
C.AWS Step Functions
D.AWS Batch
AnswerC

AWS Step Functions is a serverless orchestration service that lets you define workflows as state machines using the Amazon States Language (ASL). It supports sequential steps, parallel branches, choice states, wait states, and Map/Item loops, while automatically managing execution state and ensuring that each step's output feeds into the next. Step Functions provides native error handling, configurable retry policies with exponential backoff, and integrated service calls via the AWS SDK connectors, making it ideal for orchestrating complex, multi-step processes across hundreds of AWS services. This combination of state management and resilience is precisely what the scenario requires, so it is the correct answer.

Why this answer

AWS Step Functions is a fully managed orchestration service that allows you to coordinate multiple AWS services into serverless workflows using visual state machines. It enables you to define complex, multi-step processes as a series of states (tasks, choices, parallel branches) that execute in order, with built-in error handling and retry logic, making it the correct choice for workflow orchestration.

Exam trap

The trap here is that candidates often confuse Amazon EventBridge's event routing capabilities with workflow orchestration, but EventBridge lacks the sequential state machine logic and visual workflow designer that Step Functions provides.

How to eliminate wrong answers

Option A is wrong because Amazon EventBridge is a serverless event bus service used for routing events between AWS services and applications, not for orchestrating multi-step workflows with state machines. Option B is wrong because Amazon SQS is a fully managed message queuing service for decoupling application components, not a workflow orchestration tool with visual state machines. Option D is wrong because AWS Batch is a service for running batch computing jobs at scale, but it does not provide visual state machine-based orchestration; it focuses on job scheduling and execution, not coordinating multiple services in a workflow.

85
MCQmedium

A company uses AWS Organizations to manage multiple AWS accounts. The security team wants to ensure that no Amazon EC2 instance can be launched with a public IPv4 address in any member account. The team needs a preventive control that centrally blocks the launch action if a public IP is assigned, and the control must automatically apply to all existing and future accounts in the organization. Which AWS feature should the security team use to meet these requirements?

A.AWS Config rule with an automatic remediation action that terminates the instance after launch
B.IAM policy with a condition key to deny ec2:RunInstances when a public IP is assigned
C.Service control policy (SCP) in AWS Organizations
D.AWS Firewall Manager security group policy
AnswerC

An SCP can be attached to the root organizational unit (OU) or the entire organization to deny the ec2:RunInstances action when the request includes a parameter for a public IP address (e.g., condition key 'ec2:AssociatePublicIpAddress'). SCPs are preventive policies that apply to all principals (including the root user) in all member accounts, and they are automatically inherited by new accounts added to the organization. This meets all the requirements.

Why this answer

Service control policies (SCPs) in AWS Organizations allow you to centrally define the maximum available permissions for all accounts in the organization. By creating an SCP that denies the ec2:RunInstances action when the request includes a public IP address assignment (using the ec2:AssociatePublicIpAddress condition key), you can prevent any EC2 instance from being launched with a public IPv4 address. This control applies automatically to all existing and future member accounts without requiring per-account configuration.

Exam trap

The trap here is that candidates often confuse SCPs with IAM policies, not realizing that SCPs are the only mechanism in AWS Organizations that can centrally and preventively restrict actions across all accounts, including future ones, without requiring per-account configuration.

Why the other options are wrong

A

AWS Config rules with automatic remediation are detective and reactive, not preventive. They terminate the instance after launch, which does not block the launch action itself and may incur costs or resource usage before termination.

B

IAM policies are account-level and cannot be centrally applied across all accounts in an AWS Organization. They must be attached individually to each account, and they do not automatically apply to new accounts.

D

AWS Firewall Manager security group policies manage security group rules across accounts, but they do not prevent EC2 instances from being launched with public IPv4 addresses. They are not a preventive control for blocking launch actions based on public IP assignment.

When would these options actually be correct?

A

This option would be correct if the requirement was to detect and automatically remediate non-compliant resources after they are created, rather than prevent the launch action entirely. For example, a question asking for a post-launch compliance check that terminates unauthorized public IP instances.

B

This option would be correct if the question asked for a preventive control within a single AWS account (not across an organization) to deny launching EC2 instances with public IPs, using an IAM policy with a condition key on ec2:RunInstances.

D

A company needs to centrally enforce that all EC2 instances in an AWS Organization must have a specific set of security group rules (e.g., no SSH from 0.0.0.0/0) and automatically remediate non-compliant security groups across all accounts. Firewall Manager security group policies would be the correct choice.

Why candidates pick the wrong answer

A

Candidates may think that automatic remediation provides a 'preventive' effect by quickly terminating instances, but they overlook the key distinction between preventive (blocking the action) and detective/reactive (responding after the fact) controls.

B

Candidates may think IAM policies can centrally control actions across accounts, but they are per-account; SCPs are the organization-wide preventive control.

D

Candidates may think Firewall Manager provides centralized security controls across accounts, but they confuse its capability to manage security groups with the ability to block resource launches based on network configuration.

86
MCQmedium

A company runs a stateless web application on a single Amazon EC2 instance in the us-east-1a Availability Zone. The application stores session data in an external Amazon ElastiCache cluster. Due to a power failure in the data center hosting us-east-1a, the EC2 instance becomes unavailable. The company wants to redesign the architecture so that the application recovers automatically in minutes if a single Availability Zone fails. Which design principle should the company implement?

A.Deploy the application across multiple AWS Regions and use Amazon Route 53 latency-based routing to failover.
B.Place the EC2 instance in an Auto Scaling group with a minimum capacity of 1, and configure the Auto Scaling group to span multiple Availability Zones.
C.Use a larger EC2 instance type with dedicated tenancy to reduce the risk of hardware failure.
D.Enable termination protection on the EC2 instance to prevent accidental stopping.
AnswerB

This is correct because an Auto Scaling group that spans multiple Availability Zones will automatically replace a failed instance in a healthy Availability Zone, ensuring the application remains available even if one AZ goes down.

Why this answer

Placing the EC2 instance in an Auto Scaling group with a minimum capacity of 1 and spanning multiple Availability Zones ensures that if us-east-1a fails, the Auto Scaling group automatically launches a new instance in a healthy Availability Zone (e.g., us-east-1b). Since the application is stateless and session data is stored externally in ElastiCache, the new instance can immediately serve traffic without data loss, achieving recovery within minutes.

Exam trap

The trap here is that candidates may confuse high-availability designs (multi-AZ Auto Scaling) with disaster recovery designs (multi-Region), or mistakenly think that instance-level protections like termination protection or larger instance types can mitigate an Availability Zone failure.

Why the other options are wrong

A

This option suggests deploying across multiple AWS Regions and using latency-based routing, which is overkill for recovering from a single Availability Zone failure. The question only requires recovery within minutes from a single AZ failure, not a regional disaster, making multi-Region deployment unnecessarily complex and costly.

D

Termination protection prevents accidental deletion of an EC2 instance but does not provide automatic recovery from an Availability Zone failure. The instance remains in the failed AZ and cannot be restarted elsewhere.

When would these options actually be correct?

A

This option would be correct if the question required the application to remain available during a regional outage (e.g., failure of an entire AWS Region) and needed to minimize latency for global users. For example: 'A company needs its application to be highly available across geographic regions and automatically route users to the nearest healthy endpoint.'

D

A company wants to prevent a critical EC2 instance from being terminated by a script or user error, but does not need automatic failover across AZs. The question would specify that high availability is not required, only protection against accidental termination.

Why candidates pick the wrong answer

A

Candidates may think that using multiple Regions provides the highest level of availability and failover, but they overlook the specific requirement of recovering from a single Availability Zone failure, which can be achieved more simply and cost-effectively within a single Region.

D

Candidates may confuse termination protection with high availability, thinking that preventing termination ensures the instance stays running, but it does not address the underlying failure of the AZ.

87
MCQeasy

Which AWS service provides a private, dedicated network connection between an organization's on-premises environment and AWS through a colocation facility or telecommunications partner?

A.AWS VPN CloudHub
B.AWS Direct Connect
C.Amazon CloudFront Private Content
D.AWS PrivateLink
AnswerB

AWS Direct Connect provides a dedicated, private network connection from your on-premises data center to AWS, with supported bandwidths of 1 Gbps, 10 Gbps, or 100 Gbps. By bypassing the public internet, it delivers lower latency, more consistent network performance, and reduced data transfer costs for high-volume hybrid workloads. This makes it the correct answer for scenarios requiring reliable, dedicated connectivity between a corporate environment and AWS.

Why this answer

AWS Direct Connect is the correct answer because it provides a private, dedicated network connection from an on-premises data center to AWS, bypassing the public internet. This connection is established through a colocation facility or a telecommunications partner using industry-standard 802.1Q VLANs, offering consistent latency and higher bandwidth than internet-based VPNs.

Exam trap

The trap here is confusing AWS Direct Connect with AWS VPN solutions (like VPN CloudHub) because both can connect on-premises networks, but only Direct Connect offers a private, dedicated physical link that avoids the public internet entirely.

How to eliminate wrong answers

Option A is wrong because AWS VPN CloudHub uses IPsec VPN tunnels over the public internet to connect multiple on-premises sites to AWS, not a private dedicated physical connection. Option C is wrong because Amazon CloudFront Private Content is a content delivery service that restricts access to cached objects using signed URLs or cookies, not a network connectivity solution. Option D is wrong because AWS PrivateLink provides private connectivity between VPCs and AWS services using Elastic Network Interfaces and VPC endpoints, but it does not extend to on-premises environments via a colocation facility.

88
MCQeasy

Which AWS storage type provides the lowest latency storage for a single EC2 instance, with data stored on NVMe SSDs physically attached to the host computer?

A.Amazon EBS (Elastic Block Store)
B.Amazon EFS (Elastic File System)
C.EC2 Instance Store
D.Amazon S3
AnswerC

EC2 Instance Store is physically attached to the host server, so I/O goes directly to the disk without traveling over any external network. This direct NVMe attachment provides the lowest possible latency and highest per-instance burst performance among all EC2 storage options, which is exactly why it is recommended for buffers, caches, and scratch data. However, instance store volumes are ephemeral: data is lost when the instance is stopped, terminated, or the underlying host fails, so it must not be used for durable or persistent data.

Why this answer

EC2 Instance Store provides temporary block-level storage for an EC2 instance, with data stored on NVMe SSDs that are physically attached to the host computer. This direct attachment eliminates network latency, offering the lowest possible latency for a single EC2 instance compared to any network-attached storage option.

Exam trap

The trap here is that candidates often confuse Amazon EBS with local storage, but EBS is network-attached and cannot match the latency of physically attached NVMe SSDs, which is the key differentiator for this question.

How to eliminate wrong answers

Option A is wrong because Amazon EBS is network-attached block storage accessed over the AWS network, which introduces higher latency than locally attached NVMe SSDs. Option B is wrong because Amazon EFS is a network file system (NFS) that provides shared file storage across multiple instances, not low-latency block storage for a single instance. Option D is wrong because Amazon S3 is object storage accessed via HTTP/S endpoints, designed for durability and scalability, not for low-latency block-level access from a single EC2 instance.

89
Drag & Dropmedium

Drag and drop the steps to launch an EC2 instance in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Launching an EC2 instance involves selecting the OS (AMI), hardware (instance type), networking, storage, and security before launch.

90
MCQmedium

A company manages 15 AWS accounts through AWS Organizations. The finance team needs to perform custom analysis of monthly costs across all accounts. They want to download a detailed, hourly-level CSV file that breaks down usage and costs by service, by member account, and by user-defined cost allocation tags. The file must be delivered to an Amazon S3 bucket daily, and the team will then query the data using Amazon Athena and create dashboards in Amazon QuickSight. Which AWS feature should they configure to meet these requirements?

A.AWS Budgets
B.AWS Cost Explorer
C.AWS Cost and Usage Report (CUR)
D.AWS Trusted Advisor
AnswerC

The AWS Cost and Usage Report contains the most detailed billing data available, including hourly usage and costs, broken down by service, member account, and cost allocation tags. It can be delivered to an S3 bucket on a daily basis, making it ideal for custom analysis with Amazon Athena and Amazon QuickSight.

Why this answer

The AWS Cost and Usage Report (CUR) is the only feature that delivers a detailed, hourly-level CSV file with granular breakdowns by service, member account, and user-defined cost allocation tags. It can be automatically published to an S3 bucket daily, enabling downstream analysis with Athena and QuickSight.

Exam trap

The trap here is that candidates confuse AWS Cost Explorer's manual CSV export capability with the automated, granular, S3-delivered reporting that only CUR provides, especially when the question emphasizes hourly detail and daily delivery to S3.

Why the other options are wrong

A

AWS Budgets provides cost alerts and notifications, but it does not generate detailed hourly-level CSV files with cost allocation tags or deliver them to S3 for Athena and QuickSight analysis.

B

AWS Cost Explorer provides visualizations and reports for cost analysis but does not generate hourly-level CSV files with detailed breakdowns by service, account, and tags, nor does it deliver files to S3 daily.

D

AWS Trusted Advisor provides best-practice recommendations for cost optimization, performance, security, and fault tolerance, but it does not generate detailed hourly CSV files with cost and usage data broken down by service, account, and tags, nor does it deliver such files to S3 for Athena and QuickSight analysis.

When would these options actually be correct?

A

A company wants to set a monthly cost budget for a specific AWS service and receive an email alert when actual costs exceed 80% of the budget. AWS Budgets would be the correct feature to configure for this alerting requirement.

B

A company needs to view and analyze historical cost data and usage patterns through a web interface, with the ability to filter by service, linked account, or tags, but does not require raw data export to S3 or Athena integration.

D

A company wants to identify underutilized Amazon EC2 instances across multiple accounts to reduce costs. AWS Trusted Advisor would be the correct feature to use because it provides cost optimization checks that highlight idle or low-utilization resources, enabling the team to take action.

Why candidates pick the wrong answer

A

Candidates may confuse AWS Budgets with cost reporting tools because both involve cost management, but Budgets focuses on thresholds and alerts, not detailed data export.

B

Candidates may confuse Cost Explorer's cost analysis capabilities with the detailed, exportable data provided by CUR, or assume Cost Explorer can generate the required CSV files.

D

Candidates may confuse Trusted Advisor's cost optimization recommendations with the ability to generate detailed cost and usage reports, or they may think it can export data to S3 for further analysis.

91
MCQmedium

A company is migrating its workloads to AWS. The IT team is concerned that they will lose visibility into which specific physical server is running their application. A solutions architect explains that AWS abstracts the underlying hardware, allowing customers to focus on their applications without managing physical infrastructure. The architect also notes that AWS pools resources from a large number of data centers to serve multiple customers, and changes the physical location of resources dynamically. Which essential characteristic of cloud computing does this scenario best describe?

A.Rapid elasticity
B.Measured service
C.Resource pooling
D.On-demand self-service
AnswerC

Correct. This scenario directly illustrates resource pooling. The cloud provider combines physical resources from multiple data centers into a shared pool, dynamically allocating them to customers. Customers do not know the exact physical server hosting their workload, which matches the IT team's concern and the architect's explanation.

Why this answer

The scenario describes AWS pooling compute resources from multiple data centers to serve multiple customers, with the physical location of resources changing dynamically. This directly aligns with the 'resource pooling' characteristic of cloud computing, where the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with physical and virtual resources dynamically assigned and reassigned according to consumer demand. The customer has no knowledge or control over the exact physical location of the provided resources (e.g., which specific server runs their application), which matches the concern in the question.

Exam trap

The trap here is that candidates confuse 'resource pooling' (the multi-tenant sharing of physical infrastructure) with 'rapid elasticity' (the ability to scale resources), because both involve dynamic resource changes, but the key distinction is that pooling is about shared physical hardware and location abstraction, not scaling speed.

Why the other options are wrong

A

Rapid elasticity refers to the ability to quickly scale resources up or down, not to the abstraction and sharing of physical hardware across multiple customers. The scenario describes resource pooling, where AWS dynamically assigns and reassigns physical resources to meet demand.

B

Measured service refers to the ability to monitor, control, and report usage for billing purposes, not to the abstraction and dynamic allocation of physical resources across multiple customers.

D

On-demand self-service refers to a user's ability to provision computing resources without human interaction, not to the abstraction and dynamic reassignment of physical hardware across multiple customers.

When would these options actually be correct?

A

A question describing a company that experiences sudden spikes in traffic and needs to automatically add or remove compute capacity within minutes to maintain performance would make rapid elasticity the correct answer.

B

A question describing how a cloud provider tracks resource usage (e.g., CPU hours, storage GB) and charges customers based on consumption, with no mention of physical server abstraction or multi-tenant resource sharing.

D

A scenario where a user can independently provision and manage cloud resources (e.g., launching an EC2 instance via the AWS Management Console) without needing to contact AWS support would make on-demand self-service the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse the dynamic allocation of resources in resource pooling with the scaling aspect of rapid elasticity, as both involve changes in resource usage over time.

B

Candidates may confuse 'measured service' with any form of resource tracking or management, mistakenly thinking that losing visibility into physical servers relates to metering rather than pooling.

D

Candidates may confuse the ability to provision resources on demand with the underlying resource pooling characteristic, as both involve automation and lack of manual intervention.

92
MCQmedium

A company has multiple AWS accounts consolidated under AWS Organizations. The finance team wants to set a hard monthly cost limit for a development account. If the forecasted costs for the month exceed that limit, the team wants AWS to automatically stop all non-critical Amazon EC2 instances in that account to prevent overspending. The team also needs to receive an email alert when the cost threshold is first crossed. Which AWS service or feature should the team use to define the budget and configure the automated action?

A.AWS Budgets with an Amazon EC2 action
B.AWS Cost Explorer
C.AWS Trusted Advisor
D.AWS Organizations
AnswerA

AWS Budgets supports creating budget actions that can automatically stop or terminate Amazon EC2 instances when a cost or usage threshold is exceeded. This meets the requirement for both the automated action and the email alert.

Why this answer

AWS Budgets allows you to set a cost budget with a threshold and, when forecasted costs exceed that threshold, trigger an AWS Budgets action to stop specific Amazon EC2 instances. This meets the requirement for a hard monthly cost limit and automated instance stoppage, while also sending an email alert via Amazon SNS when the threshold is first crossed.

Exam trap

The trap here is that candidates may confuse AWS Cost Explorer's cost monitoring capabilities with the ability to set budgets and automate actions, but Cost Explorer lacks the action trigger feature that AWS Budgets provides.

Why the other options are wrong

B

AWS Cost Explorer provides cost visualization and analysis but does not support setting budgets with automated actions like stopping EC2 instances.

C

AWS Trusted Advisor provides cost optimization recommendations but cannot define budgets or trigger automated actions to stop EC2 instances based on cost thresholds.

D

AWS Organizations manages multi-account governance and policies, but it cannot set hard cost limits with automated EC2 actions or send email alerts when a budget threshold is crossed.

When would these options actually be correct?

B

A company wants to analyze historical cost trends and forecast future spending to identify cost-saving opportunities, without needing automated actions or alerts.

C

A company wants to identify underutilized EC2 instances that could be stopped to save costs, and needs a report with recommendations for optimization. Trusted Advisor would provide that cost optimization check.

D

A company needs to centrally enforce a policy that prevents launching EC2 instances of a specific instance type across all member accounts in AWS Organizations. In this case, AWS Organizations with a service control policy (SCP) would be the correct answer.

Why candidates pick the wrong answer

B

Candidates may confuse Cost Explorer's cost tracking and forecasting capabilities with the budget and action features of AWS Budgets.

C

Candidates may associate Trusted Advisor with cost optimization and mistakenly believe it can enforce budget limits or automate actions, confusing its advisory role with AWS Budgets' proactive capabilities.

D

Candidates may think AWS Organizations can enforce cost limits because it provides consolidated billing and policy management, but it lacks the budget-based automated actions and alerting capabilities of AWS Budgets.

93
MCQmedium

A media company stores video files in Amazon S3 and needs to transcode them into multiple formats for different devices. Which AWS service is purpose-built for this workflow?

A.Amazon Kinesis Video Streams
B.Amazon Elastic Transcoder
C.AWS Lambda
D.Amazon Rekognition
AnswerB

Amazon Elastic Transcoder is a fully managed media transcoding service that converts video and audio files stored in Amazon S3 into optimized output formats for playback on devices like smartphones, tablets, and browsers. It natively integrates with S3 to fetch source media and write transcoded results, supports a wide range of containers/codecs, and provides predefined presets to simplify format conversion, making it the exact-purpose service for this scenario.

Why this answer

Amazon Elastic Transcoder is a purpose-built media transcoding service that converts video files stored in Amazon S3 into the formats required by various devices. It handles the complexities of transcoding, including format conversion, resolution scaling, and bitrate adjustment, without requiring you to manage underlying infrastructure.

Exam trap

The trap here is that candidates may confuse Amazon Kinesis Video Streams (which deals with video but is for streaming/ingestion) with a transcoding service, or think AWS Lambda can easily handle transcoding without recognizing the specialized, managed nature of Elastic Transcoder.

How to eliminate wrong answers

Option A is wrong because Amazon Kinesis Video Streams is designed for real-time video ingestion and analytics from devices, not for batch transcoding of stored video files. Option C is wrong because AWS Lambda is a serverless compute service for running code in response to events, not a dedicated transcoding service; while you could build a transcoding workflow with Lambda, it is not purpose-built for this task and would require significant custom code and dependencies. Option D is wrong because Amazon Rekognition is a computer vision service for image and video analysis (e.g., object detection, facial recognition), not for transcoding media into different formats.

94
MCQeasy

Which AWS compute service is best suited for running batch processing jobs that require specific compute resources and can run for hours or days without user interaction?

A.AWS Lambda
B.Amazon EC2 with manual provisioning
C.AWS Batch
D.Amazon ECS with Fargate
AnswerC

AWS Batch is a fully managed batch computing service that dynamically provisions the optimal quantity and type of compute resources—such as EC2 or Spot Instances—based on the volume of jobs submitted. It manages job queues, schedules jobs according to dependencies and priorities, automatically retries failed jobs, and scales resources up or down to meet demand, then terminates resources when processing completes. This makes it ideal for long-running, high-throughput batch workloads that can run for hours or even days without manual intervention.

Why this answer

AWS Batch is purpose-built for running batch computing workloads that can run for extended durations without user interaction. It dynamically provisions the optimal quantity and type of compute resources (e.g., EC2 instances or Spot Instances) based on the volume and specific resource requirements of the submitted jobs, making it ideal for hours- or days-long batch processing.

Exam trap

The trap here is that candidates often confuse AWS Lambda's serverless model with batch processing, overlooking Lambda's hard 15-minute timeout and lack of support for long-running, resource-intensive workloads.

How to eliminate wrong answers

Option A is wrong because AWS Lambda has a maximum execution timeout of 15 minutes and is designed for short-lived, event-driven functions, not for batch jobs that run for hours or days. Option B is wrong because Amazon EC2 with manual provisioning requires you to manually manage instance lifecycle, scaling, and job scheduling, which is inefficient and error-prone for long-running batch workloads compared to a fully managed batch service. Option D is wrong because Amazon ECS with Fargate is a container orchestration service that abstracts server management but lacks native batch job scheduling, queue management, and dependency handling that AWS Batch provides out of the box.

95
MCQmedium

A financial services company runs a high-frequency stock trading platform on AWS. The platform must continue processing trades without any interruption, even if an entire AWS Availability Zone experiences a complete outage. The architecture is designed with duplicate infrastructure in multiple Availability Zones, and all components are active simultaneously. The system is engineered so that if one AZ fails, the remaining AZs continue processing trades instantly, with zero downtime for end users. Which cloud computing concept does this requirement BEST represent?

A.Elasticity
B.High availability
C.Fault tolerance
D.Durability
AnswerC

Fault tolerance is the property that enables a system to continue functioning correctly even when some of its components fail. The scenario's demand for 'zero downtime' and 'instant' continuation of processing after an AZ failure directly matches the definition of fault tolerance. This is typically achieved through active-active redundant deployments.

Why this answer

This requirement describes a system that continues to operate without any interruption even when an entire AWS Availability Zone fails. That is the definition of fault tolerance: the system is designed to survive component failures with zero impact on service. The architecture uses duplicate active infrastructure in multiple AZs so that if one AZ fails, the remaining AZs instantly take over with no downtime, which is fault tolerance, not just high availability.

Exam trap

The trap here is that candidates often confuse high availability with fault tolerance, but high availability allows for a brief failover period (e.g., seconds of downtime), while fault tolerance requires zero downtime and instant continuity, which is the exact requirement in this question.

Why the other options are wrong

A

Elasticity refers to the ability to scale resources up or down based on demand, not to survive an AZ outage with zero downtime. The requirement is about continuous operation despite failures, not dynamic scaling.

B

High availability focuses on minimizing downtime through redundant components and failover, but it typically involves some recovery time (e.g., seconds to minutes). The requirement for zero downtime and instant failover with no interruption is the defining characteristic of fault tolerance, not high availability.

When would these options actually be correct?

A

A question describing a workload with variable traffic (e.g., e-commerce site during Black Friday) that must automatically add or remove EC2 instances to match demand would make elasticity the correct answer.

B

A question that asks for a design ensuring minimal downtime (e.g., 99.99% uptime) with automatic failover but allows for a brief interruption (e.g., a few seconds) during a failure. For example: 'An e-commerce website must remain accessible during an AZ outage with automatic recovery within 30 seconds.'

Why candidates pick the wrong answer

A

Candidates may confuse the ability to handle failures with the ability to handle load changes, or think that scaling across AZs is the same as fault tolerance.

B

Candidates often confuse high availability with fault tolerance because both involve redundancy and failover. The term 'high availability' is more commonly used, leading them to select it without recognizing the stricter zero-downtime requirement of fault tolerance.

96
MCQmedium

A company hosts a web application on Amazon EC2 instances behind an Application Load Balancer. The security team wants to protect the application from common web attacks such as SQL injection and cross-site scripting (XSS) at the edge, before the requests reach the application. The company wants to use pre-built rule sets maintained by AWS to quickly enable protection, and the solution should be fully managed with no servers to manage. Which AWS service should the company use?

A.AWS Shield Advanced
B.Amazon GuardDuty
C.AWS WAF
D.AWS Network Firewall
AnswerC

AWS WAF is a fully managed web application firewall that enables customers to monitor and control HTTP(S) requests to their applications. It provides managed rule groups for common threats like SQL injection and cross-site scripting (XSS). The service integrates seamlessly with Application Load Balancers, allowing traffic to be inspected at the edge before reaching the backend instances, and requires no server management.

Why this answer

AWS WAF is a fully managed web application firewall that helps protect web applications from common web exploits like SQL injection and cross-site scripting (XSS). It integrates with Application Load Balancers (ALBs) and allows you to use pre-built, AWS-managed rule sets (e.g., the AWS Managed Rules for SQL injection and XSS) to quickly enable protection at the edge, before traffic reaches the EC2 instances. This meets the requirement for a serverless, managed solution with no infrastructure to maintain.

Exam trap

The trap here is that candidates often confuse AWS WAF with AWS Shield Advanced, mistakenly thinking Shield Advanced handles application-layer attacks like SQL injection, when in fact it focuses on DDoS mitigation at the network and transport layers.

Why the other options are wrong

A

AWS Shield Advanced provides DDoS protection, not application-layer filtering for SQL injection or XSS. It does not offer pre-built rule sets for web attacks.

B

Amazon GuardDuty is a threat detection service that monitors for malicious activity and unauthorized behavior, but it does not actively block web attacks like SQL injection or XSS at the edge. It operates on VPC Flow Logs, DNS logs, and CloudTrail events, not on incoming HTTP requests.

D

AWS Network Firewall is a managed firewall for VPC network traffic, not for web application layer attacks like SQL injection or XSS. It operates at layers 3-4 and 7 for network filtering, but lacks the pre-built web-specific rule sets that AWS WAF provides.

When would these options actually be correct?

A

A company needs protection against large-scale DDoS attacks targeting its web application, and requires 24/7 access to the DDoS Response Team (DRT) and cost protection against scaling charges during attacks.

B

A company wants to continuously monitor AWS accounts and workloads for malicious activity and unauthorized behavior, using machine learning and threat intelligence, with no need to block attacks in real-time. GuardDuty would be the correct service to detect potential threats across AWS resources.

D

A company needs to filter outbound traffic from a VPC to block known malicious IPs or domains, or to inspect traffic between VPCs and on-premises networks using stateful firewall rules. The question would specify network-level filtering requirements, not web application protection.

Why candidates pick the wrong answer

A

Candidates may confuse 'edge protection' with DDoS mitigation, or assume Shield Advanced includes WAF capabilities since both are used for security at the edge.

B

Candidates may confuse GuardDuty's threat detection capabilities with web application protection, assuming it can block attacks because it 'detects' threats. The name 'GuardDuty' also implies a security guard role, leading to overestimation of its preventive features.

D

Candidates may confuse 'firewall' with web application firewall, or assume that a network firewall can handle all types of attacks, including application-layer threats, due to the broad term 'firewall'.

97
MCQeasy

A startup runs its web application on a few Amazon EC2 instances. Over time, the company scales its infrastructure, adding hundreds more instances to support a growing user base. The company notices that the per-hour cost per instance does not increase as it uses more resources. In fact, AWS has steadily lowered prices for compute and storage services over the years. Which cloud computing concept does this scenario best illustrate?

A.Elasticity
B.Pay-as-you-go pricing
C.Economies of scale
D.High availability
AnswerC

Correct. Economies of scale describe how AWS, by serving millions of customers worldwide, can purchase hardware, operate data centers, and negotiate contracts at massive volumes, achieving lower costs per unit. These savings are then reflected in lower prices for all customers, regardless of their individual consumption level.

Why this answer

The scenario describes how AWS's per-hour cost per instance does not increase as usage scales, and AWS has steadily lowered prices over time. This directly illustrates economies of scale, where AWS's massive infrastructure investments and operational efficiencies allow it to pass cost savings to customers as usage grows. The key is that the cost per unit (instance-hour) decreases or remains stable at scale, which is the hallmark of economies of scale, not just the ability to scale resources.

Exam trap

The trap here is that candidates confuse 'pay-as-you-go pricing' (a billing model) with 'economies of scale' (a cost advantage from large-scale operations), because both involve cost savings, but the question specifically describes the per-hour cost per instance not increasing and AWS lowering prices over time, which is a direct result of economies of scale, not the pay-as-you-go model itself.

Why the other options are wrong

A

Elasticity refers to the ability to scale resources up or down based on demand, not to the decreasing per-unit cost as usage increases. The scenario describes cost reduction with scale, not dynamic scaling.

B

The scenario emphasizes that per-hour cost per instance does not increase and that AWS lowers prices over time, which reflects economies of scale, not pay-as-you-go pricing. Pay-as-you-go means you pay only for what you use, but it doesn't inherently explain decreasing per-unit costs as usage grows.

D

High availability focuses on ensuring system uptime and fault tolerance, not on cost reduction as usage scales. The scenario describes decreasing per-hour costs with scale, which is unrelated to availability.

When would these options actually be correct?

A

A question describing a startup that automatically adds EC2 instances during peak traffic and removes them during low traffic to match demand and avoid over-provisioning would make elasticity the correct answer.

B

A question asks: 'A company wants to avoid upfront costs and only pay for compute resources when they are used. Which cloud concept does this describe?' Then pay-as-you-go pricing is correct.

D

A question describing a web application that remains accessible despite an AZ failure, with instances distributed across multiple Availability Zones, would make 'High availability' correct.

Why candidates pick the wrong answer

A

Candidates may confuse the concept of scaling (elasticity) with the cost benefits of scaling (economies of scale), especially since both involve growth in infrastructure.

B

Candidates may confuse pay-as-you-go with economies of scale because both involve cost benefits of cloud computing, but pay-as-you-go focuses on usage-based billing, not the cost reduction from massive provider infrastructure.

D

Candidates may confuse economies of scale with high availability because both are benefits of large-scale cloud infrastructure, but they address different aspects: cost vs. uptime.

98
MCQmedium

A company runs a customer-facing web application on a single Amazon EC2 instance. To ensure the application remains accessible if the instance fails, the company launches a second EC2 instance in a different Availability Zone and configures an Application Load Balancer to distribute traffic. The application continues to serve users with minimal downtime during the failure of any single instance. This scenario best demonstrates which cloud computing concept?

A.Elasticity
B.High availability
C.Scalability
D.Fault tolerance
AnswerB

Correct. High availability is the ability to keep applications running with minimal downtime by eliminating single points of failure. Placing instances in multiple Availability Zones behind a load balancer ensures that the application remains accessible even if one instance fails.

Why this answer

High availability is the correct concept because the architecture uses redundant EC2 instances in separate Availability Zones behind an Application Load Balancer to eliminate a single point of failure. If one instance fails, the load balancer automatically routes traffic to the healthy instance, ensuring the application remains accessible with minimal downtime. This design specifically addresses fault tolerance and uptime, not the ability to handle variable load or scale resources.

Exam trap

The trap here is that candidates confuse high availability with elasticity or scalability because all three involve multiple instances, but high availability is specifically about redundancy and fault tolerance to minimize downtime, not about adjusting capacity to meet demand.

Why the other options are wrong

A

Elasticity refers to automatically scaling resources up or down based on demand, but the scenario describes adding a fixed second instance for redundancy, not dynamic scaling.

C

Scalability refers to the ability to increase or decrease resources to handle varying load, but the scenario describes adding a second instance for redundancy, not for handling increased traffic.

D

Fault tolerance implies zero downtime and no data loss during failures, often through redundant components that fail over instantly. In this scenario, minimal downtime is acceptable, and the application uses an ALB with instances in different AZs, which is characteristic of high availability, not full fault tolerance.

When would these options actually be correct?

A

A company runs a web application on EC2 that experiences variable traffic. The application automatically adds instances during peak hours and removes them during low traffic using Auto Scaling. This demonstrates elasticity.

C

A question describing an application that automatically adds EC2 instances during peak traffic hours and removes them during low traffic to maintain performance and optimize cost would demonstrate scalability.

D

A question describing a system that continues operating without any interruption or data loss during a component failure, such as a multi-AZ database with synchronous replication or a fully redundant application with automatic failover that provides seamless continuity, would make fault tolerance the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse adding resources for redundancy (high availability) with adding resources to handle load changes (elasticity), as both involve multiple instances.

C

Candidates may confuse high availability with scalability because both involve multiple instances, but scalability focuses on adjusting capacity to meet demand, not on ensuring uptime during failures.

D

Candidates may confuse high availability with fault tolerance because both involve redundancy and failover. The term 'minimal downtime' might be misinterpreted as 'no downtime,' leading to the selection of fault tolerance over high availability.

99
MCQmedium

A company hosts a web application on an Amazon EC2 instance. The company installs its own application software and configures the operating system. The company also uses AWS Key Management Service (AWS KMS) to create a customer-managed key to encrypt data on the Amazon Elastic Block Store (Amazon EBS) volume attached to the instance. According to the AWS shared responsibility model, which of the following is the responsibility of AWS?

A.Encrypting the data on the Amazon EBS volume using the customer-managed key.
B.Patching the operating system of the Amazon EC2 instance.
C.Ensuring the physical security of the data center where the Amazon EC2 instance runs.
D.Configuring the security group rules to restrict traffic to the Amazon EC2 instance.
AnswerC

This is an AWS responsibility. AWS operates and controls the physical security of its data centers, including access controls, surveillance, and environmental systems. This falls under 'security of the cloud.'

Why this answer

Under the AWS shared responsibility model, AWS is responsible for the security of the cloud, which includes the physical security of data centers, hardware, networking, and facilities where EC2 instances run. This is a foundational layer that customers cannot manage or control.

Exam trap

The trap here is that candidates often confuse 'encryption at rest' as an AWS responsibility, but the shared responsibility model clearly assigns the management of customer-managed keys and the decision to encrypt to the customer, while AWS only provides the encryption infrastructure.

Why the other options are wrong

A

Encrypting data on the EBS volume using a customer-managed key is a customer responsibility under the shared responsibility model, as the customer controls the key and the encryption configuration.

B

Patching the operating system is the customer's responsibility under the AWS shared responsibility model, as the customer controls the guest OS and installed software.

D

Configuring security group rules is a customer responsibility under the AWS shared responsibility model, as it involves managing network access controls within the customer's virtual private cloud.

When would these options actually be correct?

A

If the question asked which task is the customer's responsibility when using AWS KMS with EBS encryption, then encrypting data with a customer-managed key would be correct, as the customer manages the key and initiates encryption.

B

If the question asked about patching the hypervisor or underlying infrastructure that AWS manages, then AWS would be responsible. For example, 'Which of the following is AWS responsible for patching?'

D

This option would be correct if the question asked which task is the customer's responsibility, or if it asked about AWS responsibilities for a managed service like Amazon RDS where AWS manages the underlying security groups.

Why candidates pick the wrong answer

A

Candidates may confuse the shared responsibility model, thinking that AWS handles all encryption tasks, or they may misinterpret that using a customer-managed key shifts responsibility to AWS.

B

Candidates may confuse OS patching with infrastructure patching, or assume that because AWS provides the EC2 service, it handles all patching.

D

Candidates may confuse security group configuration as an AWS responsibility because AWS provides the infrastructure, but they overlook that customers control the rules.

100
MCQmedium

A hospital is evaluating a move of its patient records system to the AWS Cloud. The hospital's compliance officer is concerned that the underlying physical servers in the cloud are shared with other customers, which could potentially expose sensitive patient data. The hospital wants a clear explanation of how AWS prevents one customer from accessing another customer's data even though they reside on the same physical hardware. Which essential characteristic of cloud computing best describes the mechanism that achieves this isolation?

A.On-demand self-service
B.Resource pooling
C.Rapid elasticity
D.Measured service
AnswerB

Resource pooling is the cloud characteristic where the provider's computing resources are pooled to serve multiple customers using a multi-tenant model. Virtualization provides strong logical isolation between customers, preventing data access across tenants. This directly addresses the compliance officer's concern about data security on shared hardware.

Why this answer

Resource pooling is the correct answer because it describes how AWS multi-tenancy works: physical resources like servers and storage are pooled to serve multiple customers, but strict logical isolation is enforced through hypervisor-level virtualization. The hypervisor (e.g., Xen or Nitro) ensures each customer's virtual machines operate in separate memory spaces and cannot access another customer's data, even on the same physical host. This isolation is a fundamental design of cloud computing, not a security flaw.

Exam trap

The trap here is that candidates confuse 'resource pooling' with security vulnerabilities, thinking shared hardware implies shared data, when in fact resource pooling is the very characteristic that enables secure multi-tenancy through hypervisor isolation.

Why the other options are wrong

A

On-demand self-service refers to the ability to provision computing resources without human interaction, not to the isolation of customer data on shared physical hardware.

C

Rapid elasticity refers to the ability to quickly scale resources up or down based on demand, not to the isolation of customer data on shared physical hardware.

D

Measured service refers to the metering and billing of cloud resource usage, not to the isolation of customer data on shared physical hardware. The question asks about preventing data exposure due to shared servers, which is addressed by resource pooling's multi-tenancy and isolation mechanisms.

When would these options actually be correct?

A

A question asking which cloud characteristic allows a user to automatically provision and manage compute resources via a web portal without contacting the provider would have on-demand self-service as the correct answer.

C

A question asks which cloud characteristic allows a company to automatically increase its compute capacity during a flash sale and decrease it afterward without manual intervention.

D

A company wants to understand how AWS charges for its services based on usage, such as per-hour or per-GB metrics. The correct answer would be measured service because it describes the pay-per-use billing model and resource monitoring capabilities.

Why candidates pick the wrong answer

A

Candidates may confuse the idea of 'self-service' with the notion that each customer has their own isolated environment, misunderstanding the term's actual meaning.

C

Candidates may confuse the concept of rapid scaling with the idea of isolating resources, thinking that fast provisioning somehow separates data, but elasticity is about speed of scaling, not security isolation.

D

Candidates may confuse 'measured service' with security monitoring or assume that measurement implies control over data access, but it actually pertains to usage tracking and billing.

101
MCQhard

A company recently migrated to AWS and needs to ensure their S3 buckets are not publicly accessible. Which combination of controls best prevents accidental public S3 exposure?

A.Enable S3 server-side encryption on all buckets
B.Enable S3 Block Public Access at the account level and use AWS Config to detect violations
C.Enable S3 versioning on all buckets
D.Enable S3 Transfer Acceleration for all buckets
AnswerB

Block Public Access at the account level enforces four settings—BlockPublicAcls, IgnorePublicAcls, BlockPublicPolicy, and RestrictPublicBuckets—that override all existing and future bucket policies and ACLs, effectively making it impossible to grant public read/write access. AWS Config complements this by continuously evaluating bucket configurations against rules like s3-bucket-public-read-prohibited and s3-bucket-level-public-access-prohibited, alerting on any violation that would allow public access. This combination of preventive control and detective monitoring is the industry-standard guardrail and directly addresses the risk of public exposure from misconfigured policies.

Why this answer

S3 Block Public Access at the account level provides a centralized, enforceable guardrail that prevents any bucket or object from being made publicly accessible, overriding any bucket-level policies or ACLs. AWS Config can then continuously monitor for configuration violations, such as a bucket policy that grants public access, and trigger remediation or alerts. Together, these controls create a defense-in-depth approach that both prevents accidental exposure and detects non-compliance.

Exam trap

The trap here is that candidates often confuse data protection features (encryption, versioning, acceleration) with access control mechanisms, leading them to select options that secure data in transit or at rest but do not prevent public exposure.

How to eliminate wrong answers

Option A is wrong because S3 server-side encryption protects data at rest but does not control access permissions; a bucket can be encrypted yet still publicly readable. Option C is wrong because S3 versioning preserves object versions and aids in recovery from accidental deletion or overwrites, but it has no effect on public access controls. Option D is wrong because S3 Transfer Acceleration speeds up uploads over long distances using edge locations, but it does not modify or enforce bucket access policies.

102
MCQmedium

A company runs multiple workloads in separate Amazon VPCs within the same AWS Region. The networking team needs to enable connectivity between all VPCs using private IP addresses. Additionally, the team must connect all VPCs to the company's on-premises data center through a single AWS Site-to-Site VPN connection to minimize costs and simplify management. The solution must support transitive routing so that any VPC can communicate with any other VPC and with the on-premises network. Which AWS service should the networking team use to meet these requirements?

A.VPC Peering with a VPN attachment to a Virtual Private Gateway
B.AWS Transit Gateway with VPN attachments
C.AWS Direct Connect gateway with VPC associations
D.A Network Load Balancer with VPN endpoints
AnswerB

Correct. AWS Transit Gateway acts as a central hub, enabling transitive routing between all attached VPCs and VPN connections. By attaching a single Site-to-Site VPN to the Transit Gateway, all VPCs can communicate with each other and with the on-premises network using private IP addresses, simplifying management and reducing costs.

Why this answer

AWS Transit Gateway acts as a central hub that connects multiple VPCs and on-premises networks through a single VPN attachment, supporting transitive routing between all connected networks. This meets the requirements for private IP connectivity, cost minimization, and simplified management by avoiding the need for full-mesh VPC peering or multiple VPN connections.

Exam trap

The trap here is that candidates often confuse VPC Peering with transitive routing, assuming that multiple peering connections can forward traffic between VPCs, but AWS explicitly does not support transitive routing through VPC peering.

Why the other options are wrong

A

VPC Peering does not support transitive routing, so it cannot enable communication between all VPCs through a single VPN connection; each VPC would need its own VPN attachment to the Virtual Private Gateway.

C

AWS Direct Connect gateway does not support transitive routing between VPCs; it only connects VPCs to Direct Connect, not to each other or to a Site-to-Site VPN.

D

A Network Load Balancer (NLB) with VPN endpoints does not provide transitive routing between VPCs or connect multiple VPCs to an on-premises network via a single VPN connection. NLB distributes traffic to targets within a single VPC and cannot route traffic between separate VPCs or act as a central hub for VPN connectivity.

When would these options actually be correct?

A

If the requirement was to connect only two VPCs to an on-premises network via a single VPN, and transitive routing was not needed, VPC Peering with a VPN attachment to a Virtual Private Gateway could be used.

C

A company needs to connect multiple VPCs to an on-premises data center via AWS Direct Connect, and does not require VPC-to-VPC connectivity or transitive routing. The Direct Connect gateway would centralize the connection.

D

A Network Load Balancer with VPN endpoints would be correct if the requirement was to load balance incoming VPN traffic from multiple on-premises locations to a set of backend instances in a single VPC, without needing inter-VPC connectivity or transitive routing.

Why candidates pick the wrong answer

A

Candidates may confuse VPC Peering's ability to connect VPCs with the need for transitive routing, or assume that a Virtual Private Gateway can aggregate multiple VPCs like a Transit Gateway.

C

Candidates may confuse Direct Connect gateway with Transit Gateway, thinking it can also provide transitive routing, or they may focus on the on-premises connection and overlook the VPC-to-VPC requirement.

D

Candidates may confuse the term 'VPN endpoints' with VPN connections and think an NLB can handle VPN termination and routing, overlooking that NLB operates at Layer 4 and lacks the routing capabilities needed for transitive VPC-to-VPC and VPC-to-on-premises connectivity.

103
MCQmedium

A company is deploying an application that processes payment card data. Which AWS compliance program provides assurance that AWS infrastructure meets Payment Card Industry Data Security Standard requirements?

A.SOC 2 Type II
B.PCI DSS Level 1 compliance
C.HIPAA compliance
D.ISO 27001 certification
AnswerB

AWS maintains PCI DSS Level 1 compliance, which is the highest level of validation required by the Payment Card Industry Security Standards Council for service providers handling large volumes of transactions. This means AWS's infrastructure and services have undergone rigorous annual assessments and continuous monitoring to meet all PCI DSS requirements. Customers can download AWS's Attestation of Compliance directly from AWS Artifact to support their own PCI compliance obligations under the shared responsibility model.

Why this answer

PCI DSS Level 1 compliance is the highest level of validation for organizations that process payment card data, and AWS has been validated as a Level 1 service provider. This means AWS infrastructure has undergone the required on-site assessments and annual audits to meet the Payment Card Industry Data Security Standard (PCI DSS) requirements, providing assurance for the company's deployment.

Exam trap

The trap here is that candidates often confuse general security certifications (like SOC 2 or ISO 27001) with the specific, mandatory compliance program for payment card data, which is PCI DSS Level 1.

How to eliminate wrong answers

Option A is wrong because SOC 2 Type II reports focus on controls related to security, availability, processing integrity, confidentiality, and privacy, but they do not specifically certify compliance with PCI DSS requirements. Option C is wrong because HIPAA compliance is specific to the healthcare industry and protects protected health information (PHI), not payment card data. Option D is wrong because ISO 27001 certification is a general information security management standard that does not specifically address the 12 requirements of PCI DSS.

104
MCQmedium

An application running on an Amazon EC2 instance needs to access an Amazon S3 bucket. The security team requires that no long-term access keys be stored on the instance. Which IAM feature should be used to grant the EC2 instance permission to access S3?

A.Create an IAM user and embed the access key in the application code
B.Store the access key in an EC2 environment variable
C.Attach an IAM role to the EC2 instance
D.Use an IAM group to assign the permissions to the EC2 instance
AnswerC

An IAM role attached to an EC2 instance (via an instance profile) provides temporary, automatically rotating credentials. The EC2 metadata service delivers these credentials to the application, eliminating the need to store any long-term access keys.

Why this answer

An IAM role can be attached to an EC2 instance, allowing the instance to obtain temporary security credentials from AWS STS via the instance metadata service. This eliminates the need to store long-term access keys on the instance, satisfying the security team's requirement. The EC2 instance automatically rotates these temporary credentials before they expire, providing secure, programmatic access to the S3 bucket.

Exam trap

The trap here is that candidates may confuse IAM roles with IAM users or groups, thinking that any IAM entity can be attached to an EC2 instance, but only IAM roles support the temporary credential workflow required for secure, keyless access.

How to eliminate wrong answers

Option A is wrong because embedding an IAM user's access key in application code stores long-term credentials on the instance, directly violating the security requirement. Option B is wrong because storing the access key in an EC2 environment variable still persists long-term credentials on the instance, which is insecure and contradicts the no-long-term-keys policy. Option D is wrong because an IAM group is used to manage permissions for IAM users, not for EC2 instances; it cannot be directly attached to an EC2 instance to grant permissions.

105
MCQmedium

A company has a web application deployed on AWS in the us-west-2 Region. The application is accessed by users across the globe, including Europe, Asia, and South America. The company wants to improve the application's performance for international users by reducing latency and packet loss. The solution must route user traffic over the AWS global network to the closest edge location. Which AWS service should the company use?

A.Amazon CloudFront
B.AWS Global Accelerator
C.Amazon Route 53 (with latency-based routing)
D.AWS Direct Connect
AnswerB

AWS Global Accelerator is designed to improve the performance of global applications by directing user traffic over the AWS global network to the closest edge location. It uses anycast IP addresses and routes traffic to the optimal endpoint based on location, network conditions, and health. This reduces latency and packet loss for global users, making it the correct choice for the described requirements.

Why this answer

AWS Global Accelerator is the correct choice because it uses the AWS global network to route user traffic to the closest edge location via Anycast IP addresses, reducing latency and packet loss. It optimizes the path from users to the application by directing traffic to the nearest edge endpoint, then forwarding it over the AWS backbone to the application in us-west-2. This improves performance for international users without caching content, unlike a CDN.

Exam trap

The trap here is that candidates often confuse Amazon CloudFront's edge caching with Global Accelerator's network path optimization, assuming a CDN is always the best choice for reducing latency, but CloudFront does not improve the network path for non-cacheable traffic or dynamic API calls.

Why the other options are wrong

A

Amazon CloudFront is a content delivery network (CDN) that caches content at edge locations, but the question requires routing user traffic over the AWS global network to the closest edge location for all traffic (including dynamic content), not just caching. CloudFront does not optimize routing for non-cacheable traffic like API calls or dynamic content.

C

Amazon Route 53 with latency-based routing directs traffic based on DNS resolution latency, but it does not route traffic over the AWS global network or use edge locations to optimize the path; it only directs users to the nearest endpoint based on DNS queries, which can still result in suboptimal routing over the public internet.

D

AWS Direct Connect establishes a dedicated private network connection from on-premises to AWS, not from global users to edge locations. It does not route user traffic over the AWS global network to the closest edge location for latency reduction.

When would these options actually be correct?

A

A company wants to deliver static and dynamic web content (e.g., images, videos, API responses) with low latency and high transfer speeds by caching at edge locations. The solution must also provide DDoS protection and integrate with AWS WAF.

C

A company wants to distribute traffic across multiple AWS regions based on the lowest latency for each user, without needing to optimize the network path beyond DNS resolution. For example, directing users to the closest regional endpoint for a stateless API.

D

A company has a hybrid cloud architecture with on-premises data centers and needs a consistent, low-latency, and secure connection to AWS resources (e.g., VPC) for workloads like real-time data replication or large-scale data transfer. The question would specify a need for a dedicated private link rather than global user traffic optimization.

Why candidates pick the wrong answer

A

Candidates often associate 'edge locations' and 'reducing latency' with CloudFront, but they overlook that CloudFront primarily caches content, whereas Global Accelerator optimizes network routing for all traffic types.

C

Candidates may confuse latency-based DNS routing with a global network accelerator, assuming that DNS-level latency optimization provides the same performance benefits as a service that actively routes traffic over AWS's private network.

D

Candidates may think Direct Connect improves performance for all users because it provides a fast, reliable connection to AWS, but they overlook that it is a point-to-point link for specific on-premises locations, not a global edge network for end users.

106
MCQmedium

A company runs a read-heavy web application on Amazon EC2 instances that queries an Amazon RDS database. As traffic grows, the database CPU utilization is consistently high, causing slow response times for users. The company wants to reduce the load on the database by caching frequently accessed query results. They need a fully managed, in-memory caching service that can be set up quickly and integrates with common programming languages. Which AWS service should they use?

A.Amazon DynamoDB Accelerator (DAX)
B.Amazon ElastiCache
C.Amazon CloudFront
D.Amazon S3 Transfer Acceleration
AnswerB

Amazon ElastiCache is a fully managed in-memory caching service that supports Redis and Memcached. It can be used to cache frequently accessed database query results, reducing the load on Amazon RDS and improving application response times.

Why this answer

Amazon ElastiCache is a fully managed, in-memory caching service that supports Redis and Memcached, both of which integrate with common programming languages via standard client libraries. It can be deployed quickly to cache frequently accessed database query results, offloading read traffic from the Amazon RDS instance and reducing CPU utilization.

Exam trap

The trap here is that candidates may confuse DAX (a DynamoDB-specific cache) with a general-purpose cache, or think CloudFront can cache database query results, when in fact ElastiCache is the correct service for caching RDS query outputs in a read-heavy application.

Why the other options are wrong

A

DAX is an in-memory cache for Amazon DynamoDB, not for Amazon RDS. The question specifies an RDS database, so DAX cannot be used to cache RDS query results.

C

Amazon CloudFront is a content delivery network (CDN) that caches static and dynamic content at edge locations, not an in-memory caching service for database query results. It does not provide low-latency, in-memory caching for application-level data like RDS query results.

D

Amazon S3 Transfer Acceleration is designed to speed up uploads to S3 over long distances, not for caching database query results in memory.

When would these options actually be correct?

A

A company uses Amazon DynamoDB as its primary database and experiences high latency due to frequent reads. They need a fully managed, in-memory cache that integrates seamlessly with DynamoDB and supports common programming languages. In that scenario, DAX would be the correct answer.

C

A company wants to reduce latency for users worldwide by caching static web content (e.g., images, CSS, JavaScript) and serving it from edge locations. They need a global CDN that integrates with AWS origins like S3 or EC2. Amazon CloudFront would be the correct answer.

D

A company needs to accelerate uploads of large files to an S3 bucket from geographically distributed clients, and they require a fully managed service that uses AWS edge locations.

Why candidates pick the wrong answer

A

Candidates may confuse DAX as a general-purpose caching service due to its name containing 'Accelerator' and its in-memory nature, overlooking that it is tightly coupled with DynamoDB.

C

Candidates may confuse caching at the edge (CDN) with in-memory caching, or think CloudFront can cache database query results because it supports dynamic content caching. They might overlook the requirement for a fully managed, in-memory cache that integrates with programming languages.

D

Candidates may confuse 'acceleration' with 'caching' and think S3 Transfer Acceleration can speed up database queries, or they may associate it with content delivery caching similar to CloudFront.

107
MCQmedium

A company is launching a new application and expects user demand to grow gradually over the next 12 months. To control upfront costs, the company plans to start with a small number of Amazon EC2 instances and manually add more instances each month as the user base increases. The operations team will monitor usage and adjust capacity based on observed trends. Which cloud computing concept does this approach BEST illustrate?

A.Elasticity
B.Scalability
C.High availability
D.Fault tolerance
AnswerB

Scalability is the ability to increase capacity to handle greater load. The company's approach of manually adding EC2 instances as user demand grows is a direct example of scaling up over time, making this the correct answer.

Why this answer

The scenario describes manually adding EC2 instances over time to match growing demand, which is a classic example of scalability—the ability to increase or decrease resources to handle changing workloads. Scalability focuses on planned capacity adjustments, whereas elasticity involves automatic, real-time scaling in response to demand fluctuations. Here, the manual, monthly additions based on observed trends align with scalability, not the automated provisioning that defines elasticity.

Exam trap

The trap here is that candidates confuse scalability with elasticity, assuming any capacity adjustment is elasticity, but the key differentiator is automation—elasticity requires automatic, real-time scaling, while manual, planned adjustments are scalability.

Why the other options are wrong

A

Elasticity refers to automatically scaling resources up or down based on demand, but the question describes manually adding instances each month, which is not automatic.

C

High availability focuses on ensuring application uptime and resilience through redundant components, not on adjusting capacity over time as demand grows. The question describes adding instances monthly to match gradual user growth, which is a scalability concern, not high availability.

D

Fault tolerance focuses on maintaining system operation during component failures, not on adjusting capacity to meet changing demand. The question describes manually adding instances over time to handle gradual growth, which is about scalability, not fault tolerance.

When would these options actually be correct?

A

A company expects unpredictable traffic spikes and configures EC2 Auto Scaling to automatically add instances during high demand and remove them when demand drops. This would illustrate elasticity.

C

A question asks: 'A company runs a critical e-commerce platform that must remain accessible even if one Availability Zone fails. Which concept does this requirement illustrate?' High availability would be correct because it involves designing systems to operate continuously despite component failures.

D

A question that asks: 'An application must continue to operate without interruption even if an EC2 instance fails. Which concept does this requirement illustrate?' would make fault tolerance the correct answer.

Why candidates pick the wrong answer

A

Candidates often confuse scalability with elasticity, thinking any capacity adjustment is elasticity, but elasticity specifically implies automatic, dynamic scaling.

C

Candidates may confuse high availability with scalability because both involve multiple instances, but high availability is about uptime and redundancy, not about adjusting capacity to meet changing demand.

D

Candidates may confuse fault tolerance with the ability to handle increased load, or they might think that adding instances is a way to ensure the system tolerates faults, but fault tolerance specifically addresses failure recovery, not capacity scaling.

108
MCQmedium

A company wants to take advantage of AWS's global infrastructure to replicate their database to a second geographic region for disaster recovery. Which benefit of cloud computing does this leverage?

A.Economies of scale
B.Trade capital expense for variable expense
C.Go global in minutes
D.Increase speed and agility for experiments
AnswerC

AWS operates data centers in dozens of geographic Regions around the world, and every Region exposes the same APIs, console, and infrastructure services. This lets you replicate a workload into a new Region in minutes by changing a region parameter or using global services like CloudFront and Route 53, without leasing land or installing hardware. This is the 'go global in minutes' benefit of cloud computing, enabling low-latency deployment, disaster recovery, and global customer reach.

Why this answer

AWS's global infrastructure allows you to deploy resources, such as database replicas, across multiple geographic regions in minutes. By using services like Amazon RDS Cross-Region Read Replicas or Aurora Global Database, you can replicate data to a second region for disaster recovery, leveraging the cloud's ability to rapidly expand globally without provisioning physical data centers.

Exam trap

The trap here is that candidates confuse 'go global in minutes' with 'economies of scale' or 'speed and agility,' but the question specifically asks about leveraging global infrastructure for geographic replication, not cost savings or experimental speed.

How to eliminate wrong answers

Option A is wrong because economies of scale refer to cost advantages from massive infrastructure purchasing, not the ability to replicate data across regions for disaster recovery. Option B is wrong because trading capital expense for variable expense describes the shift from upfront hardware costs to pay-as-you-go pricing, which is unrelated to geographic replication. Option D is wrong because increasing speed and agility for experiments focuses on rapid prototyping and testing, not on deploying a disaster recovery solution across regions.

109
MCQmedium

A company operates in three separate AWS accounts: one for development, one for testing, and one for production. The company wants to take advantage of volume pricing discounts across all accounts for services such as Amazon S3 and Amazon EC2. The finance team also wants to view a single, consolidated monthly bill that aggregates charges from all accounts. Which AWS feature should the company implement?

A.AWS Cost Explorer
B.AWS Budgets
C.AWS Organizations with consolidated billing
D.AWS Trusted Advisor
AnswerC

Consolidated billing is a feature of AWS Organizations that aggregates the usage of all member accounts into a single bill for the management (payer) account. This enables volume discounts across all accounts and simplifies billing administration.

Why this answer

AWS Organizations with consolidated billing is the correct feature because it allows the company to combine all three AWS accounts (development, testing, production) into a single organization, enabling volume pricing discounts across accounts for services like Amazon S3 and Amazon EC2. It also aggregates usage from all accounts into a single monthly bill, which the finance team can view. This is the only AWS feature that directly provides both consolidated billing and aggregated usage for pricing benefits.

Exam trap

The trap here is that candidates often confuse AWS Cost Explorer or AWS Budgets with billing consolidation, but neither feature aggregates usage or applies volume discounts across accounts—only AWS Organizations with consolidated billing does that.

Why the other options are wrong

A

AWS Cost Explorer provides visualization and analysis of costs, but does not enable volume pricing discounts across multiple accounts or produce a single consolidated bill.

B

AWS Budgets allows you to set custom cost and usage budgets and receive alerts when you exceed thresholds, but it does not provide consolidated billing or volume pricing discounts across multiple accounts.

D

AWS Trusted Advisor provides best practice recommendations for cost optimization, performance, security, and fault tolerance, but it does not enable volume pricing discounts or consolidated billing across multiple accounts.

When would these options actually be correct?

A

When a company needs to visualize, understand, and analyze their AWS costs and usage over time, such as identifying cost trends or breaking down costs by service or linked account.

B

A company wants to set a monthly cost budget for its AWS spending and receive notifications when costs exceed 80% of the budget. AWS Budgets would be the correct feature to implement.

D

A company wants to review cost optimization recommendations, such as identifying idle resources or reserved instance opportunities, across multiple AWS accounts to reduce spending.

Why candidates pick the wrong answer

A

Candidates may confuse Cost Explorer's cost analysis capabilities with the billing consolidation feature, thinking it can aggregate charges across accounts.

B

Candidates may confuse AWS Budgets with billing management features, thinking it can aggregate costs or provide discounts, when it is actually a cost monitoring and alerting tool.

D

Candidates may confuse Trusted Advisor's cost optimization checks with the ability to consolidate billing, or assume that a tool that gives cost advice also provides billing aggregation.

110
MCQmedium

A global e-commerce company stores product images and videos in an Amazon S3 bucket located in the us-west-2 Region. Customers worldwide report slow page load times. The company also wants to protect its website against common distributed denial-of-service (DDoS) attacks without incurring additional costs for a dedicated DDoS protection service. Which AWS service should the company use to meet both requirements?

A.Amazon S3 Transfer Acceleration
B.AWS Global Accelerator
C.Amazon CloudFront
D.AWS Shield Advanced
AnswerC

Amazon CloudFront caches content at edge locations globally, significantly reducing latency for users. It also includes AWS Shield Standard, which automatically protects against common DDoS attacks. This combination meets both the performance and security requirements without additional charges.

Why this answer

Amazon CloudFront is a content delivery network (CDN) that caches content at edge locations worldwide, reducing latency for global users. It also includes AWS Shield Standard at no additional cost, which provides always-on protection against common DDoS attacks (e.g., SYN floods, UDP reflection). This combination directly addresses both the slow page load times and the need for cost-effective DDoS protection.

Exam trap

The trap here is that candidates confuse AWS Global Accelerator with a CDN, but Global Accelerator does not cache content—it only optimizes network routing, so it cannot reduce latency for repeated requests to static assets like images and videos.

Why the other options are wrong

A

Amazon S3 Transfer Acceleration only speeds up uploads to S3, not content delivery to end users, and it does not provide DDoS protection.

B

AWS Global Accelerator improves latency by routing traffic over the AWS global network, but it does not provide DDoS protection beyond the default AWS Shield Standard. The question requires DDoS protection without additional cost, and CloudFront includes AWS Shield Standard at no extra cost, while Global Accelerator does not offer built-in DDoS mitigation.

D

AWS Shield Advanced is a paid service that provides enhanced DDoS protection, but the question explicitly requires no additional costs for a dedicated DDoS protection service. CloudFront includes AWS Shield Standard at no extra cost, meeting both requirements.

When would these options actually be correct?

A

A company needs to upload large files to S3 from geographically distributed locations and wants to minimize upload latency. The question would specify that the performance issue is with uploads, not downloads, and DDoS protection is not a requirement.

B

A company needs to improve performance for global users by directing traffic to the nearest healthy endpoint (e.g., an Application Load Balancer) and requires static IP addresses for whitelisting. Global Accelerator would be correct because it provides anycast static IPs and traffic optimization without needing edge caching.

D

A company needs advanced DDoS protection (e.g., against layer 7 attacks, real-time visibility, and cost protection) and is willing to pay a monthly fee. The question would specify 'requires enhanced DDoS protection and has budget for a dedicated service'.

Why candidates pick the wrong answer

A

Candidates may think 'acceleration' implies faster content delivery globally and overlook that it only accelerates uploads, not downloads, and lacks DDoS protection.

B

Candidates may confuse Global Accelerator's global network optimization with CloudFront's CDN capabilities, assuming both provide similar performance benefits, and overlook that Global Accelerator lacks integrated DDoS protection features.

D

Candidates may think Shield Advanced is the only DDoS protection option, overlooking that CloudFront includes basic DDoS protection (Shield Standard) at no extra cost, and also provides global content delivery to reduce latency.

111
MCQmedium

A company's application needs to process streaming data from IoT sensors in real time and store processed results in S3. Which AWS service is designed for ingesting and processing real-time streaming data?

A.Amazon SQS
B.Amazon Kinesis Data Streams
C.AWS Batch
D.Amazon EMR
AnswerB

Amazon Kinesis Data Streams is a massively scalable and durable real-time data streaming service designed to capture, store, and process data from hundreds of thousands of sources. It ingests IoT sensor data into shards, each offering 1 MB/s write and 2 MB/s read capacity, and retains records for 24 hours by default (up to 365 days) for replay. It integrates directly with Lambda, Kinesis Data Analytics, and Firehose, enabling real-time dashboards, alerts, and continuous transformation, making it the ideal choice for this use case.

Why this answer

Amazon Kinesis Data Streams is purpose-built for ingesting and processing real-time streaming data at scale. It can continuously capture gigabytes of data per second from hundreds of thousands of sources, such as IoT sensors, and integrate with downstream consumers like AWS Lambda or Kinesis Data Analytics for real-time processing before storing results in Amazon S3.

Exam trap

The trap here is that candidates often confuse Amazon SQS (a message queue) with a streaming service, but SQS does not support real-time ordered processing or high-throughput data ingestion from continuous streams like IoT sensors.

How to eliminate wrong answers

Option A is wrong because Amazon SQS is a message queue service designed for decoupling application components and asynchronous message delivery, not for real-time streaming data ingestion or ordered processing of continuous data streams. Option C is wrong because AWS Batch is a batch computing service for running large-scale batch jobs, not for real-time stream processing or continuous data ingestion. Option D is wrong because Amazon EMR is a big data platform for processing large datasets using frameworks like Apache Spark and Hadoop, typically in batch or near-real-time modes, but it is not a dedicated service for ingesting and processing real-time streaming data directly.

112
MCQmedium

A company operates its own data center with physical servers that are purchased outright every three years. The company is migrating its entire infrastructure to AWS. The CFO notes that the company will no longer need to make large upfront purchases of hardware and instead will pay monthly for the compute and storage resources used. Which cloud computing benefit does this scenario best illustrate?

A.High availability
B.Resource elasticity
C.Security compliance
D.Shifting capital expense to variable operational expense
AnswerD

In a traditional data center, purchasing physical servers requires significant capital expenditure (CapEx) that is depreciated over years, locking in fixed, sunk costs regardless of actual utilization. AWS's pay-as-you-go pricing converts this into operational expenditure (OpEx), where you only pay for the compute, storage, and bandwidth you actually consume, on an hourly or per-second basis. This shift improves cash flow because there is no large upfront investment and no need to forecast and overprovision for peak demand; you can scale up or down dynamically and align costs directly with business usage, which directly addresses the CFO's observation about moving from purchases to monthly payments.

Why this answer

This scenario illustrates the shift from capital expenditure (CapEx) to variable operational expenditure (OpEx). In the on-premises model, the company makes large upfront purchases of physical servers every three years, which is a capital expense. By migrating to AWS, the company pays only for the compute and storage resources it consumes on a monthly basis, converting that fixed, upfront cost into a variable operating cost that scales with usage.

Exam trap

The trap here is that candidates often confuse the financial benefit of shifting from CapEx to OpEx with the operational benefit of resource elasticity, but the question specifically focuses on the change in how costs are incurred (upfront vs. monthly usage-based).

Why the other options are wrong

A

High availability refers to systems remaining operational despite failures, not to the financial shift from upfront hardware purchases to monthly usage-based payments.

B

Resource elasticity refers to the ability to scale resources up or down based on demand, not the shift from upfront hardware purchases to pay-as-you-go pricing. The question focuses on the financial change from capital expenditure to operational expenditure.

C

The question focuses on the financial shift from upfront hardware purchases to monthly usage payments, which is about cost structure, not security compliance. Security compliance relates to meeting regulatory or industry standards, not payment models.

When would these options actually be correct?

A

A question describing a company that needs to ensure its applications remain accessible during an AWS Availability Zone outage, and the solution involves deploying across multiple AZs with auto-recovery, would make high availability the correct answer.

B

A company experiences unpredictable spikes in traffic and needs to automatically add or remove compute capacity to match demand without manual intervention. This scenario would illustrate resource elasticity.

C

A company migrating to AWS must adhere to GDPR and HIPAA regulations. The correct answer would be 'Security compliance' if the question asked which benefit allows the company to meet these regulatory requirements by leveraging AWS's built-in compliance certifications and controls.

Why candidates pick the wrong answer

A

Candidates may confuse the financial benefit of avoiding large upfront costs with the operational benefit of high availability, especially if they associate cloud migration with improved uptime.

B

Candidates may confuse the pay-as-you-go model with elasticity, as both involve paying only for what you use, but elasticity specifically addresses dynamic scaling rather than the financial shift from capital to operational expense.

C

Candidates may confuse the general benefits of cloud computing, thinking that security compliance is always a key advantage, but here the specific financial context makes it irrelevant.

113
MCQmedium

A company is migrating a business-critical workload to AWS. The company wants to ensure it has access to a dedicated Technical Account Manager (TAM) who will provide proactive guidance, architectural reviews, and operational support. Additionally, the company requires the Infrastructure Event Management (IEM) service to assist with the migration launch, and it wants the full set of AWS Trusted Advisor best practice checks across all categories (cost optimization, performance, security, fault tolerance, service limits). Which AWS Support plan should the company select?

A.AWS Basic Support
B.AWS Developer Support
C.AWS Business Support
D.AWS Enterprise Support
AnswerD

AWS Enterprise Support is the correct choice. It includes a dedicated Technical Account Manager (TAM) for proactive guidance, includes Infrastructure Event Management (IEM) for migration support, and provides full access to all AWS Trusted Advisor best practice checks. This plan meets all the specified requirements.

Why this answer

AWS Enterprise Support is the only plan that provides a dedicated Technical Account Manager (TAM) for proactive guidance, architectural reviews, and operational support. It also includes Infrastructure Event Management (IEM) for migration launches and full access to all AWS Trusted Advisor best practice checks across all categories, including cost optimization, performance, security, fault tolerance, and service limits. Lower-tier plans lack one or more of these critical features.

Exam trap

The trap here is that candidates may confuse AWS Business Support with Enterprise Support because both offer full Trusted Advisor checks and IEM, but only Enterprise Support includes a dedicated TAM, which is explicitly required in the question.

Why the other options are wrong

A

AWS Basic Support does not provide a dedicated Technical Account Manager (TAM), Infrastructure Event Management (IEM), or full Trusted Advisor checks across all categories. It only offers basic customer service and limited Trusted Advisor checks.

B

AWS Developer Support does not include a dedicated Technical Account Manager (TAM), Infrastructure Event Management (IEM), or full Trusted Advisor checks across all categories; it only provides general guidance and limited Trusted Advisor checks.

C

AWS Business Support does not include a dedicated Technical Account Manager (TAM) or Infrastructure Event Management (IEM) service, and it provides only core Trusted Advisor checks, not the full set across all categories.

When would these options actually be correct?

A

A company with minimal AWS usage that only needs access to documentation, whitepapers, and basic customer service for account and billing questions, with no requirement for technical support or proactive guidance.

B

A startup with a small development team needs access to AWS Support for general architectural guidance and best practices during business hours, without requiring a dedicated TAM or IEM. They want faster response times than Basic Support but do not need enterprise-level features.

C

A company needs 24/7 technical support via phone and chat, access to general architectural guidance, and core Trusted Advisor checks (service limits and security) for a production workload, but does not require a dedicated TAM or IEM.

Why candidates pick the wrong answer

A

Candidates may mistakenly believe Basic Support includes TAM and full Trusted Advisor because they assume all AWS plans offer comprehensive support, or they underestimate the support needs for a business-critical workload.

B

Candidates may mistakenly believe that Developer Support includes a TAM or full Trusted Advisor checks because the name suggests comprehensive developer assistance, but it actually lacks these enterprise-level features.

C

Candidates may think Business Support is sufficient for business-critical workloads because it offers faster response times and some architectural support, but they overlook the specific requirements for a dedicated TAM and full Trusted Advisor checks that only Enterprise Support provides.

114
MCQmedium

A company runs 200 Amazon EC2 instances for its web application. The finance team wants to identify instances that are over-provisioned or underutilized to reduce costs. The team needs automated recommendations that consider the instance's CPU, memory, and network utilization patterns over the past 14 days. Which AWS service should the team use?

A.AWS Compute Optimizer
B.AWS Trusted Advisor
C.AWS Cost Explorer
D.AWS Budgets
AnswerA

AWS Compute Optimizer uses machine learning to analyze EC2 instance utilization metrics (CPU, memory, network, and EBS) over a configurable lookback period, typically 14 days up to 93 days. It generates actionable rightsizing recommendations for each instance, identifying overprovisioned resource types and suggesting more cost-efficient alternatives. This is precisely what the company needs to reduce costs across its 200 instances.

Why this answer

AWS Compute Optimizer is the correct service because it uses machine learning to analyze historical utilization metrics (CPU, memory, network) over a specified lookback period (up to 93 days, but 14 days is supported) and generates actionable recommendations to right-size EC2 instances. It specifically identifies over-provisioned and underutilized instances, directly addressing the finance team's cost-reduction goal with automated, metric-driven insights.

Exam trap

The trap here is that candidates often choose AWS Trusted Advisor because it is a well-known cost optimization tool, but they overlook that it only checks CPU utilization and ignores memory and network metrics, which are explicitly required in the question.

Why the other options are wrong

B

AWS Trusted Advisor provides cost optimization checks, but it does not generate automated recommendations based on CPU, memory, and network utilization patterns over the past 14 days for individual EC2 instances. It offers general best practice checks, not instance-specific resource optimization.

C

AWS Cost Explorer provides historical cost data and usage trends but does not generate automated recommendations for right-sizing EC2 instances based on utilization patterns like CPU, memory, and network.

D

AWS Budgets allows you to set custom cost and usage budgets and receive alerts when thresholds are exceeded, but it does not provide automated recommendations for over-provisioned or underutilized EC2 instances based on utilization patterns.

When would these options actually be correct?

B

A company wants a high-level cost optimization check for its AWS account, including recommendations for idle resources, reserved instance usage, and underutilized Amazon EBS volumes, without needing detailed per-instance utilization metrics over a specific time window.

C

A company wants to visualize and analyze its AWS spending and usage over time, identify cost trends, and create custom reports to understand which services or accounts drive costs. Cost Explorer would be the correct service for this scenario.

D

A company wants to set a monthly cost limit for its EC2 usage and receive alerts when spending approaches or exceeds the budget. AWS Budgets would be the correct service to create cost budgets and trigger notifications.

Why candidates pick the wrong answer

B

Candidates may confuse Trusted Advisor's cost optimization category with Compute Optimizer's detailed resource optimization, as both provide cost-saving recommendations, but Trusted Advisor lacks the granular, utilization-based analysis for individual EC2 instances.

C

Candidates may think Cost Explorer can provide cost optimization recommendations because it offers cost and usage insights, but it lacks the specific right-sizing recommendations that Compute Optimizer provides.

D

Candidates may confuse AWS Budgets with a cost optimization tool, thinking it can analyze usage and provide recommendations, but its primary function is budget tracking and alerts, not resource optimization.

115
MCQmedium

A start-up is evaluating cloud providers for its new application. The company's CTO learns that the cloud provider negotiates bulk discounts with hardware vendors and data center operators, and passes these savings on to customers through lower service prices. The CTO also notes that the provider's vast infrastructure allows customers to benefit from the provider's operational expertise in running large-scale data centers. Which benefit of cloud computing does this scenario BEST represent?

A.Pay-as-you-go pricing
B.Resource pooling
C.Economies of scale
D.High availability
AnswerC

Economies of scale is the mechanism by which a cloud provider's massive procurement of hardware, bandwidth, and power lowers the average cost per unit of service. Because the provider operates at a scale far beyond any single startup, it can negotiate volume discounts and optimize data center efficiency, then pass these savings to customers through lower prices. This is precisely the trait the question highlights: the provider's large-scale operations reduce its own costs and thereby the customer's bill.

Why this answer

Economies of scale occur when a cloud provider achieves lower per-unit costs by operating at a massive scale. The provider purchases hardware in bulk, optimizes data center operations, and leverages expertise across many customers. These savings are then reflected in lower prices for all customers.

The scenario directly describes this benefit—lower prices from bulk purchasing and operational expertise passed on to the customer.

Why the other options are wrong

A

The scenario describes the provider passing on savings from bulk discounts and operational expertise, which is the definition of economies of scale, not a pricing model like pay-as-you-go.

D

High availability refers to systems that are resilient and remain operational during failures, not to cost savings from bulk discounts or operational expertise.

When would these options actually be correct?

A

A question asks: 'A company wants to avoid upfront costs and pay only for the compute resources it consumes. Which cloud benefit does this represent?'

D

A question describing a cloud provider's ability to maintain service uptime through redundant infrastructure across multiple data centers, ensuring minimal downtime even during failures.

Why candidates pick the wrong answer

A

Candidates may confuse the cost savings from economies of scale with the pay-as-you-go pricing model, as both relate to cost benefits.

D

Candidates may associate large-scale data centers with high availability, but the scenario focuses on cost and operational expertise, not uptime guarantees.

116
MCQmedium

A company runs a data analytics application on an Amazon EC2 instance. The application needs to read CSV files from an Amazon S3 bucket to process them. The security team requires that no long-term AWS credentials (access key ID and secret access key) be stored on the instance. The instance is already launched in a private subnet within a VPC. Which solution meets the security requirement and provides the necessary access?

A.Store the AWS access key ID and secret access key in a configuration file on the instance's local disk.
B.Create an IAM role with the required S3 read permissions. Attach the role to the EC2 instance profile.
C.Write a resource-based policy on the S3 bucket that allows access based on the private IP address of the EC2 instance.
D.Create a new IAM user with the required permissions. Store the IAM user's access key and secret key in AWS Systems Manager Parameter Store, and configure the application to retrieve them at runtime.
AnswerB

An IAM role is the recommended identity for an EC2 application because the instance assumes the role through its instance profile, and the AWS SDK retrieves temporary credentials from the EC2 instance metadata service (IMDS). These credentials are issued by AWS STS, are valid for a limited session, and are automatically rotated before expiry, so the application never handles a long-lived secret. Attaching the role to the instance profile and allowing the application to use the SDK's default credential chain gives the instance exactly the S3 read permissions scoped by the role's policy.

Why this answer

It uses an IAM role attached to an EC2 instance profile, which allows the application to obtain temporary AWS credentials via the instance metadata service (IMDS). This eliminates the need to store long-term access keys on the instance, satisfying the security requirement while granting the necessary S3 read permissions.

Exam trap

The trap here is that candidates may think storing credentials in a secure service like Systems Manager Parameter Store (Option D) is sufficient, but it still involves long-term IAM user keys, whereas the IAM role approach provides fully temporary credentials that are automatically rotated and never stored on the instance.

Why the other options are wrong

A

Storing long-term AWS credentials (access key ID and secret access key) on the instance violates the security requirement that no long-term credentials be stored on the instance.

C

S3 bucket policies cannot grant access based on EC2 instance private IP addresses because private IPs are not a supported condition key for S3 actions; they are not reliably associated with the instance in a way that S3 can evaluate.

D

The question explicitly requires that no long-term AWS credentials be stored on the instance. While Parameter Store avoids storing keys on the disk, the application still retrieves and uses long-term IAM user access keys at runtime, violating the security requirement.

When would these options actually be correct?

A

If the question explicitly allowed storing long-term credentials and required a simple, direct method to provide access without setting up IAM roles or instance profiles, storing credentials in a configuration file would be a straightforward solution.

C

If the question required granting cross-account access to an S3 bucket without using IAM roles, and the EC2 instance had a static public IP (Elastic IP) in a VPC with a VPC endpoint, a bucket policy with aws:SourceIp condition could be used, but only for public IPs, not private.

D

If the question required using temporary credentials but the instance cannot use an IAM role (e.g., the instance is not in EC2 or is in an on-premises environment), then storing access keys in Parameter Store and retrieving them at runtime would be a valid solution to avoid hardcoding credentials.

Why candidates pick the wrong answer

A

Candidates may be familiar with configuring applications using static credentials and overlook the security requirement against storing long-term credentials on the instance.

C

Candidates may think that IP-based access control is a simple way to restrict access without managing credentials, and they might overlook that S3 bucket policies support IP address conditions only for public IPs, not private IPs within a VPC.

D

Candidates may think that using Parameter Store eliminates the need to store credentials on the instance's local disk, but they overlook that the IAM user access keys are still long-term credentials that are retrieved and used by the application, which does not meet the 'no long-term credentials' requirement.

117
MCQeasy

Which AWS support plan is the minimum level required to access the full set of AWS Trusted Advisor checks?

A.Basic
B.Developer
C.Business
D.Enterprise
AnswerC

Business support is the minimum plan that unlocks the complete Trusted Advisor suite, covering all checks in cost optimization, performance, security, fault tolerance, and service limits. This tier is designed for production workloads and also includes 24/7 access to Cloud Support Engineers and full Trusted Advisor API access. Therefore, Business is the correct answer to the question asking for the minimum plan with full checks.

Why this answer

The Business support plan is the minimum level required to access the full set of AWS Trusted Advisor checks. While the Basic and Developer plans provide access to only a subset of seven core checks (such as service limits and security groups), the Business plan unlocks all Trusted Advisor checks, including cost optimization, performance, and fault tolerance checks. The Enterprise plan also provides full access but is not the minimum level required.

Exam trap

The trap here is that candidates often assume the Developer plan provides full Trusted Advisor access because it is the first paid support plan, but AWS deliberately restricts full checks to Business and above, testing your knowledge of the specific plan boundaries.

How to eliminate wrong answers

Option A is wrong because the Basic support plan only includes the seven core Trusted Advisor checks (service limits, security groups, etc.) and does not provide access to the full set of checks. Option B is wrong because the Developer support plan, like Basic, only includes the seven core Trusted Advisor checks and does not unlock the full set. Option D is wrong because the Enterprise support plan does provide full Trusted Advisor checks, but it is not the minimum level required; the Business plan is the minimum.

118
MCQmedium

A data analyst needs to run SQL queries directly against log files stored in Amazon S3 without loading the data into a database and without provisioning any servers. Which AWS service enables this?

A.Amazon RDS
B.Amazon Redshift
C.Amazon Athena
D.Amazon DynamoDB
AnswerC

Athena is a serverless service that queries data directly in S3 using standard SQL. No database loading or server provisioning is required — the analyst defines a schema over the S3 data and runs SQL immediately.

Why this answer

Amazon Athena is a serverless interactive query service that allows you to analyze data directly in Amazon S3 using standard SQL. It requires no infrastructure to manage and charges only for the data scanned per query, making it ideal for ad-hoc analysis of log files without loading data into a database.

Exam trap

The trap here is that candidates often confuse Amazon Athena with Amazon Redshift Spectrum, but the question explicitly states 'without provisioning any servers,' which eliminates Redshift because it requires a provisioned cluster even when using Spectrum.

How to eliminate wrong answers

Option A is wrong because Amazon RDS is a managed relational database service that requires provisioning database instances and loading data into them, not querying data directly from S3. Option B is wrong because Amazon Redshift is a petabyte-scale data warehouse that requires provisioning a cluster and loading data into it, and it does not natively support querying data directly from S3 without using features like Redshift Spectrum, which still requires a provisioned cluster. Option D is wrong because Amazon DynamoDB is a NoSQL key-value and document database that requires loading data into tables and does not support SQL queries against files in S3.

119
MCQmedium

A company is evaluating whether to use AWS Compute Savings Plans or EC2 Instance Savings Plans. Which statement correctly describes when EC2 Instance Savings Plans provide the highest discount?

A.When the workload spans multiple AWS Regions
B.When the workload uses a consistent instance family within a single Region
C.When the workload uses multiple instance families
D.When the workload runs on AWS Fargate
AnswerB

EC2 Instance Savings Plans provide the highest discount (up to 72% off On-Demand) when you commit to a consistent instance family (e.g., M5 or C5) in a single AWS Region for a 1- or 3-year term. Because the workload is predictable and locked to that family and region, you can trade flexibility for maximum savings, making this the optimal scenario for this plan type.

Why this answer

EC2 Instance Savings Plans offer the highest discount (up to 72% compared to On-Demand) because they require a commitment to a specific instance family within a single AWS Region. This allows AWS to optimize capacity planning and pass greater savings to the customer, whereas Compute Savings Plans are more flexible but provide lower discounts (up to 66%).

Exam trap

The trap here is that candidates often assume 'highest discount' always means 'most flexible,' but EC2 Instance Savings Plans trade flexibility for deeper savings, so the correct answer requires recognizing that commitment to a single instance family and Region yields the maximum discount.

How to eliminate wrong answers

Option A is wrong because EC2 Instance Savings Plans are Region-specific and cannot span multiple Regions; Compute Savings Plans can cover multiple Regions but with a lower discount. Option C is wrong because EC2 Instance Savings Plans lock you into a single instance family; if you use multiple instance families, you would need Compute Savings Plans or separate plans, which yield lower discounts. Option D is wrong because EC2 Instance Savings Plans do not apply to AWS Fargate; Fargate is only covered by Compute Savings Plans.

120
MCQmedium

A retail company runs a legacy application on a single on-premises server. The application experiences unpredictable traffic surges that degrade performance. The company is considering migrating to the AWS Cloud. Which cloud computing characteristic MOST directly addresses the ability to automatically adjust resources to meet changing demand without manual intervention?

A.Elasticity
B.Scalability
C.High availability
D.Durability
AnswerA

Elasticity in AWS is the ability to automatically scale compute resources up or down in response to real-time demand, without requiring manual intervention. For a legacy application running on a single on-premises server, elasticity would enable dynamic provisioning of additional instances during traffic surges and releasing them when demand drops. This directly solves the stated problem of handling spikes automatically, making it the correct answer. Services like Amazon EC2 Auto Scaling and AWS Application Auto Scaling operationalize this concept.

Why this answer

Elasticity is the cloud computing characteristic that enables automatic resource provisioning and de-provisioning to match demand in real time, without manual intervention. For the retail company's legacy application with unpredictable traffic surges, elasticity directly addresses the need to dynamically scale resources up during spikes and down during lulls, which is distinct from the planned, manual scaling of scalability.

Exam trap

The trap here is that candidates often confuse scalability with elasticity, but the question's emphasis on 'automatically adjust resources to meet changing demand without manual intervention' specifically tests the definition of elasticity, not the broader concept of scalability.

Why the other options are wrong

B

Scalability refers to the ability to increase or decrease resources to meet demand, but it often involves manual intervention or planned scaling. The question emphasizes automatic adjustment without manual intervention, which is the defining characteristic of elasticity.

C

High availability focuses on ensuring system uptime and fault tolerance through redundancy, not on automatically adjusting resources to match changing demand.

D

Durability refers to the ability to prevent data loss, typically through replication and backup, not to automatically adjusting resources to meet changing demand.

When would these options actually be correct?

B

A question asks: 'Which cloud characteristic allows a system to handle increased load by adding more servers during a planned marketing campaign?' In that scenario, scalability is correct because it focuses on the ability to scale up or down, not necessarily automatically.

C

A question asking which AWS characteristic ensures minimal downtime by deploying resources across multiple Availability Zones, such as 'A company needs to maintain application availability during an AZ failure. Which characteristic is most relevant?'

D

A question asking which cloud characteristic ensures data survives hardware failures without loss, e.g., 'A company stores critical financial records in S3. Which feature ensures data remains intact even if multiple storage devices fail?'

Why candidates pick the wrong answer

B

Candidates often confuse scalability with elasticity because both involve adjusting resources. They may not realize that elasticity specifically implies automatic, real-time scaling based on demand, while scalability can be manual or scheduled.

C

Candidates may confuse high availability with elasticity because both involve handling traffic variations, but high availability addresses failure recovery rather than dynamic scaling.

D

Candidates may confuse 'durability' with 'elasticity' because both involve handling changes, but durability is about data persistence, not resource scaling.

121
MCQeasy

Which AWS IAM object should be used to grant permissions to an AWS service (like EC2 or Lambda) to access other AWS services on behalf of the application?

A.IAM User with access keys
B.IAM Group
C.IAM Role
D.IAM Policy
AnswerC

An IAM Role is an identity that AWS services assume to receive short-term, limited-privilege credentials from AWS STS. For EC2, you assign an instance profile to the instance, which enables it to assume the role and access other services securely. Lambda uses an execution role defined at creation time. This eliminates the need for long-term access keys and is the secure, best-practice method for service-to-service access.

Why this answer

An IAM Role is the correct AWS identity to grant permissions to an AWS service (e.g., EC2, Lambda) because it provides temporary security credentials via AWS Security Token Service (STS). Unlike IAM Users, roles are designed to be assumed by trusted entities, including AWS services, enabling them to access other AWS resources on behalf of the application without long-lived access keys.

Exam trap

The trap here is that candidates often confuse IAM Policies with IAM Roles, thinking a policy alone can grant permissions to a service, but a policy is just a permission document and must be attached to an identity (like a Role) that the service can assume.

How to eliminate wrong answers

Option A is wrong because an IAM User with access keys is a long-lived identity intended for human users or programmatic access, not for granting permissions to an AWS service; using access keys for services like EC2 or Lambda would require embedding static credentials, which is a security anti-pattern. Option B is wrong because an IAM Group is a container for IAM Users and cannot be directly assigned to an AWS service; groups are used to manage permissions for multiple users, not for service-to-service access. Option D is wrong because an IAM Policy is a document that defines permissions (e.g., JSON policy statements) but is not an identity that can be assumed; a policy must be attached to an IAM User, Group, or Role to grant permissions, and only a Role can be assumed by an AWS service.

122
MCQmedium

A company is designing a highly available application on AWS. The architect plans to deploy application instances across multiple Availability Zones and implement health checks to automatically route traffic away from failed instances. These design decisions primarily contribute to which pillar of the AWS Well-Architected Framework?

A.Operational Excellence
B.Security
C.Reliability
D.Performance Efficiency
AnswerC

Correct. The Reliability pillar encompasses the ability of a workload to recover from infrastructure or service failures, dynamically acquire computing resources to meet demand, and mitigate disruptions. Deploying across multiple Availability Zones and using health checks with automatic failover are fundamental reliability techniques that ensure the application continues to operate when single components fail.

Why this answer

Deploying application instances across multiple Availability Zones and using health checks to route traffic away from failed instances directly increases the system's ability to recover from failures and remain operational. This aligns with the Reliability pillar of the AWS Well-Architected Framework, which focuses on ensuring a workload performs its intended function correctly and consistently when expected, including the ability to recover from infrastructure or service disruptions.

Exam trap

The trap here is that candidates may confuse 'health checks and multi-AZ deployments' with Operational Excellence or Performance Efficiency, but the primary Well-Architected pillar addressed by these specific design decisions is Reliability, as they directly improve fault tolerance and recovery.

Why the other options are wrong

A

Deploying across multiple Availability Zones and using health checks for automatic traffic routing directly improves fault tolerance and availability, which are core to the Reliability pillar, not Operational Excellence.

B

The question focuses on high availability, fault tolerance, and automatic recovery from failures, which are core aspects of the Reliability pillar. Security is not directly related to routing traffic away from failed instances or multi-AZ deployment.

D

Deploying across multiple Availability Zones and using health checks for automatic failover directly improves system resilience and uptime, which is a core concern of the Reliability pillar, not Performance Efficiency.

When would these options actually be correct?

A

If the question asked about automating deployment, monitoring, and incident response processes to improve operational efficiency and reduce human error, then Operational Excellence would be the correct pillar.

B

A question that asks about implementing encryption at rest, managing IAM roles, or configuring network ACLs to protect data would make Security the correct answer.

D

A question asking which pillar focuses on using resources efficiently to meet system requirements and maintain that efficiency as demand changes, such as selecting appropriate instance types or using auto scaling to handle variable load.

Why candidates pick the wrong answer

A

Candidates may confuse operational practices like health checks and automation with the Operational Excellence pillar, which focuses on running and managing workloads, rather than on fault tolerance and recovery.

B

Candidates may confuse health checks and automated traffic routing with security mechanisms like intrusion detection or access control, or they might think that any automated process relates to security hardening.

D

Candidates may confuse high availability and fault tolerance with performance optimization, or think that distributing traffic improves performance, but the primary goal here is reliability, not efficiency.

123
MCQmedium

A company wants to centralize backup management across multiple AWS services (EC2, RDS, EFS, DynamoDB) from a single place. Which AWS service provides centralized backup management with policy-based scheduling?

A.Amazon S3 Lifecycle policies
B.AWS Backup
C.AWS DataSync
D.Amazon EBS Snapshots
AnswerB

AWS Backup is a fully managed, centralized backup service that lets you define backup plans with policy-based scheduling, retention, and encryption across multiple supported AWS services, including EC2, RDS, DynamoDB, EFS, FSx, and Storage Gateway. It supports tagging-based resource assignment, cross-account and cross-region backup copies, and provides compliance reporting, auditing, and centralized restore monitoring. With these features, AWS Backup delivers unified backup governance that the other point tools lack.

Why this answer

AWS Backup is the correct service because it provides a fully managed, centralized backup solution that supports multiple AWS services including EC2, RDS, EFS, and DynamoDB. It allows you to define backup policies with schedule-based automation, retention rules, and lifecycle management from a single console, eliminating the need for custom scripts or per-service manual snapshots.

Exam trap

The trap here is that candidates often confuse AWS Backup with individual snapshot services (like EBS Snapshots) or data transfer tools (like DataSync), failing to recognize that AWS Backup is the only service that provides centralized, policy-based backup management across multiple AWS services.

How to eliminate wrong answers

Option A is wrong because Amazon S3 Lifecycle policies are used to manage object lifecycle transitions (e.g., moving data to S3 Glacier or deleting objects) and do not provide backup scheduling or support for EC2, RDS, EFS, or DynamoDB. Option C is wrong because AWS DataSync is a data transfer service for moving large datasets between on-premises storage and AWS (or between AWS services), not a backup management or policy-based scheduling tool. Option D is wrong because Amazon EBS Snapshots are a point-in-time backup mechanism for EBS volumes only, and they lack centralized policy-based scheduling across multiple AWS services like RDS, EFS, or DynamoDB.

124
MCQmedium

A company is launching a critical production application on AWS. The operations team requires technical support with a response time of less than 1 hour for urgent system issues. They also need access to AWS Trusted Advisor best practice checks for cost optimization and security. Which AWS Support plan meets these requirements at the lowest cost?

A.AWS Developer Support
B.AWS Business Support
C.AWS Enterprise On-Ramp Support
D.AWS Enterprise Support
AnswerB

The Business Support plan offers a 1-hour response for urgent (severity 1) cases and full access to Trusted Advisor best practice checks. This meets the requirements at the lowest cost among plans that satisfy these needs.

Why this answer

AWS Business Support provides a response time of less than 1 hour for urgent system issues (production system impaired) and includes full access to AWS Trusted Advisor best practice checks for cost optimization and security. This meets all stated requirements at the lowest cost among the plans that offer these features.

Exam trap

The trap here is that candidates may assume Enterprise On-Ramp or Enterprise Support are required for full Trusted Advisor checks, but Business Support already provides all checks and the 1-hour response time, making it the most cost-effective choice for these specific needs.

Why the other options are wrong

A

AWS Developer Support does not include a response time of less than 1 hour for urgent issues (it offers general guidance within 12-24 hours) and does not provide access to AWS Trusted Advisor best practice checks for cost optimization and security.

C

AWS Enterprise On-Ramp Support provides a 30-minute response time for critical issues, which is faster than the required 1 hour, but it is more expensive than Business Support and includes features not needed for this scenario, such as a Technical Account Manager.

D

AWS Enterprise Support includes a response time of less than 15 minutes for critical issues and full Trusted Advisor checks, but it is more expensive than Business Support. The question asks for the lowest cost plan meeting the requirements, so Enterprise Support is not the most cost-effective option.

When would these options actually be correct?

A

A company developing a non-production application that needs technical support during business hours with a response time of less than 12 hours for general guidance and does not require Trusted Advisor checks would find Developer Support sufficient and cost-effective.

C

A company needs a response time of less than 30 minutes for critical issues, requires access to AWS Trusted Advisor best practice checks, and wants a support plan that is less expensive than full Enterprise Support but offers more than Business Support.

D

This option would be correct if the question required a response time of less than 15 minutes for critical issues, access to a Technical Account Manager (TAM), and full Trusted Advisor checks, with cost not being a primary constraint.

Why candidates pick the wrong answer

A

Candidates may choose Developer Support because it is the cheapest option and they overlook the specific requirements for urgent response time and Trusted Advisor access, assuming basic support is enough.

C

Candidates may choose Enterprise On-Ramp because it offers faster response times than Business Support and includes Trusted Advisor, but they overlook that the question specifies a 1-hour response requirement, making the cheaper Business Support sufficient.

D

Candidates may assume that for a critical production application, only the highest-tier support (Enterprise) would suffice, overlooking that Business Support already meets the stated requirements at a lower cost.

125
MCQeasy

A solutions architect needs to isolate an application in its own virtual network within AWS, with full control over IP address ranges, subnet definitions, route tables, and internet gateway configuration. Which AWS service provides this capability?

A.Amazon Route 53
B.Amazon CloudFront
C.AWS Direct Connect
D.Amazon VPC
AnswerD

Amazon VPC is the AWS networking service that provides a logically isolated virtual network. Customers define IP CIDR blocks, create public and private subnets, configure route tables, and attach internet gateways to control traffic flow.

Why this answer

Amazon VPC (Virtual Private Cloud) enables you to provision a logically isolated section of the AWS cloud where you can define your own IP address range (using CIDR notation, e.g., 10.0.0.0/16), create subnets, configure route tables, and attach an Internet Gateway for public internet access. This gives you full control over the virtual networking environment, exactly matching the requirement.

Exam trap

The trap here is that candidates often confuse AWS Direct Connect (a physical or virtual private network connection) with the ability to create and control a virtual network, when Direct Connect merely extends an existing VPC and does not provide the foundational network isolation and control that VPC does.

How to eliminate wrong answers

Option A is wrong because Amazon Route 53 is a DNS (Domain Name System) web service that translates domain names to IP addresses, not a service for creating isolated virtual networks. Option B is wrong because Amazon CloudFront is a content delivery network (CDN) that caches and delivers content at edge locations, not a service for managing IP ranges, subnets, or route tables. Option C is wrong because AWS Direct Connect is a dedicated network connection from on-premises to AWS, which operates over an existing VPC or VPN, but it does not itself provide the capability to define IP ranges, subnets, or route tables.

126
MCQmedium

A company is assessing their on-premises environment before migrating to AWS. Which AWS service helps discover on-premises servers, profile their utilization, and create a business case for cloud migration?

A.AWS Migration Hub
B.AWS Application Discovery Service
C.AWS Database Migration Service
D.AWS Server Migration Service
AnswerB

AWS Application Discovery Service directly discovers on-premises servers by using agentless discovery via VMware connectors or agent-based software installed on each host. It captures server configuration, CPU/memory utilization, and network dependencies between applications, which are exactly the inputs needed to group servers into migration waves and build a business case. This makes it the correct service for the stated planning requirements.

Why this answer

AWS Application Discovery Service is designed to gather information about on-premises data centers, including server specifications, utilization metrics, and network dependencies. It provides this data to help build a detailed business case for migration, including cost projections and migration planning. This directly matches the requirement to discover servers, profile utilization, and create a business case.

Exam trap

The trap here is that candidates confuse AWS Migration Hub as the discovery tool, when in fact Migration Hub only aggregates and tracks data from other services like Application Discovery Service, but does not perform the discovery itself.

How to eliminate wrong answers

Option A is wrong because AWS Migration Hub is a central tracking service that monitors migration progress across multiple AWS and partner tools, but it does not perform the initial discovery or utilization profiling of on-premises servers. Option C is wrong because AWS Database Migration Service (DMS) is specifically for migrating databases to AWS, not for discovering or profiling on-premises servers or creating a general business case for cloud migration. Option D is wrong because AWS Server Migration Service (SMS) is used to replicate and migrate live on-premises virtual machines to AWS, but it does not perform discovery or utilization profiling, nor does it generate a business case.

127
MCQmedium

A company uses AWS Organizations. They want to ensure that member accounts cannot turn off CloudTrail or AWS Config in their accounts. What is the most effective way to enforce this?

A.Configure IAM policies in each account to deny these actions
B.Apply Service Control Policies (SCPs) at the organization level
C.Use AWS Config rules to detect and alert on violations
D.Enable MFA delete on all accounts
AnswerB

Applying SCPs at the organization root or OU level is the correct preventive control because SCPs act as a permission boundary across every member account, and an explicit deny in an SCP makes the action non-performable even for the account root user. This means an attacker who compromises an administrator or root user in a member account still cannot turn off CloudTrail or Config if those actions are denied by an SCP. SCPs themselves cannot grant permissions, but they reliably restrict the maximum allowed permissions, and only an admin in the management account can modify them.

Why this answer

Service Control Policies (SCPs) are the most effective way to enforce guardrails across all member accounts in AWS Organizations. SCPs can deny the ability to disable CloudTrail or AWS Config at the organization, organizational unit (OU), or account level, and they cannot be overridden by IAM policies in member accounts. This ensures that even account administrators cannot turn off these services, providing a centralized security control.

Exam trap

The trap here is that candidates often confuse IAM policies with SCPs, thinking that IAM policies in each account can enforce organization-wide controls, but they fail to recognize that SCPs are the only mechanism that can prevent account administrators from disabling security services.

How to eliminate wrong answers

Option A is wrong because IAM policies in each account can be overridden by the account administrator, who can modify or remove them, making this approach unreliable for enforcing a mandatory security baseline. Option C is wrong because AWS Config rules only detect and alert on violations after they occur; they do not prevent the action of disabling CloudTrail or AWS Config, so they are reactive rather than proactive. Option D is wrong because MFA delete is a feature for Amazon S3 versioning to require multi-factor authentication for deleting object versions, and it has no relevance to controlling CloudTrail or AWS Config settings.

128
MCQmedium

A company's development team has written a Python web application using the Flask framework. The team wants to deploy the application to the AWS Cloud without managing the underlying servers, operating system, or web server software. They want AWS to automatically handle the deployment, from provisioning EC2 instances to configuring the web server and load balancer, and to scale the application based on traffic. They also want the ability to upload new code versions directly from their Git repository. Which AWS service should the team use?

A.AWS Elastic Beanstalk
B.AWS CloudFormation
C.Amazon EC2 Auto Scaling
D.AWS CodeDeploy
AnswerA

AWS Elastic Beanstalk is correct because it is a PaaS service that automatically provisions the underlying infrastructure (EC2 instances, load balancer, scaling policies), deploys the application, manages the web server, and supports Git-based deployment workflows.

Why this answer

AWS Elastic Beanstalk is the correct choice because it is a Platform as a Service (PaaS) offering that automatically handles the deployment, capacity provisioning, load balancing, and auto-scaling of web applications. The team can upload code directly from a Git repository using the EB CLI or integrated CodePipeline, and Elastic Beanstalk manages the underlying EC2 instances, operating system, and web server (e.g., Apache or Nginx) without requiring manual intervention.

Exam trap

The trap here is that candidates often confuse AWS Elastic Beanstalk with AWS CloudFormation, assuming both are 'automation' services, but CloudFormation requires explicit resource definitions and does not automatically configure the web server or deploy application code.

Why the other options are wrong

B

AWS CloudFormation is an Infrastructure as Code service for provisioning and managing AWS resources, but it does not automatically handle application deployment, web server configuration, or scaling based on traffic. The team would need to manually define and manage all resources, including EC2 instances, load balancers, and scaling policies.

C

Amazon EC2 Auto Scaling only manages scaling EC2 instances based on demand; it does not handle deployment, provisioning, web server configuration, or load balancer setup, nor does it integrate with Git for code uploads.

D

AWS CodeDeploy automates code deployment to existing compute instances, but does not provision servers, configure web servers, or manage scaling. The question requires a fully managed platform that handles provisioning, configuration, and scaling automatically, which is beyond CodeDeploy's scope.

When would these options actually be correct?

B

A company needs to deploy a multi-tier application with strict compliance requirements, where they must define and version-control every infrastructure resource (e.g., VPC, subnets, security groups) and manage dependencies between them. They want to use a template to provision the entire stack consistently across environments.

C

A company has an existing application running on EC2 instances behind a load balancer and needs to automatically adjust the number of instances based on CPU utilization or a schedule, without managing deployment or environment setup.

D

A company already has EC2 instances managed by an Auto Scaling group and wants to automate the deployment of new application versions from a Git repository to those instances with minimal downtime. CodeDeploy would be the correct choice for the deployment automation step.

Why candidates pick the wrong answer

B

Candidates may confuse CloudFormation's ability to provision resources with Elastic Beanstalk's managed platform, thinking that CloudFormation can also handle the application deployment and scaling automatically, but it requires manual configuration for those tasks.

C

Candidates may think Auto Scaling covers the full deployment and management needs because it automates scaling, but they overlook that it does not provision or configure the application environment.

D

Candidates may confuse CodeDeploy's deployment automation with the broader platform management capabilities of Elastic Beanstalk, especially since both can integrate with Git repositories for code uploads.

129
MCQmedium

A multi-national company needs to ensure their AWS resources in Europe comply with GDPR by keeping all data within EU regions. Which approach ensures data remains in Europe?

A.AWS automatically keeps EU customer data in EU regions without any configuration
B.Deploy resources only in EU AWS Regions and use SCPs to prevent deployment outside EU
C.Enable CloudTrail in all regions to monitor data movement
D.GDPR compliance requires using only AWS GovCloud Regions
AnswerB

Deploying workloads exclusively in EU Regions keeps data at rest and in transit within the EU, because AWS services do not automatically replicate data across Regions unless a feature like cross-Region replication is explicitly enabled. To enforce this at scale, you can attach service control policies (SCPs) to all accounts in an AWS Organization that use the aws:RequestedRegion condition key to deny any Create, Update, or Run action where the Region is outside an approved EU list. This combination of placement and preventive guardrails directly addresses GDPR data-residency requirements.

Why this answer

Deploying resources only in EU AWS Regions (such as eu-west-1, eu-central-1) combined with Service Control Policies (SCPs) that explicitly deny actions outside those regions ensures data residency. SCPs are organization-level policies in AWS Organizations that can restrict member accounts from launching resources in non-EU regions, providing a preventive control to enforce GDPR data localization requirements.

Exam trap

The trap here is that candidates may confuse detective controls (like CloudTrail or Config) with preventive controls (like SCPs or IAM policies), or mistakenly believe AWS automatically enforces data residency without customer configuration.

How to eliminate wrong answers

Option A is wrong because AWS does not automatically keep EU customer data in EU regions; customers must explicitly choose EU regions for resource deployment, and AWS offers global services (e.g., IAM, Route 53) that may process metadata outside the EU. Option C is wrong because CloudTrail is a detective control that logs API activity but does not prevent data from leaving EU regions; it only provides visibility after the fact. Option D is wrong because AWS GovCloud Regions are designed for US government workloads and compliance (e.g., ITAR, FedRAMP), not for GDPR compliance in Europe, and they are located in the US.

130
MCQmedium

A company is migrating its legacy Java web application to AWS. The application consists of a stateless web tier that receives HTTP traffic. The company wants to minimize operational overhead. The development team wants to simply upload a WAR file and have AWS automatically handle the deployment, capacity provisioning, load balancing, and auto-scaling based on traffic. The team does not want to manage the underlying EC2 instances or configure the load balancer manually. Which AWS service should the company use?

A.Amazon EC2 Auto Scaling
B.AWS Elastic Beanstalk
C.AWS OpsWorks
D.Amazon Lightsail
AnswerB

AWS Elastic Beanstalk is a fully managed service that automatically handles the deployment, capacity provisioning, load balancing, and auto-scaling of applications. Simply upload your WAR file and Elastic Beanstalk manages the underlying infrastructure, making it the ideal choice for this scenario.

Why this answer

AWS Elastic Beanstalk is the correct choice because it provides a Platform as a Service (PaaS) offering that automatically handles deployment, capacity provisioning, load balancing, and auto-scaling for Java web applications. The team can simply upload a WAR file, and Elastic Beanstalk manages the underlying EC2 instances and Application Load Balancer (ALB) without requiring manual configuration. This directly meets the requirement to minimize operational overhead while supporting stateless web tiers.

Exam trap

The trap here is that candidates often confuse EC2 Auto Scaling (Option A) as a complete solution for deployment and load balancing, but it only handles scaling and requires separate manual setup for the load balancer and application deployment, which does not satisfy the 'simply upload a WAR file' requirement.

Why the other options are wrong

A

Amazon EC2 Auto Scaling only handles scaling of EC2 instances based on demand, but does not automate deployment of the WAR file, load balancer configuration, or capacity provisioning. The company wants a fully managed platform that handles the entire lifecycle, not just auto-scaling.

C

AWS OpsWorks requires manual configuration of layers, instances, and load balancers via Chef/Puppet recipes, which contradicts the requirement to simply upload a WAR file and have AWS automatically handle deployment, capacity provisioning, load balancing, and auto-scaling without managing EC2 instances or load balancers.

D

Amazon Lightsail provides pre-configured virtual private servers but does not automatically handle WAR file deployment, capacity provisioning, load balancing, or auto-scaling based on traffic; these require manual setup or additional services.

When would these options actually be correct?

A

An exam scenario where the company already has EC2 instances configured with a load balancer and just needs to automatically adjust the number of instances based on traffic metrics (e.g., CPU utilization). The question would specify that deployment and load balancer setup are already handled separately.

C

A company uses Chef or Puppet for configuration management and wants to automate application deployment and infrastructure management across multiple environments (e.g., staging, production) with custom recipes. OpsWorks would be correct when the team needs fine-grained control over the stack and is willing to manage EC2 instances and load balancers via code.

D

A company needs a simple, low-cost virtual private server for a small web application or development/test environment, with predictable pricing and minimal configuration, and does not require advanced auto-scaling or load balancing features.

Why candidates pick the wrong answer

A

Candidates may think EC2 Auto Scaling is the answer because it is a core AWS service for scaling, but they overlook that the question requires a platform that also handles deployment and load balancing automatically without manual EC2 management.

C

Candidates may confuse OpsWorks with Elastic Beanstalk because both are AWS orchestration services that can deploy applications, but OpsWorks requires more manual configuration and does not offer the same level of automation for simply uploading a WAR file.

D

Candidates may confuse Lightsail's simplicity and managed nature with the full PaaS capabilities of Elastic Beanstalk, overlooking that Lightsail lacks built-in auto-scaling and automated deployment for WAR files.

131
MCQmedium

A company runs a diverse workload on AWS that includes Amazon EC2 instances of various families and sizes across multiple regions, Amazon RDS databases, and a serverless application using AWS Lambda and AWS Fargate. The finance team wants to reduce compute costs by making a 1-year hourly spend commitment, but they need the flexibility to change instance families, sizes, regions, or switch between EC2, Fargate, and Lambda without losing the discount. Which AWS pricing model should the finance team choose to meet these requirements?

A.Compute Savings Plan
B.Reserved Instances (Standard)
C.Reserved Instances (Convertible)
D.On-Demand
AnswerA

Correct. Compute Savings Plans apply to any EC2 instance (any family, size, region), AWS Fargate, and AWS Lambda. They provide significant discounts in exchange for a consistent hourly spend commitment and offer the maximum flexibility to change instance attributes or move between compute services.

Why this answer

A Compute Savings Plan is the correct choice because it offers a 1-year hourly spend commitment with the flexibility to change instance families, sizes, regions, and even switch between EC2, Fargate, and Lambda while still receiving the discount. This plan applies to any compute usage across these services, automatically adjusting the discount to the most cost-effective instance type or compute option, meeting the finance team's need for both cost reduction and operational flexibility.

Exam trap

The trap here is that candidates often confuse Convertible Reserved Instances with Compute Savings Plans, assuming the ability to change instance families is sufficient, but they overlook that Convertible RIs do not cover Fargate or Lambda, which is a key requirement in this question.

Why the other options are wrong

B

Reserved Instances (Standard) require a 1-year or 3-year commitment to a specific instance family, size, and region, and do not apply to Lambda or Fargate, so they lack the flexibility to change instance families, sizes, regions, or compute services.

C

Convertible Reserved Instances allow changing instance families and sizes but do not cover AWS Lambda or Fargate, and they cannot change regions. The question requires flexibility across EC2, Fargate, and Lambda, which only Compute Savings Plan provides.

D

On-Demand pricing offers no discount and no commitment, so it cannot meet the requirement to reduce costs by making a 1-year hourly spend commitment.

When would these options actually be correct?

B

A company runs a stable workload of EC2 instances of the same family and size in a single region, expects no changes, and wants the highest possible discount (up to 72%) for a 1-year commitment.

C

A company needs to commit to a 1-year term for EC2 instances but expects to change instance families or sizes within the same region. Convertible Reserved Instances offer flexibility to modify attributes like instance family and OS while still receiving a discount over On-Demand.

D

A company needs maximum flexibility with no upfront commitment and unpredictable workloads that cannot tolerate any discount-related constraints, such as a startup running variable workloads that may change at any time.

Why candidates pick the wrong answer

B

Candidates may confuse Reserved Instances with Savings Plans, thinking both offer similar discounts, but overlook the strict flexibility limitations of Standard RIs.

C

Candidates may think 'Convertible' implies full flexibility, but they overlook that it does not cover serverless services like Lambda or Fargate, and region changes are not allowed.

D

Candidates may think On-Demand is the most flexible option, overlooking that the question explicitly requires a 1-year commitment to reduce costs.

132
MCQmedium

A company manages multiple AWS accounts using AWS Organizations and maintains hundreds of Amazon S3 buckets across these accounts. The security team wants a service that automatically scans all S3 bucket policies and identifies any bucket that grants access to an external AWS account (an account outside the organization). The team needs to receive findings when such policies are detected and wants to review the findings in a centralized dashboard. Which AWS service should the security team use to meet these requirements?

A.AWS Trusted Advisor
B.AWS IAM Access Analyzer
C.AWS Config
D.AWS Service Catalog
AnswerB

IAM Access Analyzer analyzes resource-based policies across supported resources (including S3 buckets) and identifies when access is granted to an external entity, such as an AWS account outside the organization. It provides a centralized console to review findings and can send alerts via AWS Security Hub or Amazon EventBridge. This directly meets the requirement to automatically detect buckets accessible to external accounts.

Why this answer

AWS IAM Access Analyzer helps identify resources shared with external principals by analyzing resource-based policies (such as S3 bucket policies). It can be configured to use a trusted zone (e.g., the AWS Organizations management account or a specific OU) so that any policy granting access to an AWS account outside that zone generates a finding. These findings are aggregated in the IAM Access Analyzer console, providing a centralized dashboard for review.

Exam trap

The trap here is that candidates often confuse AWS Config's ability to monitor resource changes with the specific need to analyze policy content for external access, but Config requires custom Lambda rules or conformance packs to replicate what IAM Access Analyzer does natively.

Why the other options are wrong

A

AWS Trusted Advisor checks S3 bucket permissions for public access, but it does not specifically scan for access granted to external AWS accounts outside the organization. It also lacks a centralized dashboard for cross-account findings.

C

AWS Config evaluates resource compliance against rules but does not automatically scan S3 bucket policies for access from external AWS accounts or provide a centralized dashboard for such findings.

D

AWS Service Catalog is used to create and manage IT service catalogs of approved AWS resources, not for analyzing S3 bucket policies for external access. It does not provide automated scanning or centralized findings for cross-account access.

When would these options actually be correct?

A

A company wants to review AWS account best practices, including S3 bucket public access checks, cost optimization, and service limits, all in one place. The security team needs a high-level overview of account health and recommendations.

C

A company needs to continuously monitor S3 buckets for compliance with internal policies (e.g., requiring encryption or logging) and receive alerts when a bucket becomes non-compliant, with a centralized view of compliance status across accounts.

D

A company wants to standardize the creation of S3 buckets across multiple accounts by providing pre-approved bucket configurations (e.g., with specific encryption settings) that users can launch via a self-service portal. AWS Service Catalog would be the correct service to manage and deploy these standardized products.

Why candidates pick the wrong answer

A

Candidates may confuse Trusted Advisor's S3 bucket public access check with the requirement to detect external account access, or they may think Trusted Advisor provides a centralized dashboard for security findings.

C

Candidates may confuse AWS Config's ability to evaluate resource configurations with IAM Access Analyzer's purpose of analyzing resource-based policies for external access, especially since both can involve S3 buckets and compliance checks.

D

Candidates may confuse Service Catalog with a governance or compliance tool because it involves managing resources across accounts, but its purpose is provisioning and governance of approved templates, not security auditing.

133
MCQmedium

A company runs a globally distributed web application on Amazon EC2 instances behind Network Load Balancers in two AWS Regions: us-east-1 and eu-west-1. Users around the world access the application over the internet. The company wants to improve latency for all users by directing each user to the nearest healthy application endpoint. Additionally, the company requires two static IP addresses that clients can use for firewall whitelisting and that do not change even if the underlying infrastructure changes. Which AWS service should the company use?

A.Amazon CloudFront
B.AWS Global Accelerator
C.Amazon Route 53 latency-based routing
D.AWS Direct Connect
AnswerB

AWS Global Accelerator improves application performance by directing user traffic to the nearest healthy endpoint using the AWS global network. It provides two static anycast IP addresses that act as a fixed entry point, so clients can whitelist these IPs without worrying about changes. It supports TCP and UDP traffic and can route to endpoints in multiple Regions, making it an ideal choice for this use case.

Why this answer

AWS Global Accelerator is the correct choice because it provides two static anycast IP addresses that serve as fixed entry points, and it directs user traffic to the nearest healthy application endpoint via the AWS global network, reducing latency. Unlike CloudFront, it does not cache content but optimizes TCP/UDP traffic, making it ideal for non-HTTP or dynamic applications behind Network Load Balancers.

Exam trap

The trap here is that candidates often confuse latency-based routing (DNS) with Global Accelerator, not realizing that DNS caching can prevent immediate failover and that Global Accelerator provides fixed anycast IPs, not just DNS resolution.

Why the other options are wrong

A

Amazon CloudFront does not provide static IP addresses; it uses a dynamic set of IP addresses that can change. Additionally, CloudFront is a CDN optimized for caching static and dynamic content, not for TCP/UDP traffic or providing fixed IPs for firewall whitelisting.

C

Amazon Route 53 latency-based routing directs users based on latency measurements but does not provide static IP addresses; the IP addresses of the underlying EC2 instances or load balancers can change, and Route 53 itself does not offer anycast static IPs.

When would these options actually be correct?

A

A company wants to deliver static and dynamic web content with low latency and high transfer speeds, using edge locations for caching, and does not require static IP addresses for whitelisting. For example, a media streaming service that needs to cache video content at edge locations.

C

A company wants to route users to the lowest-latency endpoint without requiring static IP addresses for firewall whitelisting, and the application can tolerate DNS caching delays. For example, a web application using ALBs where clients do not need fixed IPs.

Why candidates pick the wrong answer

A

Candidates may think CloudFront can improve latency globally and might assume it offers static IPs, confusing its edge locations with Global Accelerator's anycast IPs.

C

Candidates may think latency-based routing directly improves latency and assume it can provide static IPs via Route 53 alias records, but they overlook that Global Accelerator offers both latency optimization and static anycast IPs.

134
MCQeasy

A company wants to automatically detect and label objects in photos uploaded by users — such as identifying if a photo contains a person, a car, or an outdoor scene — without building their own machine learning model. Which AWS service provides this pre-built computer vision capability?

A.Amazon SageMaker
B.Amazon Comprehend
C.Amazon Rekognition
D.Amazon Polly
AnswerC

Amazon Rekognition is a fully managed computer vision service that provides pre-trained models via a simple API. It can automatically detect objects, scenes, people, faces, and text in images and videos without requiring any custom training or infrastructure. This directly matches the requirement of 'pretrained' object and scene detection, making it the correct choice.

Why this answer

Amazon Rekognition is the correct choice because it is a fully managed, pre-trained computer vision service that can automatically detect and label objects, scenes, and faces in images without requiring any custom machine learning model development. It provides APIs for image analysis, including object and scene detection, which directly matches the requirement to identify if a photo contains a person, car, or outdoor scene.

Exam trap

The trap here is that candidates often confuse Amazon Rekognition with Amazon SageMaker, assuming SageMaker is the go-to for all AI/ML tasks, but SageMaker requires custom model building, whereas Rekognition provides pre-built computer vision capabilities out of the box.

How to eliminate wrong answers

Option A is wrong because Amazon SageMaker is a machine learning platform for building, training, and deploying custom models, not a pre-built computer vision service; it would require the company to develop their own model. Option B is wrong because Amazon Comprehend is a natural language processing (NLP) service for analyzing text, not images, so it cannot detect objects in photos. Option D is wrong because Amazon Polly is a text-to-speech service that converts text into lifelike speech, and it has no capability for image analysis or object detection.

135
MCQmedium

A media processing company runs multiple Amazon EC2 instances in different Availability Zones. All instances need to read and write to a shared file system simultaneously. The file system must be fully managed, automatically replicated across multiple Availability Zones for durability, and accessible by all instances using standard file access protocols. The company does not want to provision or manage any file servers. Which AWS service should the company use to meet these requirements?

A.Amazon S3
B.Amazon EBS Multi-Attach
C.Amazon EFS
D.Amazon FSx for Windows File Server
AnswerC

Correct. Amazon EFS provides a fully managed, elastic NFS file system that can be mounted on multiple EC2 instances across different Availability Zones simultaneously. It automatically replicates data across zones within a region for durability and is ideal for shared file storage.

Why this answer

Amazon EFS (Elastic File System) is a fully managed, scalable NFS file system that can be mounted concurrently by multiple EC2 instances across different Availability Zones. It automatically replicates data across multiple AZs for durability and uses standard NFSv4.1 and NFSv4.0 protocols, meeting all requirements without any server provisioning or management.

Exam trap

The trap here is that candidates often confuse Amazon EBS Multi-Attach (Option B) as a solution for shared storage across AZs, but it is strictly limited to a single AZ and requires Nitro-based instances, making it unsuitable for multi-AZ access.

Why the other options are wrong

A

Amazon S3 is an object storage service, not a shared file system. It does not support standard file access protocols like NFS or SMB, and it cannot be mounted as a file system by EC2 instances for simultaneous read/write access.

B

Amazon EBS Multi-Attach allows attaching a single EBS volume to multiple EC2 instances, but it is limited to a single Availability Zone and does not provide automatic replication across multiple AZs or a shared file system with standard file access protocols.

D

Amazon FSx for Windows File Server is not fully managed in terms of automatic replication across multiple Availability Zones; it requires manual configuration for multi-AZ deployment and does not natively support automatic replication across AZs for durability as required.

When would these options actually be correct?

A

A company needs to store and retrieve any amount of data from anywhere (e.g., web applications, data lakes, backups) with high durability and scalability, and does not require a file system interface. The data is accessed via HTTP/HTTPS APIs, not standard file protocols.

B

An exam question requiring a block-level storage volume that can be attached to multiple EC2 instances in the same Availability Zone for high availability, where the instances need low-latency access to shared data and the volume is provisioned and managed by the user.

D

A company needs a fully managed Windows-based file system that supports SMB protocol and integrates with Active Directory, and they are willing to configure multi-AZ deployment manually. For example, a Windows application requiring shared file storage with Windows-native features.

Why candidates pick the wrong answer

A

Candidates may confuse S3's high durability and availability with file system capabilities, or think that S3's object storage can be used as a shared file system via third-party tools, but the question explicitly requires standard file access protocols and a fully managed file system.

B

Candidates may confuse 'shared file system' with 'shared block storage' and think Multi-Attach provides similar functionality, overlooking the multi-AZ replication and managed file system requirements.

D

Candidates may confuse FSx for Windows File Server with a fully managed file system that supports multi-AZ, but they overlook that EFS is the only option that provides automatic replication across AZs without manual setup.

136
MCQmedium

A security team needs to analyze VPC network traffic to detect anomalies and investigate security incidents. Which AWS service captures and stores network flow data for VPCs?

A.AWS CloudTrail
B.VPC Flow Logs
C.Amazon Inspector
D.Amazon GuardDuty
AnswerB

VPC Flow Logs capture detailed metadata about the network traffic flowing through your VPC, including source and destination IP addresses, ports, protocol, packet and byte counts, and whether the traffic was accepted or rejected. Because this information is collected for every network interface, it provides the raw data needed for forensics, traffic analysis, and detecting anomalous behavior. Therefore, VPC Flow Logs is the service that directly captures and stores the flow data described in the question.

Why this answer

VPC Flow Logs capture IP traffic information for network interfaces within a VPC, including metadata such as source/destination IPs, ports, protocols, and packet accept/reject decisions. This data is stored in Amazon CloudWatch Logs or Amazon S3, enabling security teams to analyze traffic patterns, detect anomalies, and investigate incidents. AWS CloudTrail, Amazon Inspector, and Amazon GuardDuty serve different purposes—auditing API calls, assessing vulnerabilities, and threat detection, respectively—but do not directly capture raw network flow data.

Exam trap

The trap here is that candidates confuse VPC Flow Logs (network traffic metadata) with AWS CloudTrail (API activity logs), often selecting CloudTrail because both involve logging, but CloudTrail does not capture network-level flow data.

How to eliminate wrong answers

Option A is wrong because AWS CloudTrail records API activity and user actions within AWS, not network traffic flow data; it captures who did what and when, not the IP packets traversing VPCs. Option C is wrong because Amazon Inspector is a vulnerability management service that scans workloads for software vulnerabilities and unintended network exposure, but it does not capture or store ongoing network flow logs. Option D is wrong because Amazon GuardDuty is a threat detection service that analyzes VPC Flow Logs, DNS logs, and CloudTrail events to identify malicious activity, but it does not itself capture or store the raw flow data—it consumes it from VPC Flow Logs.

137
MCQmedium

A company must maintain audit records of all user actions and configuration changes across their AWS accounts. Which AWS service should they enable to capture this information?

A.Amazon CloudWatch Logs
B.AWS Config
C.AWS CloudTrail
D.VPC Flow Logs
AnswerC

AWS CloudTrail is the service designed to record every AWS API call made by a user, role, or AWS service, capturing essential audit data such as the caller's identity, the source IP address, the request parameters, and the response elements. These events form a complete audit trail that can be used for security analysis, operational troubleshooting, and governance, and they can be delivered to an S3 bucket or CloudWatch Logs for long-term storage and monitoring. This makes CloudTrail the definitive answer for tracking user activity and API usage across all AWS accounts.

Why this answer

AWS CloudTrail is the correct service because it records API activity and user actions across AWS accounts, providing a complete audit trail of all management and data plane operations. This includes who made changes, what actions were performed, and when they occurred, which is essential for maintaining audit records of user actions and configuration changes.

Exam trap

The trap here is that candidates confuse AWS Config's resource configuration tracking with CloudTrail's API activity logging, but Config records the 'what' (resource state) while CloudTrail records the 'who, what, when, and how' (API calls and user identity).

How to eliminate wrong answers

Option A is wrong because Amazon CloudWatch Logs is designed for monitoring, storing, and accessing log files from applications and AWS services, but it does not natively capture API-level user actions or configuration changes; it requires logs to be sent to it from other sources. Option B is wrong because AWS Config focuses on evaluating and recording resource configuration changes and compliance against rules, but it does not capture user identity or API call details—it records the state of resources, not the actions that changed them. Option D is wrong because VPC Flow Logs capture IP traffic metadata (source/destination IP, ports, protocol) for network interfaces, not user actions or configuration changes; they are used for network analysis and security, not audit trails of user activity.

138
MCQmedium

Which AWS service provides quantum computing hardware as a cloud service, enabling researchers to run algorithms on actual quantum processors?

A.AWS Inferentia
B.Amazon Braket
C.AWS Wavelength
D.Amazon EC2 High Performance Computing
AnswerB

Amazon Braket is a fully managed quantum computing service that gives researchers and developers access to a variety of quantum processors from multiple hardware providers, such as IonQ, Rigetti, and D-Wave, along with high-performance simulators. It enables you to design, test, and run quantum algorithms in a single environment without needing to own or maintain quantum hardware. Because it supports both gate-based and annealing quantum computers, Braket is the appropriate AWS service for the quantum algorithm research described in the question.

Why this answer

Amazon Braket is the correct answer because it is a fully managed AWS service that provides access to quantum computing hardware from multiple providers, including IonQ, Rigetti, and D-Wave, in a single environment. It allows researchers to design, test, and run quantum algorithms on actual quantum processors without managing the underlying infrastructure, making it the only option that directly offers quantum computing as a cloud service.

Exam trap

The trap here is that candidates often confuse 'quantum computing' with 'high-performance computing' (HPC) and select Amazon EC2 HPC, not realizing that quantum processors require specialized hardware and a dedicated service like Braket, not traditional CPU/GPU clusters.

How to eliminate wrong answers

Option A is wrong because AWS Inferentia is a custom machine learning inference chip designed to accelerate deep learning models, not quantum computing hardware. Option C is wrong because AWS Wavelength is a service that embeds AWS compute and storage at the edge of 5G networks for ultra-low-latency applications, not quantum processing. Option D is wrong because Amazon EC2 High Performance Computing (HPC) provides traditional CPU/GPU-based compute clusters for parallel workloads, but it does not offer access to quantum processors or quantum algorithms.

139
MCQmedium

The AWS Well-Architected Framework's Reliability pillar recommends automatically recovering from failure. Which AWS feature directly enables automated recovery when an EC2 instance status check fails?

A.EC2 Auto Scaling
B.Amazon EC2 Auto Recovery
C.Elastic Load Balancing health checks
D.AWS Systems Manager Patch Manager
AnswerB

Amazon EC2 Auto Recovery uses a CloudWatch alarm based on EC2 status checks (system status) to automatically restart the failed instance on new hardware, preserving its private and public IP addresses, instance ID, and attached EBS volumes. It does not replace the instance; it restores the exact same instance to a healthy state, making it the correct choice for recovering from underlying host failure.

Why this answer

Amazon EC2 Auto Recovery is a feature that automatically recovers an impaired EC2 instance by restarting it on a new healthy host when a system status check fails. This directly aligns with the Reliability pillar's recommendation to automatically recover from failure without manual intervention.

Exam trap

The trap here is that candidates confuse EC2 Auto Recovery with EC2 Auto Scaling, assuming that Auto Scaling's health check replacement is the same as recovering the same instance, but Auto Recovery preserves the instance identity while Auto Scaling terminates and creates a new one.

How to eliminate wrong answers

Option A is wrong because EC2 Auto Scaling replaces instances based on scaling policies or health checks from load balancers, but it does not directly recover the same instance when a status check fails; it terminates and launches a new instance, which is a different mechanism. Option C is wrong because Elastic Load Balancing health checks monitor the health of instances behind a load balancer and route traffic away from unhealthy instances, but they do not perform automated recovery of the instance itself. Option D is wrong because AWS Systems Manager Patch Manager automates the patching of operating systems and applications, not the recovery of failed instances from status check failures.

140
MCQmedium

A company is migrating its on-premises data analytics workload to AWS. Previously, the company had to purchase and maintain dedicated servers with fixed capacity to handle peak workloads, resulting in low utilization during off-peak hours. On AWS, the company can launch compute resources, run the analytics job, and terminate the resources when done. The company only pays for the compute time and storage used during the job. Which essential characteristic of cloud computing does this scenario BEST demonstrate?

A.Rapid elasticity
B.Measured service
C.Resource pooling
D.On-demand self-service
AnswerB

Measured service is the correct answer. Cloud providers meter usage (compute time, storage, etc.) and bill customers based on actual consumption. This eliminates the need to pay for idle capacity and aligns cost directly with usage, as described in the scenario.

Why this answer

Measured service is the cloud characteristic that enables pay-as-you-go pricing by metering resource usage (compute time, storage) and billing only for what is consumed. In this scenario, the company launches resources for the analytics job, runs it, and terminates them, paying solely for the compute time and storage used — a direct demonstration of metered usage and cost transparency.

Exam trap

The trap here is confusing 'pay only for what you use' (measured service) with the ability to scale resources up/down automatically (rapid elasticity), as both involve dynamic resource management but address different cloud characteristics.

Why the other options are wrong

C

Resource pooling refers to the provider's ability to serve multiple customers from shared physical resources, not to the pay-per-use billing model. The scenario emphasizes paying only for consumed compute and storage, which is measured service, not resource pooling.

D

On-demand self-service refers to the ability to provision resources without human interaction, but the question emphasizes paying only for what is used (compute time and storage), which is measured service.

When would these options actually be correct?

C

A question describing how a cloud provider uses multi-tenant infrastructure to serve many customers with varying demands, dynamically allocating and reallocating resources among them, would make resource pooling the correct answer.

D

A question describing a scenario where a user can provision and configure AWS resources (e.g., launch an EC2 instance) through a web console or API without needing to contact AWS support or submit a request.

Why candidates pick the wrong answer

C

Candidates may confuse resource pooling with the general idea of shared, on-demand resources, but the key differentiator here is the pay-per-use billing aspect, which is measured service.

D

Candidates may confuse the ability to launch and terminate resources on demand with the on-demand self-service characteristic, but the key here is the pay-per-use billing model, not the provisioning method.

141
MCQmedium

A company wants to implement a serverless web application with no server management. They need a database that scales automatically without managing cluster capacity. Which combination best supports this?

A.Amazon EC2 + RDS MySQL
B.AWS Lambda + API Gateway + Amazon DynamoDB on-demand
C.AWS Fargate + Amazon Aurora Serverless
D.Amazon EC2 + DynamoDB on-demand
AnswerB

This combination forms a fully serverless architecture. AWS Lambda runs code in response to events without provisioning or managing servers, API Gateway handles HTTP routing and request/response translation with automatic scaling, and DynamoDB on-demand mode eliminates capacity planning by scaling throughput up or down based on actual traffic. There are no servers, clusters, or container definitions to manage, and you pay only for requests and consumed capacity.

Why this answer

AWS Lambda + API Gateway + Amazon DynamoDB on-demand provides a fully serverless architecture where Lambda handles compute without server management, API Gateway serves as the HTTP endpoint, and DynamoDB on-demand scales automatically based on traffic without requiring capacity planning or cluster management. This combination meets the requirement for zero server management and automatic scaling of the database.

Exam trap

The trap here is that candidates often confuse 'serverless' with 'managed services'—for example, assuming Amazon RDS or Aurora Serverless are fully serverless when they still require some capacity management or have scaling limitations, whereas DynamoDB on-demand truly eliminates all capacity planning.

How to eliminate wrong answers

Option A is wrong because Amazon EC2 requires manual server management (patching, scaling, OS maintenance) and RDS MySQL, while managed, still requires managing instance sizes and read replicas, not fully serverless. Option C is wrong because AWS Fargate, though serverless for containers, still requires managing container images, task definitions, and Amazon Aurora Serverless, while scaling compute, still involves managing database storage and has a warm-up time for scaling, not fully automatic like DynamoDB on-demand. Option D is wrong because Amazon EC2 requires server management, and while DynamoDB on-demand scales automatically, the compute layer is not serverless, violating the 'no server management' requirement.

142
MCQmedium

A company runs an e-commerce platform on Amazon EC2 instances in a single AWS Region. The company wants to ensure that the platform remains available even if a natural disaster disrupts the entire geographic area of that Region. Which approach should the company take to meet this requirement?

A.Deploy the application across multiple Availability Zones within the same Region.
B.Deploy the application across multiple Edge Locations of Amazon CloudFront.
C.Deploy the application across multiple AWS Regions.
D.Deploy the application on a larger instance type within the same Availability Zone.
AnswerC

Deploying across multiple AWS Regions is the correct approach for geographic disaster recovery. Each Region is completely independent, with separate power, cooling, and physical infrastructure. If one Region is affected by a disaster, the application can fail over to another Region, ensuring business continuity.

Why this answer

Deploying the application across multiple AWS Regions ensures fault tolerance and disaster recovery even if an entire geographic area is disrupted. A natural disaster affecting a single Region would impact all Availability Zones within that Region, so multi-Region deployment is the only approach that provides geographic isolation and continuous availability.

Exam trap

The trap here is that candidates often confuse high availability within a Region (using multiple AZs) with disaster recovery across Regions, mistakenly thinking that AZ-level redundancy is sufficient to withstand a full Regional outage.

Why the other options are wrong

A

Deploying across multiple Availability Zones protects against failures within a single AZ, but not against a natural disaster that disrupts the entire geographic area of a Region, as all AZs in a Region are within the same geographic area.

B

Edge Locations are used for content caching and acceleration via CloudFront, not for running application instances. They cannot provide compute capacity to replace EC2 instances in a disaster scenario.

D

Deploying on a larger instance type within the same Availability Zone does not protect against a natural disaster that disrupts the entire geographic area of the Region, as the single Availability Zone is still within that Region.

When would these options actually be correct?

A

If the requirement were to ensure high availability against a single-AZ failure (e.g., an AZ-specific power outage) while minimizing latency and cost, deploying across multiple AZs within the same Region would be the correct approach.

B

A company wants to reduce latency for global users by caching static content closer to them, and requires high availability for that cached content even if a regional CloudFront origin fails.

D

This option would be correct if the requirement was to improve performance or handle increased load for a single-instance application without changing architecture, such as scaling vertically to meet higher demand.

Why candidates pick the wrong answer

A

Candidates often confuse high availability within a Region (using multiple AZs) with disaster recovery across Regions, and may think that AZs are geographically dispersed enough to withstand region-wide disasters.

B

Candidates may confuse Edge Locations with AWS Regions or Availability Zones, thinking they provide compute redundancy, or overestimate CloudFront's capabilities for disaster recovery.

D

Candidates may think that a larger instance provides more reliability or redundancy, confusing vertical scaling with high availability.

143
MCQeasy

Which AWS service provides a simple way to deploy, manage, and scale containerized applications without requiring Kubernetes or deep container expertise?

A.Amazon ECS
B.Amazon EKS
C.AWS App Runner
D.AWS Lambda
AnswerC

AWS App Runner is the simplest AWS option for a containerized web app because it removes all underlying compute infrastructure decisions. You provide either a container image or source code, and App Runner automatically builds, deploys, manages capacity, enables TLS, and provides a public HTTPS endpoint without requiring cluster, task, or orchestration knowledge. It is the only option here that directly matches the 'no deep container expertise' constraint.

Why this answer

AWS App Runner is the correct answer because it provides a fully managed service that automatically builds, deploys, and scales containerized web applications and APIs from source code or a container image, without requiring any knowledge of Kubernetes or container orchestration. It abstracts away the underlying infrastructure, making it ideal for developers who want to deploy containers quickly without managing clusters or control planes.

Exam trap

The trap here is that candidates often confuse Amazon ECS with a 'simple' container service, but the question explicitly requires 'without requiring Kubernetes or deep container expertise,' and ECS still requires understanding of container orchestration concepts, whereas App Runner is the only option that completely abstracts that complexity.

How to eliminate wrong answers

Option A is wrong because Amazon ECS (Elastic Container Service) requires users to manage or configure a cluster of EC2 instances or use AWS Fargate, and while it simplifies container orchestration, it still demands understanding of task definitions, services, and cluster management, not a 'simple way' that avoids container expertise. Option B is wrong because Amazon EKS (Elastic Kubernetes Service) is a managed Kubernetes service that explicitly requires knowledge of Kubernetes concepts such as pods, deployments, and services, which contradicts the 'without requiring Kubernetes' requirement. Option D is wrong because AWS Lambda is a serverless compute service for running code in response to events, not for deploying and managing containerized applications; while it supports container images, it is designed for short-lived, stateless functions, not long-running containerized applications.

144
MCQmedium

A company runs a web application on Amazon EC2 instances that connect to an Amazon RDS MySQL database. The application requires database credentials to authenticate. The security team wants to eliminate the practice of storing database credentials in the application code or configuration files. Additionally, the team needs a managed service that can automatically rotate the database credentials on a regular schedule without any manual intervention. Which AWS service should the security team use to store and manage these database credentials?

A.AWS Secrets Manager
B.AWS Systems Manager Parameter Store
C.AWS Identity and Access Management (IAM) roles
D.AWS Key Management Service (AWS KMS)
AnswerA

AWS Secrets Manager is the correct choice because it is a purpose-built service for securely storing and managing secrets such as database credentials. It natively supports automatic rotation of secrets for Amazon RDS, allowing you to configure a rotation schedule without building custom automation. The service also integrates with AWS Lambda to rotate credentials for other services, and it enforces fine-grained access control via IAM policies, ensuring that only authorized EC2 instances can retrieve the current credentials.

Why this answer

AWS Secrets Manager is the correct choice because it is a managed service specifically designed to store, manage, and automatically rotate database credentials (such as those for Amazon RDS MySQL) on a scheduled basis without manual intervention. It natively integrates with Amazon RDS to rotate credentials, eliminating the need to embed secrets in application code or configuration files, which directly addresses the security team's requirements.

Exam trap

The trap here is that candidates often confuse AWS Systems Manager Parameter Store with Secrets Manager because both can store secrets, but Parameter Store lacks native automatic rotation, which is the key requirement in this question.

Why the other options are wrong

B

AWS Systems Manager Parameter Store does not support automatic rotation of database credentials; it requires manual updates or custom automation via AWS Lambda, whereas the question specifies a need for a managed service that automatically rotates credentials on a schedule.

C

IAM roles cannot store or rotate database credentials; they provide temporary permissions for AWS API actions, not authentication credentials for RDS MySQL. The question requires a managed service for storing and rotating database credentials, which IAM roles do not support.

D

AWS KMS is a key management service for encryption keys, not a service for storing or rotating database credentials. It does not provide automatic rotation of secrets like database passwords.

When would these options actually be correct?

B

A company needs to store configuration data (e.g., database URLs, application settings) that does not require automatic rotation, and they want a simple, low-cost solution integrated with AWS Systems Manager for operational management.

C

A correct scenario would be: 'A company runs an application on EC2 that needs to access an S3 bucket. The security team wants to avoid storing AWS access keys on the EC2 instance. Which AWS feature should they use?' In that case, an IAM role attached to the EC2 instance would provide temporary credentials for API access.

D

A company needs to encrypt data at rest in an S3 bucket using a customer-managed key and must be able to rotate the key annually. AWS KMS would be the correct service to create, manage, and rotate the encryption keys.

Why candidates pick the wrong answer

B

Candidates may confuse Parameter Store with Secrets Manager because both can store secrets, but they overlook that Parameter Store lacks built-in automatic rotation, which is a key requirement in the question.

C

Candidates may confuse IAM roles with credential management because IAM roles can provide temporary credentials for AWS services, but they do not manage or rotate database passwords for RDS.

D

Candidates may confuse KMS with Secrets Manager because both involve 'keys' and 'secrets,' and KMS can be used to encrypt secrets stored elsewhere, but it does not store or rotate credentials itself.

145
MCQmedium

Which AWS service enables developers to add user sign-up, sign-in, and access control to web and mobile applications quickly?

A.AWS Directory Service
B.AWS IAM Identity Center
C.Amazon Cognito
D.AWS IAM
AnswerC

Amazon Cognito is the correct service for consumer-facing web and mobile app authentication. Cognito User Pools provide a fully managed user directory with sign-up and sign-in, a customizable hosted UI, multi-factor authentication, password resets, social login (Google, Facebook, Amazon), and SAML/OIDC federation. Cognito Identity Pools then issue temporary AWS credentials so your authenticated users can access AWS resources such as DynamoDB or S3 without embedding static keys. This combination directly addresses the question's need to identify add authenticate the users of an external application.

Why this answer

Amazon Cognito is the correct AWS service for adding user sign-up, sign-in, and access control to web and mobile applications. It provides identity pools and user pools that handle authentication, authorization, and user management, including social identity providers (e.g., Google, Facebook) and enterprise federation via SAML 2.0 or OIDC. This allows developers to quickly integrate these features without building custom backend infrastructure.

Exam trap

The trap here is confusing AWS IAM (which manages internal AWS users and permissions) with Amazon Cognito (which manages external application users), leading candidates to pick IAM for customer-facing authentication.

How to eliminate wrong answers

Option A is wrong because AWS Directory Service is designed for managing Microsoft Active Directory in the cloud or connecting on-premises directories to AWS, not for providing user sign-up/sign-in for web/mobile apps. Option B is wrong because AWS IAM Identity Center (formerly AWS SSO) centralizes access management for multiple AWS accounts and business applications, but it is not optimized for adding customer-facing sign-up/sign-in to custom applications. Option D is wrong because AWS IAM is used for managing permissions for AWS resources and users within an AWS account, not for handling external user authentication or sign-up flows for web/mobile applications.

146
MCQmedium

A healthcare company needs to extract structured medical data from clinical notes and medical documents. Which AWS service provides ML-powered extraction of medical information from unstructured text?

A.Amazon Textract
B.Amazon Comprehend
C.Amazon Comprehend Medical
D.Amazon Rekognition
AnswerC

Amazon Comprehend Medical is a specialized NLP service built with pre-trained models on medical and clinical text. It extracts entities such as medications, conditions, procedures, and dosages, and it also identifies protected health information (PHI) like patient names and addresses. It understands medical relationships—for example, linking a drug name to its dosage and route—making it the correct choice for processing clinical notes. Unlike generic services, it is purpose-built for healthcare use cases such as medical coding, clinical trial matching, and PHI redaction.

Why this answer

Amazon Comprehend Medical is specifically designed to extract structured medical information such as diagnoses, medications, and test results from unstructured clinical text using natural language processing (NLP) and machine learning. It is the only AWS service purpose-built for healthcare use cases like parsing clinical notes and medical documents.

Exam trap

The trap here is that candidates confuse Amazon Comprehend (general NLP) with Amazon Comprehend Medical (healthcare-specific), assuming the general service can handle medical text without the specialized medical ontology and compliance features.

How to eliminate wrong answers

Option A is wrong because Amazon Textract is an OCR service that extracts text, tables, and forms from scanned documents, but it does not perform medical-specific NLP or understand clinical concepts. Option B is wrong because Amazon Comprehend is a general-purpose NLP service for sentiment, entities, and key phrases, but it lacks the medical ontology and HIPAA-eligible compliance required for healthcare data extraction. Option D is wrong because Amazon Rekognition is a computer vision service for image and video analysis, such as face detection and object recognition, and cannot process unstructured text or medical information.

147
MCQmedium

A company handles credit card transactions and must comply with the Payment Card Industry Data Security Standard (PCI DSS). The company's compliance officer needs to review AWS's PCI DSS compliance reports and also download and sign the AWS Business Associate Addendum (BAA) for HIPAA eligibility. The company wants a single, managed AWS service that provides on-demand access to these compliance documents and agreements. Which AWS service should the compliance officer use?

A.AWS Trusted Advisor
B.AWS Config
C.AWS Artifact
D.Amazon Inspector
AnswerC

AWS Artifact is the correct service because it provides on-demand access to AWS compliance reports and agreements, including PCI DSS reports and the Business Associate Addendum (BAA). It allows users to review, download, and sign these documents from a single central location.

Why this answer

AWS Artifact is the correct service because it provides on-demand, self-service access to AWS compliance reports (including PCI DSS reports) and agreements such as the Business Associate Addendum (BAA) for HIPAA. It allows the compliance officer to review, download, and sign these documents directly from the AWS Management Console, meeting the requirement for a single managed service.

Exam trap

The trap here is that candidates may confuse AWS Artifact with AWS Config or Trusted Advisor, thinking those services also handle compliance documents, but they are designed for configuration auditing and best-practice recommendations, not document repository and agreement signing.

Why the other options are wrong

A

AWS Trusted Advisor provides recommendations for cost optimization, performance, security, and fault tolerance, but it does not provide on-demand access to compliance reports or agreements like PCI DSS reports or BAAs.

B

AWS Config is a service for evaluating and auditing resource configurations, not for accessing compliance reports or agreements like PCI DSS reports or BAAs.

D

Amazon Inspector is an automated security assessment service that helps improve the security and compliance of applications deployed on AWS, but it does not provide on-demand access to compliance reports or agreements like PCI DSS reports or BAAs.

When would these options actually be correct?

A

A company wants to check its AWS account against AWS best practices for security and cost optimization, and needs automated recommendations to improve its cloud posture. In that scenario, AWS Trusted Advisor would be the correct service.

B

A question asking which AWS service can be used to track changes to resource configurations and evaluate them against desired policies (e.g., ensuring all S3 buckets are encrypted) would have AWS Config as the correct answer.

D

A question asking which AWS service can automatically assess applications for vulnerabilities or deviations from best practices, such as checking for unintended network accessibility or compliance with CIS benchmarks.

Why candidates pick the wrong answer

A

Candidates may confuse Trusted Advisor's security checks with compliance document access, assuming it covers all security and compliance needs.

B

Candidates may confuse 'compliance' with 'configuration compliance' and think AWS Config provides compliance documents, when it actually focuses on resource configuration auditing.

D

Candidates may confuse Inspector's security assessment capabilities with compliance document management, assuming it provides compliance reports rather than just security evaluations.

148
MCQmedium

A company wants to implement multi-factor authentication for all IAM users across their AWS Organization without requiring individual account administrators to configure MFA for each user. Which approach enables organization-wide MFA enforcement?

A.Enable MFA on the root account only
B.Apply an SCP that denies all actions unless MFA is authenticated
C.Configure IAM password policies to require MFA
D.Enable AWS Config rule to check MFA status
AnswerB

Applying a service control policy at the organization root OU with a Deny statement using the `aws:MultiFactorAuthPresent` global condition key set to `false` prevents every principal in the member accounts from performing API calls unless they authenticated with MFA. SCPs act as a preventive guardrail: they cannot grant permissions, but they can deny all actions when the condition is satisfied, effectively forcing IAM users and roles to present an MFA token for each session. Because the SCP is inherited by all accounts in the OU, this enforces MFA uniformly without modifying each IAM user's permissions.

Why this answer

Service Control Policies (SCPs) can be applied at the root or organizational unit level to enforce a condition that denies all AWS API actions unless the request includes multi-factor authentication (MFA). This ensures that every IAM user across the entire AWS Organization must authenticate with MFA before performing any action, without requiring individual account administrators to configure MFA per user.

Exam trap

The trap here is that candidates confuse detective controls (like AWS Config rules) with preventive controls (like SCPs), or assume that password policies can enforce MFA at the API level when they only manage device assignment.

How to eliminate wrong answers

Option A is wrong because enabling MFA on the root account only protects the root user, not IAM users; it does not enforce MFA for any other principal in the organization. Option C is wrong because IAM password policies can require an MFA device to be assigned, but they do not enforce MFA at the API call level—users can still make requests without MFA if they have valid access keys or session tokens. Option D is wrong because an AWS Config rule can only detect and report non-compliant MFA status, not actively deny actions; it is a detective control, not a preventive enforcement mechanism.

149
MCQmedium

A company runs an e-commerce website on Amazon EC2 instances. The website experiences unpredictable traffic spikes during flash sales and returns to normal traffic levels afterward. To handle this, the company configures an Auto Scaling group that adds EC2 instances when the average CPU utilization exceeds 70% and removes instances when it drops below 30%. Which essential characteristic of cloud computing does this configuration primarily demonstrate?

A.Elasticity
B.High availability
C.Fault tolerance
D.Durability
AnswerA

Correct. Elasticity is the ability to automatically scale resources up or down to match demand. The Auto Scaling group adjusts the number of EC2 instances based on CPU utilization, which is a clear example of elasticity.

Why this answer

This configuration demonstrates elasticity because it automatically scales EC2 instances up during flash sales (when CPU exceeds 70%) and scales them down when traffic normalizes (CPU below 30%). Elasticity is the ability to dynamically provision and de-provision resources to match demand, which is exactly what Auto Scaling groups with CPU utilization thresholds achieve.

Exam trap

The trap here is that candidates confuse elasticity with high availability or fault tolerance, but the question specifically tests the ability to match resource capacity to fluctuating demand, which is elasticity, not the ability to withstand failures or remain operational.

Why the other options are wrong

B

High availability focuses on ensuring system uptime and resilience through redundancy, not on dynamically scaling resources up and down based on demand. The question describes scaling in response to traffic spikes, which is elasticity.

C

Fault tolerance refers to a system's ability to continue operating without interruption when one or more components fail, not to scaling resources in response to demand changes. The question describes scaling based on CPU utilization, not handling failures.

D

Durability refers to the ability to retain data over the long term without loss, typically in storage systems like S3 or EBS. This question focuses on scaling compute resources in response to demand, not data persistence.

When would these options actually be correct?

B

A question that asks: 'A company deploys a web application across multiple Availability Zones with an Application Load Balancer and Auto Scaling group to maintain service even if an entire AZ fails. Which cloud characteristic does this demonstrate?' would have high availability as the correct answer.

C

An exam question might ask: 'A company runs a critical application on multiple EC2 instances across Availability Zones. If one instance fails, the application continues running without downtime. Which cloud characteristic does this demonstrate?' The answer would be fault tolerance.

D

A question asking: 'Which cloud characteristic ensures that data remains intact and accessible even after hardware failures?' would make durability the correct answer, especially when discussing S3's 99.999999999% durability or EBS snapshots.

Why candidates pick the wrong answer

B

Candidates may confuse elasticity with high availability because both involve Auto Scaling groups, but high availability is about fault tolerance and uptime, not dynamic scaling based on load.

C

Candidates may confuse fault tolerance with elasticity because both involve multiple instances, but fault tolerance is about surviving failures, not scaling to meet load.

D

Candidates may confuse durability with reliability or assume it covers all forms of data protection, including the ability to handle traffic spikes, due to overlapping terminology in cloud concepts.

150
MCQeasy

What is the principle of least privilege in AWS IAM?

A.Giving all users administrator access to simplify management
B.Granting users only the minimum permissions required to perform their tasks
C.Allowing users to request additional permissions as needed
D.Restricting all access by default and never granting permissions
AnswerB

Least privilege in AWS means designing IAM policies so that each user or role receives only the specific permissions necessary to complete their assigned job function, nothing more. This is implemented through fine-grained policy statements that define precise Actions, Resources, and Conditions, rather than resorting to broad managed policies like AdministratorAccess or PowerUserAccess. The principle balances operational efficiency with security: users remain productive because they have exactly what they need, while the blast radius of accidental or malicious actions stays minimized.

Why this answer

The principle of least privilege in AWS IAM dictates that users, roles, and services should be granted only the minimum permissions necessary to perform their intended functions. This is implemented by creating fine-grained IAM policies that specify exactly which actions are allowed on which resources, reducing the attack surface and limiting the blast radius of a potential compromise. Option B correctly captures this core security concept.

Exam trap

AWS often tests the principle of least privilege by presenting Option D as a distractor, where candidates confuse 'deny by default' (which is the implicit behavior of IAM) with 'never granting permissions' (which would make the system unusable), leading them to incorrectly select the absolute denial option instead of the balanced minimum-permissions approach.

How to eliminate wrong answers

Option A is wrong because granting all users administrator access violates the principle of least privilege by providing excessive permissions, which increases security risk and contradicts the goal of minimizing access. Option C is wrong because allowing users to request additional permissions as needed describes a process for privilege escalation or just-in-time access, not the principle itself, which focuses on granting only the minimum permissions from the start. Option D is wrong because restricting all access by default and never granting permissions is an extreme interpretation that would prevent any legitimate work; the principle requires granting the minimum necessary permissions, not a complete denial of access.

Page 1

Page 2 of 14

Page 3