Courseiva

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

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

Page 12

Page 13 of 14

Page 14
901
MCQmedium

A company's security team discovers that database credentials are stored in plaintext in application configuration files. The team wants to implement a secure way to store, manage, and automatically rotate these credentials every 90 days. The solution must provide fine-grained IAM policies to control which users and applications can access the secrets and must integrate with AWS services like Amazon RDS for automatic rotation. Which AWS service should the company use to meet these requirements?

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

Secrets Manager is the correct service. It provides native support for automatic rotation of credentials, including built-in integration with Amazon RDS. It also offers fine-grained IAM policies and central management of secrets, meeting all stated requirements.

Why this answer

AWS Secrets Manager is the correct service because it is purpose-built for securely storing, managing, and automatically rotating database credentials. It supports automatic rotation every 90 days for Amazon RDS, Aurora, Redshift, and DocumentDB with built-in Lambda rotation functions, and it integrates with IAM for fine-grained access control via resource-based and identity-based policies.

Exam trap

The trap here is that candidates often confuse AWS Systems Manager Parameter Store (which can store secrets but lacks native rotation) with Secrets Manager, leading them to choose Parameter Store when the question explicitly requires automatic rotation.

Why the other options are wrong

A

AWS Systems Manager Parameter Store does not support automatic rotation of secrets; it requires custom solutions for rotation. It also lacks fine-grained IAM policies for secret access control compared to Secrets Manager.

C

AWS KMS is a key management service for encryption keys, not for storing and rotating secrets like database credentials. It does not provide automatic rotation of secrets or fine-grained IAM policies for secret access.

D

IAM is used for managing users, groups, roles, and permissions, not for storing, managing, or rotating secrets like database credentials. It does not provide secret storage or automatic rotation capabilities.

When would these options actually be correct?

A

A company needs to store configuration data (e.g., database endpoints, AMI IDs) that does not require automatic rotation or fine-grained access policies. The solution must be cost-effective and integrate with EC2, Lambda, or other AWS services via simple parameter retrieval.

C

A company needs to encrypt data at rest in an S3 bucket and wants to use a customer-managed key with automatic annual rotation. AWS KMS would be the correct service to create and manage the encryption key.

D

A question asking which AWS service is used to define fine-grained permissions for users and applications to access AWS resources, such as controlling access to an S3 bucket or EC2 instances, would have IAM as the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse Parameter Store with Secrets Manager because both can store secrets, but they overlook the specific requirements for automatic rotation and fine-grained IAM policies that are unique to Secrets Manager.

C

Candidates may confuse KMS with Secrets Manager because both involve encryption and rotation, but KMS manages encryption keys, not secrets like credentials.

D

Candidates may confuse IAM's role in access control with secret management, thinking that IAM policies alone can secure credentials, but IAM does not store or rotate secrets.

902
MCQmedium

A company uses AWS Organizations to manage multiple accounts. The security team wants to enforce a policy that prevents any user or role in any member account from disabling AWS CloudTrail or deleting CloudTrail log files from Amazon S3. The team needs a solution that is centrally managed from the management account and applies to all current and future member accounts automatically. Which AWS feature should the security team use to meet these requirements?

A.AWS Config conformance packs
B.Service Control Policies (SCPs)
C.IAM permissions boundaries
D.AWS CloudTrail data events
AnswerB

Correct. SCPs are the correct choice because they allow centralized control over the maximum permissions for all accounts in an AWS Organization. They can explicitly deny actions such as disabling CloudTrail or deleting S3 objects in the log bucket. SCPs apply across the entire organization, including new accounts, and cannot be overridden by member account administrators. This provides the preventive enforcement the security team requires.

Why this answer

Service Control Policies (SCPs) are a feature of AWS Organizations that allow you to centrally control the maximum available permissions for all accounts within an organization. By attaching an SCP that explicitly denies the actions to disable CloudTrail or delete CloudTrail log files from S3, the security team can enforce this policy across all current and future member accounts from the management account, as SCPs automatically apply to new accounts added to the organization.

Exam trap

The trap here is that candidates often confuse SCPs with IAM permissions boundaries, not realizing that SCPs operate at the organization level and apply to all accounts automatically, while permissions boundaries are account-specific and require manual configuration per user/role.

Why the other options are wrong

A

AWS Config conformance packs evaluate resource compliance against rules but do not enforce preventive controls to block actions like disabling CloudTrail or deleting S3 logs across all accounts.

C

IAM permissions boundaries only restrict the maximum permissions for IAM users or roles within a single account, not across all accounts in an organization, and they do not automatically apply to future accounts.

D

CloudTrail data events log resource operations within AWS services (e.g., S3 object-level actions), but they do not provide any mechanism to enforce policies or prevent actions like disabling CloudTrail or deleting log files. They are a logging feature, not a governance or prevention tool.

When would these options actually be correct?

A

A company needs to continuously monitor that CloudTrail trails are enabled and S3 bucket policies are correctly configured across all accounts, with automated remediation for noncompliant resources.

C

A question where the requirement is to limit the permissions of a specific IAM role or user within a single account, such as preventing a developer role from creating or deleting EC2 instances, while allowing other actions.

D

A company needs to audit all S3 object-level operations (e.g., GET, PUT, DELETE) for compliance. The security team wants to capture these operations for analysis. In this scenario, enabling CloudTrail data events on the S3 buckets would be the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse detective compliance checks (Config) with preventive policy enforcement (SCPs), especially when the requirement involves 'enforcing a policy' across multiple accounts.

C

Candidates may confuse permissions boundaries with SCPs because both are used to set permission limits, but they operate at different scopes (account vs. organization).

D

Candidates may confuse data events with management events or think that logging data events can somehow prevent actions, not realizing that CloudTrail is purely for auditing and cannot enforce policies.

903
MCQmedium

A company needs to connect multiple VPCs and on-premises networks through a single hub, simplifying network management. Which AWS service acts as a cloud router to interconnect these networks?

A.VPC Peering
B.AWS Transit Gateway
C.AWS Direct Connect
D.Internet Gateway
AnswerB

AWS Transit Gateway is a fully managed cloud router that provides hub-and-spoke connectivity between VPCs and on-premises networks. A single Transit Gateway attachment per VPC enables transitive routing, so 10 VPCs need only 10 attachments rather than 45 peering connections. Route tables within the Transit Gateway control which attachments can communicate, and it also supports VPN and Direct Connect attachments for hybrid network integration.

Why this answer

AWS Transit Gateway acts as a cloud router, using a hub-and-spoke model to interconnect multiple VPCs and on-premises networks through a single gateway. It simplifies network management by centralizing routing, supporting transitive routing between all attached networks, and integrating with AWS Direct Connect and VPN connections.

Exam trap

The trap here is that candidates often confuse VPC Peering (which is free but non-transitive and requires full mesh) with Transit Gateway (which provides transitive routing and central management), leading them to choose VPC Peering for multi-VPC connectivity without considering the hub-and-spoke requirement.

How to eliminate wrong answers

Option A is wrong because VPC Peering provides only a one-to-one, non-transitive connection between two VPCs, requiring a full mesh of peering connections for multiple VPCs and cannot connect to on-premises networks directly. Option C is wrong because AWS Direct Connect is a dedicated physical network connection from on-premises to AWS, not a router that interconnects multiple VPCs; it requires a Transit Gateway or Virtual Private Gateway to enable multi-VPC connectivity. Option D is wrong because an Internet Gateway is a horizontally scaled, redundant component that allows VPC communication with the internet, not a router for interconnecting VPCs or on-premises networks.

904
MCQmedium

A company runs a customer-facing web application on AWS. To ensure the application remains available if a fire or flood destroys one of the company's data centers, the IT team deploys the application across multiple physically separate facilities within the same AWS Region. Each facility has independent power, cooling, and physical security. Which component of the AWS global infrastructure does this deployment strategy primarily use?

A.AWS Regions
B.Availability Zones
C.Edge Locations
D.Local Zones
AnswerB

Availability Zones are physically separate and isolated data centers within an AWS Region. Each has independent power, cooling, and physical security. By deploying across multiple Availability Zones, the application can survive the failure of one data center, meeting the requirement for high availability within the same Region.

Why this answer

Availability Zones are distinct, physically separated locations within an AWS Region, each with independent power, cooling, and physical security. Deploying across multiple Availability Zones protects against data center-level failures like fires or floods, ensuring high availability for the application.

Exam trap

The trap here is confusing Availability Zones with AWS Regions, as candidates often think 'physically separate facilities' must mean different Regions, but the question explicitly states 'within the same AWS Region,' which directly points to Availability Zones.

Why the other options are wrong

A

AWS Regions are large geographic areas containing multiple, isolated Availability Zones. Deploying across physically separate facilities within the same Region uses Availability Zones, not Regions, because Regions themselves are not single facilities.

C

Edge Locations are used for content caching and acceleration via CloudFront, not for deploying applications across physically separate facilities with independent power and cooling within a single AWS Region.

D

Local Zones are used for low-latency applications near specific geographic areas, not for high availability across physically separate facilities within a Region. The question describes multiple facilities with independent power and cooling within one Region, which is the definition of Availability Zones.

When would these options actually be correct?

A

A question asks: 'A company needs to comply with data residency requirements by keeping all data within a specific geographic area. Which AWS global infrastructure component should they use?' In that case, selecting an AWS Region ensures data remains within that geographic boundary.

C

A company wants to reduce latency for global users by caching static content closer to them. Which AWS component should they use?

D

A company needs to run a latency-sensitive application (e.g., real-time gaming or live streaming) for users in a specific metropolitan area, and the nearest AWS Region is too far. Deploying in a Local Zone reduces latency to single-digit milliseconds.

Why candidates pick the wrong answer

A

Candidates may confuse 'physically separate facilities' with 'Regions' because Regions are the broadest geographic division, and they might think deploying across facilities means using different Regions.

C

Candidates may confuse Edge Locations with Availability Zones because both involve distributed infrastructure, but Edge Locations are for content delivery, not for hosting application instances with high availability.

D

Candidates may confuse Local Zones with Availability Zones because both involve geographically distributed infrastructure, but Local Zones are extensions of a Region for edge computing, not for high availability across multiple data centers within a Region.

905
MCQmedium

A company runs a multi-step order fulfilment process that includes payment verification, inventory check, warehouse notification, and shipping label generation. Each step is implemented as a Lambda function. They need a service to coordinate these steps, handle retries on failure, and visualise workflow state. Which AWS service should they use?

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

Step Functions orchestrates multi-step workflows using a state machine model. It manages the sequence of Lambda invocations, retries failed steps, handles errors, and provides a visual console showing the current state of each workflow execution.

Why this answer

AWS Step Functions is a serverless orchestration service that lets you coordinate multiple AWS services, including Lambda functions, into a visual workflow. It natively supports sequential execution, parallel branches, retries on failure, and state visualization, making it the ideal choice for a multi-step order fulfillment process.

Exam trap

The trap here is that candidates confuse message/event services (SQS, SNS, EventBridge) with orchestration services, failing to recognize that only Step Functions provides the stateful coordination, retry logic, and visual workflow required for multi-step processes.

How to eliminate wrong answers

Option A is wrong because Amazon SQS is a message queue service for decoupling application components, not a workflow orchestrator; it cannot coordinate multi-step logic, handle retries based on business logic, or visualize workflow state. Option B is wrong because Amazon EventBridge is an event bus for routing events between services, not a stateful workflow engine; it lacks built-in support for sequential step coordination, retry policies, and state visualization. Option D is wrong because Amazon SNS is a pub/sub notification service for sending messages to subscribers, not a workflow orchestrator; it cannot manage multi-step processes, retries, or provide a visual representation of workflow state.

906
MCQmedium

A company hosts a public-facing web application behind an Application Load Balancer (ALB). The development team has recently identified that the application is vulnerable to common web attacks such as SQL injection and cross-site scripting (XSS). The security team wants to deploy a managed solution that can inspect incoming HTTP requests and block malicious traffic before it reaches the application. The solution must integrate directly with the existing ALB and provide pre-configured rule sets that can be customized. Which AWS service should the company use?

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

AWS WAF is a web application firewall that allows you to monitor and control HTTP and HTTPS requests forwarded to your protected resources. It integrates directly with ALB and provides managed rule sets for common threats like SQL injection and XSS. You can customize rules to meet specific requirements.

Why this answer

AWS WAF is a managed web application firewall that integrates directly with Application Load Balancers to inspect HTTP/HTTPS requests. It provides pre-configured rule sets, such as those for SQL injection and cross-site scripting (XSS), which can be customized to block malicious traffic before it reaches the application. This makes it the correct choice for the described use case.

Exam trap

The trap here is that candidates may confuse AWS Shield Advanced (which handles DDoS) with AWS WAF (which handles application-layer attacks like SQLi and XSS), but Shield does not inspect request payloads for malicious content.

Why the other options are wrong

A

AWS Shield Advanced provides DDoS protection, not application-layer inspection for SQL injection or XSS. It does not offer pre-configured rule sets for web attacks or integrate directly with ALB for request inspection.

B

Amazon GuardDuty is a threat detection service that monitors for malicious activity and unauthorized behavior, but it does not inspect or block incoming HTTP requests at the application layer. It cannot prevent SQL injection or XSS attacks by itself.

D

AWS Firewall Manager is a policy management service that centrally configures and manages firewall rules across multiple accounts and resources, but it does not itself inspect and block web traffic. It relies on AWS WAF rules to do so, and the question asks for the service that directly inspects and blocks malicious traffic, which is AWS WAF.

When would these options actually be correct?

A

A company needs to protect against large-scale DDoS attacks targeting their infrastructure, requiring 24/7 access to the DDoS Response Team (DRT) and cost protection from scaling. AWS Shield Advanced would be the correct choice.

B

A company wants to continuously monitor VPC Flow Logs, DNS logs, and CloudTrail events for suspicious activity, such as unusual API calls or compromised instances, and receive automated alerts. GuardDuty would be the correct managed threat detection service for this scenario.

D

A company has multiple AWS accounts and wants to centrally enforce a common set of AWS WAF rules across all their Application Load Balancers. They need a service to manage these rules from a single point, ensuring compliance and simplifying updates. In that scenario, AWS Firewall Manager would be the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse Shield Advanced's DDoS protection with web application security, or assume 'managed solution' implies Shield without understanding its focus on network/transport layer attacks.

B

Candidates may confuse GuardDuty's threat detection capabilities with web application firewall functionality, or assume that any security service can block web attacks, without understanding the specific layer of protection each service provides.

D

Candidates may confuse Firewall Manager as a security service that directly blocks attacks, when in fact it is a policy management tool that orchestrates other services like AWS WAF. The name 'Firewall Manager' suggests it manages firewalls, leading to the mistaken belief it provides the actual inspection and blocking capability.

907
MCQmedium

A retail company's order processing system receives large bursts of orders during flash sales. The order intake API gets overwhelmed because it directly calls a downstream processing service that is slower. The company wants to decouple the API from the processing service so orders are not lost during spikes. Which AWS service should they use?

A.Amazon SNS
B.Amazon SQS
C.Amazon EventBridge
D.AWS Step Functions
AnswerB

SQS is a durable message queue that stores messages until they are processed. The intake API enqueues orders, and the processing service dequeues and processes them at its own pace. Messages persist even if the processor is temporarily unavailable.

Why this answer

Amazon SQS (Simple Queue Service) is the correct choice because it provides a fully managed message queue that decouples the order intake API from the downstream processing service. When the API receives a burst of orders, it can immediately push each order message into an SQS queue, and the processing service can poll and consume messages at its own pace, ensuring no orders are lost even during traffic spikes.

Exam trap

The trap here is that candidates often confuse SNS (push-based pub/sub) with SQS (pull-based queue), assuming any decoupling service works the same, but SNS cannot buffer messages or allow the consumer to control the consumption rate, making it unsuitable for handling bursts from a slower downstream service.

How to eliminate wrong answers

Option A is wrong because Amazon SNS is a pub/sub messaging service that pushes notifications to subscribers; it does not provide a durable buffer or allow the consumer to control the processing rate, so it cannot decouple the API from a slower downstream service without risking message loss or overload. Option C is wrong because Amazon EventBridge is a serverless event bus for routing events between AWS services and custom applications; it is not designed for point-to-point decoupling with a queue-like buffer and does not offer the same message retention and polling mechanics as SQS. Option D is wrong because AWS Step Functions is a serverless orchestration service for coordinating multiple AWS services into workflows; it does not inherently provide a message queue for buffering bursts of requests and would not prevent the API from being overwhelmed by direct calls.

908
MCQeasy

Which AWS service provides a marketplace where customers can find, buy, and deploy software from third-party vendors that runs on AWS infrastructure?

A.AWS Service Catalog
B.AWS Marketplace
C.AWS Partner Network
D.Amazon AppFlow
AnswerB

AWS Marketplace is the official digital store where customers can discover, subscribe to, and deploy third-party software, including SaaS applications, Amazon Machine Images (AMIs), container images, and CloudFormation templates, from thousands of independent software vendors. It supports multiple pricing models—hourly, monthly, annual, and bring-your-own-license—and charges usage to the customer's AWS bill, enabling consolidated billing and centralized procurement. This makes AWS Marketplace the correct service for purchasing and managing third-party software in an AWS environment.

Why this answer

AWS Marketplace is the correct service because it is a curated digital catalog that enables customers to find, buy, and deploy third-party software solutions that run on AWS infrastructure. It offers pre-configured software, including AMIs, SaaS subscriptions, and container images, with integrated billing through AWS. This directly matches the question's requirement for a marketplace for third-party software deployment.

Exam trap

The trap here is that candidates often confuse AWS Service Catalog (which also manages software) with AWS Marketplace, but Service Catalog is for internal governance and approval of pre-selected products, not for discovering and purchasing third-party software from an external marketplace.

How to eliminate wrong answers

Option A is wrong because AWS Service Catalog is an internal service that allows organizations to create and manage a catalog of approved IT services (including both AWS resources and third-party software) for internal use, but it is not a marketplace for discovering and purchasing software from third-party vendors. Option C is wrong because the AWS Partner Network (APN) is a global partner program that provides business, technical, and marketing support to AWS partners, but it is not a marketplace for customers to buy and deploy software. Option D is wrong because Amazon AppFlow is a fully managed integration service that enables customers to securely transfer data between SaaS applications and AWS services, not a marketplace for purchasing software.

909
MCQmedium

A security audit found that an S3 bucket is publicly readable. Which IAM/S3 mechanism should be reviewed to identify what grants the public access?

A.IAM identity-based policies attached to the root user
B.Bucket policies and S3 Block Public Access settings
C.AWS Organizations Service Control Policies
D.Amazon Macie classification rules
AnswerB

Public S3 access is granted through resource-based policies—specifically bucket policies that set the Principal to the wildcard '*'—or through bucket and object ACLs that permit public read/write. S3 Block Public Access settings act as an additional safeguard that can override and deny these public grants even if a bucket policy or ACL explicitly allows them. Together, these two mechanisms are the direct controls that determine whether an S3 bucket is publicly accessible.

Why this answer

Bucket policies are resource-based policies that explicitly define who has access to an S3 bucket, including public access grants like `"Principal": "*"`. S3 Block Public Access settings act as an overarching security control that can override bucket policies to prevent public access. Reviewing both mechanisms together identifies exactly how public readability was granted and whether any block was misconfigured or absent.

Exam trap

The trap here is that candidates often confuse IAM identity-based policies (which control user permissions) with resource-based policies (like bucket policies) that directly grant public access, leading them to incorrectly select Option A.

How to eliminate wrong answers

Option A is wrong because IAM identity-based policies attached to the root user control actions the root user can perform, not who can access the bucket from the public; public access is granted via resource-based policies, not identity-based policies. Option C is wrong because AWS Organizations Service Control Policies (SCPs) set permission boundaries for accounts within an organization but do not directly grant or deny public access to a specific S3 bucket. Option D is wrong because Amazon Macie classification rules are used to discover and classify sensitive data in S3 buckets, not to control or audit access permissions.

910
MCQmedium

A retail company expects 10x normal traffic during Black Friday. They want to ensure their application can handle this peak load automatically. Which AWS services should they configure to handle this requirement?

A.Launch the maximum number of instances before Black Friday and keep them running year-round
B.EC2 Auto Scaling + Application Load Balancer with CloudWatch scaling policies
C.Increase the EC2 instance size to the largest available type
D.Use AWS Snowball to temporarily add compute capacity
AnswerB

The right solution is EC2 Auto Scaling, an Application Load Balancer, and CloudWatch alarms. Auto Scaling dynamically launches and terminates EC2 instances based on demand, while the ALB distributes incoming traffic evenly across healthy instances. CloudWatch monitors metrics like CPU utilization or request count and triggers scaling policies, giving you elasticity, high availability, and cost control—this is the canonical architecture for variable web workloads.

Why this answer

EC2 Auto Scaling automatically adjusts the number of EC2 instances based on demand, and an Application Load Balancer distributes incoming traffic across those instances. CloudWatch scaling policies monitor metrics like CPU utilization or request count to trigger scaling actions, ensuring the application can handle the 10x traffic spike without manual intervention.

Exam trap

AWS often tests the misconception that vertical scaling (increasing instance size) is sufficient for handling traffic spikes, but the exam emphasizes horizontal scaling with Auto Scaling and load balancers as the correct approach for elasticity and high availability.

How to eliminate wrong answers

Option A is wrong because launching the maximum number of instances year-round leads to unnecessary cost and resource waste, as the company only needs the extra capacity during the Black Friday peak, not constantly. Option C is wrong because simply increasing the instance size to the largest available type does not provide horizontal scaling; a single large instance can still be overwhelmed by a 10x traffic spike and creates a single point of failure. Option D is wrong because AWS Snowball is a petabyte-scale data transfer service for moving large amounts of data into or out of AWS, not a compute capacity solution; it cannot handle real-time traffic spikes.

911
MCQmedium

A company has 50 TB of on-premises file server data that must be transferred to Amazon S3. The company's internet connection is limited to 100 Mbps, and the data transfer must not impact daily business operations. The company needs a physical device to securely copy the data and then ship it to AWS for ingestion. Which AWS service should the company use?

A.AWS Snowball
B.AWS DataSync
C.Amazon S3 Transfer Acceleration
D.AWS Direct Connect
AnswerA

Correct. AWS Snowball is a physical device service for offline data transfer. It is ideal for moving large datasets (terabytes to petabytes) when network bandwidth is limited, costly, or unavailable. The device is shipped to the customer, data is copied locally, and the device is returned to AWS for ingestion into Amazon S3.

Why this answer

AWS Snowball is a physical data transport solution designed for large-scale data transfers when network bandwidth is limited or unreliable. With 50 TB of data and a 100 Mbps connection, transferring over the network would take approximately 46 days and saturate the link, impacting business operations. Snowball provides a rugged, secure device that you copy data to locally and ship to AWS, bypassing the network entirely.

Exam trap

The trap here is that candidates may choose DataSync or S3 Transfer Acceleration because they are familiar AWS data transfer services, but they overlook the explicit requirement for a physical device and the need to avoid impacting business operations on a low-bandwidth link.

Why the other options are wrong

B

AWS DataSync is a software-based data transfer service that moves data over the network, not via a physical device. The question explicitly requires a physical device to copy data and ship it to AWS, which DataSync cannot provide.

D

AWS Direct Connect establishes a dedicated network connection from on-premises to AWS, but it does not involve a physical device for shipping data. The question explicitly requires a physical device to copy and ship data, which Direct Connect cannot provide.

When would these options actually be correct?

B

A company needs to transfer 10 TB of data from an on-premises NFS server to Amazon S3, has a high-speed internet connection (e.g., 1 Gbps), and wants to automate the transfer with minimal manual intervention. DataSync would be the correct choice for this online transfer scenario.

D

A company needs a consistent, low-latency connection to AWS for ongoing data transfer and has a high-bandwidth requirement that exceeds typical internet capabilities, with no need for physical device shipping.

Why candidates pick the wrong answer

B

Candidates may confuse DataSync as a physical transfer solution because its name suggests 'sync' of large data, but they overlook that it operates over the network and does not involve shipping a device.

D

Candidates may think Direct Connect is suitable for large data transfers due to its high bandwidth and reliability, overlooking the requirement for a physical device to be shipped.

912
MCQmedium

A company runs a containerized application that uses multiple Docker containers. The development team wants to run these containers on AWS without provisioning or managing any EC2 instances. They also do not want to manage the container orchestration control plane. The application requires consistent access to persistent storage volumes that can be attached to containers. Which AWS service should the team use to run the containers with the least operational overhead?

A.Amazon EC2 with a container-optimized AMI
B.AWS Lambda
C.AWS Fargate
D.Amazon ECR (Amazon Elastic Container Registry)
AnswerC

AWS Fargate is a serverless compute engine for containers. It eliminates the need to provision and manage EC2 instances or the container orchestration control plane. You define your containerized application (task definition) and Fargate launches and runs the containers. Fargate also supports persistent storage through Amazon EFS or Docker volumes, meeting the storage requirement with minimal operational overhead.

Why this answer

AWS Fargate is a serverless compute engine for containers that allows you to run containers without provisioning or managing EC2 instances or the underlying container orchestration control plane (Amazon EKS or Amazon ECS). It directly meets the requirement of zero infrastructure management while supporting persistent storage through Amazon EFS filesystems or Docker volumes that can be attached to Fargate tasks, providing consistent access to storage volumes.

Exam trap

The trap here is that candidates often confuse AWS Fargate with Amazon ECS or EKS, thinking they must choose a managed orchestration service that still requires EC2 management, but Fargate eliminates both instance and control plane management.

Why the other options are wrong

A

Amazon EC2 with a container-optimized AMI requires provisioning and managing EC2 instances, which contradicts the requirement to not manage any EC2 instances or the container orchestration control plane.

B

AWS Lambda is designed for short-running, event-driven functions, not for running multiple Docker containers with persistent storage volumes attached. It does not support long-running containerized applications or consistent access to persistent storage.

D

Amazon ECR is a container image registry for storing and managing Docker images, not a compute service for running containers. It does not provide the ability to run containers or attach persistent storage volumes.

When would these options actually be correct?

A

This option would be correct if the question required running containers on AWS with full control over the underlying EC2 instances, such as for compliance or performance tuning, and the team was willing to manage the instances and orchestration control plane.

B

A company needs to run a lightweight, stateless containerized function in response to events (e.g., file uploads to S3) without provisioning servers. The function runs for a few seconds and does not require persistent storage. AWS Lambda would be the correct choice.

D

A question asks which AWS service to use for securely storing and managing Docker container images, with requirements for image scanning, replication across regions, and integration with Amazon ECS or EKS. ECR would be the correct answer.

Why candidates pick the wrong answer

A

Candidates may think container-optimized AMIs are the simplest way to run containers on EC2, overlooking that they still require instance management, which the question explicitly wants to avoid.

B

Candidates may think Lambda can run any container because it supports custom runtimes, but they overlook its limitations on execution duration, storage, and stateful workloads.

D

Candidates may confuse ECR with a compute service because it is part of the container ecosystem and has 'container' in its name, leading them to think it can run containers.

913
MCQmedium

A company has a mobile application that allows users to upload profile photos. When a new photo is uploaded to an Amazon S3 bucket, the application must automatically create a thumbnail version and store it in another S3 bucket. The company wants a solution that runs only when needed, scales automatically, and requires no management of underlying servers. Which AWS service should the company use to meet these requirements?

A.AWS Lambda
B.AWS Batch
C.Amazon EC2
D.Amazon ECS with EC2 launch type
AnswerA

AWS Lambda is the correct choice because it is a serverless compute service that can be triggered directly by Amazon S3 object-created events. When a user uploads a profile photo, Lambda executes the thumbnail-generation code automatically, scales horizontally to handle concurrent uploads without any infrastructure provisioning, and incurs cost only for the compute time actually consumed during the invocation.

Why this answer

AWS Lambda is the correct choice because it is a serverless compute service that runs code in response to events, such as an S3 PUT object event. It automatically scales from zero to thousands of concurrent executions based on the number of incoming uploads, and requires no server management, perfectly meeting the requirement for an on-demand, auto-scaling thumbnail generation solution.

Exam trap

The trap here is that candidates may confuse AWS Batch with event-driven processing, but Batch is optimized for scheduled or queued batch jobs, not for real-time, per-object triggers like S3 uploads.

Why the other options are wrong

B

AWS Batch is designed for batch computing jobs that require orchestration of compute resources, not for event-driven, short-lived tasks like image processing triggered by S3 uploads. It does not natively integrate with S3 events to trigger jobs automatically without additional setup.

C

Amazon EC2 requires manual management of underlying servers and does not automatically scale based on S3 events. It would need constant running instances or complex auto-scaling setups, violating the 'runs only when needed' and 'no management' requirements.

D

Amazon ECS with EC2 launch type requires managing EC2 instances, which does not meet the requirement of no server management. It also does not automatically trigger on S3 uploads without additional setup like EventBridge.

When would these options actually be correct?

B

A company needs to run a large-scale, compute-intensive batch job (e.g., video transcoding or genomic analysis) that can be split into multiple parallel tasks, and they want to manage job dependencies and retries. AWS Batch would be the correct answer because it orchestrates batch workloads across EC2 or Fargate with automatic scaling.

C

If the question required a long-running application with custom OS configurations, persistent storage, or specific software installations that cannot be containerized or run in a serverless function, Amazon EC2 would be the correct choice.

D

A company needs to run containerized batch processing jobs that require persistent storage or GPU resources, and is willing to manage EC2 instances for cost optimization or compliance reasons.

Why candidates pick the wrong answer

B

Candidates might think 'batch processing' applies to any automated processing task, including thumbnail generation, and overlook that AWS Lambda is simpler and more appropriate for event-driven, short-duration tasks.

C

Candidates may think EC2 is the default compute service for any workload, overlooking the serverless and event-driven nature of the requirement. They might not realize that Lambda can directly respond to S3 events without provisioning servers.

D

Candidates may think ECS is serverless, but the EC2 launch type involves managing servers, confusing it with Fargate. They might also assume containers are needed for image processing.

914
MCQmedium

A company runs an application with variable workloads. During business hours, they need 10 EC2 instances; overnight they only need 2. Which combination minimizes cost while meeting this requirement?

A.10 On-Demand Instances running 24/7
B.10 Reserved Instances
C.2 Reserved Instances + Auto Scaling with On-Demand for variable demand
D.10 Spot Instances with Auto Scaling
AnswerC

This option is correct because Reserved Instances cover the predictable 2-instance baseline at the lowest possible price, while an Auto Scaling group uses On-Demand instances to handle the daytime spike. The scaling policy increases capacity during business hours and terminates those extra instances overnight, so you never pay for resources you aren't using. The design keeps the critical baseline always available via RIs, and uses On-Demand flexibility to match variable load.

Why this answer

It uses 2 Reserved Instances to cover the baseline workload (overnight) at a lower cost, and Auto Scaling with On-Demand Instances to dynamically add capacity during business hours. Reserved Instances provide a significant discount over On-Demand for steady-state usage, while On-Demand instances handle variable demand without upfront commitment, minimizing total cost.

Exam trap

The trap here is that candidates may choose Spot Instances (Option D) for cost savings without recognizing their lack of reliability for a workload requiring consistent availability during business hours, or they may over-purchase Reserved Instances (Option B) assuming all capacity must be reserved, ignoring the variable nature of the workload.

How to eliminate wrong answers

Option A is wrong because running 10 On-Demand Instances 24/7 incurs the highest cost, as On-Demand pricing is premium and does not leverage any discount for steady-state usage. Option B is wrong because 10 Reserved Instances lock in capacity for a 1- or 3-year term, but only 2 are needed overnight; the additional 8 Reserved Instances would be underutilized during off-peak hours, wasting money. Option D is wrong because Spot Instances can be terminated by AWS with little notice (2-minute warning) when capacity is reclaimed, making them unsuitable for a workload that must be available during business hours; they lack the reliability needed for consistent daytime operation.

915
MCQmedium

A company has multiple IAM users. The security policy requires that every user must have an MFA device assigned and must use it for console sign-in. The security team wants to automatically detect any IAM user that does not have MFA enabled and receive an email alert. Which combination of AWS services should the team use to meet these requirements?

A.AWS CloudTrail and Amazon CloudWatch Logs
B.AWS Trusted Advisor and Amazon Simple Email Service (Amazon SES)
C.AWS Config and Amazon Simple Notification Service (Amazon SNS)
D.AWS IAM Access Analyzer and Amazon Inspector
AnswerC

AWS Config can evaluate IAM users against the managed rule 'iam-user-mfa-enabled'. When a user is non-compliant, Config can publish a compliance change notification to an Amazon SNS topic. Subscribers (e.g., email endpoints) receive alerts automatically.

Why this answer

AWS Config can continuously monitor IAM users for compliance with the security policy by using a managed rule such as IAM_USER_MFA_ENABLED. When a non-compliant user is detected, AWS Config can trigger an Amazon SNS topic to send an email alert, meeting the requirement for automatic detection and notification.

Exam trap

The trap here is that candidates confuse AWS Trusted Advisor's root account MFA check with IAM user MFA enforcement, or assume CloudTrail can detect configuration state rather than just API events.

Why the other options are wrong

A

CloudTrail logs API activity but does not evaluate IAM user MFA status, and CloudWatch Logs alone cannot trigger email alerts based on custom compliance checks without additional services like Lambda or Config rules.

B

AWS Trusted Advisor can check for MFA on root accounts but not on individual IAM users, and Amazon SES is for sending emails but not integrated with Trusted Advisor for automated alerts based on IAM user MFA status.

D

AWS IAM Access Analyzer analyzes resource policies for external access, and Amazon Inspector assesses workload vulnerabilities; neither service monitors IAM user MFA status or sends alerts for non-compliance.

When would these options actually be correct?

A

If the requirement were to detect unauthorized API calls (e.g., failed MFA sign-in attempts) and alert via email, CloudTrail could send logs to CloudWatch Logs, which triggers a metric filter and alarm to notify via SNS.

B

A question where the requirement is to detect and alert on AWS account-level security best practices, such as root account MFA, security groups with open ports, or S3 bucket permissions, and the email alert is sent via Amazon SES.

D

A question requiring detection of unintended external access to IAM roles or S3 buckets, with automated email alerts when findings are generated. For example: 'A security team needs to be notified when an IAM role policy allows access from an external AWS account. Which services should they use?'

Why candidates pick the wrong answer

A

Candidates may think CloudTrail can monitor user configurations and CloudWatch Logs can send alerts, but they overlook that CloudTrail tracks actions, not resource compliance, and CloudWatch Logs requires custom metric filters for alerting.

B

Candidates may think Trusted Advisor covers all MFA checks and SES is a common email service, overlooking that Trusted Advisor does not evaluate IAM user MFA and SES requires custom integration for automated alerts.

D

Candidates may associate 'Access Analyzer' with IAM security and 'Inspector' with compliance scanning, incorrectly assuming they can detect MFA status, or they may confuse 'analyzer' with 'auditing' capabilities.

916
MCQmedium

A company needs to process and analyze streaming log data from thousands of servers in near real-time, loading the results into Amazon Redshift for dashboards. Which AWS service is designed for this streaming ETL delivery use case?

A.Amazon Kinesis Data Streams
B.Amazon Kinesis Data Firehose
C.AWS Glue
D.Amazon MSK
AnswerB

Kinesis Data Firehose is the managed streaming delivery service that loads data into Redshift, S3, and OpenSearch automatically — including optional Lambda transformation, with no consumer code needed.

Why this answer

Amazon Kinesis Data Firehose is the correct choice because it is a fully managed service designed specifically for streaming ETL (extract, transform, load) delivery. It can capture, transform (e.g., convert to Parquet/ORC, perform Lambda-based data transformation), and automatically load streaming data into Amazon Redshift, Amazon S3, or Amazon OpenSearch Service in near real-time, with no ongoing administration required.

Exam trap

The trap here is that candidates often confuse Kinesis Data Streams (raw ingestion) with Kinesis Data Firehose (managed ETL delivery), assuming both can directly load into Redshift, but only Firehose provides the built-in COPY command integration and automatic transformation capabilities.

How to eliminate wrong answers

Option A is wrong because Amazon Kinesis Data Streams is a raw data ingestion service that stores streaming data in shards for custom consumers to process; it does not natively perform ETL transformations or directly load data into Redshift without additional custom code. Option C is wrong because AWS Glue is a serverless data integration service primarily for batch ETL jobs and cataloging, not designed for continuous near-real-time streaming ingestion into Redshift. Option D is wrong because Amazon MSK (Managed Streaming for Apache Kafka) provides a managed Kafka cluster for building custom streaming applications, but it lacks built-in ETL transformation and direct Redshift delivery capabilities, requiring additional infrastructure and code.

917
MCQmedium

A company is deploying a new web application on AWS. The operations team needs to provision and manage AWS resources such as Amazon EC2 instances, Amazon RDS databases, and Amazon S3 buckets in a repeatable, consistent manner across development, test, and production environments. The team wants to define the entire infrastructure as code using declarative templates that can be version-controlled and reviewed. Which AWS service should the team use to meet this requirement?

A.AWS Elastic Beanstalk
B.AWS CloudFormation
C.AWS OpsWorks
D.AWS CodeDeploy
AnswerB

AWS CloudFormation is the correct service. It enables you to define and provision AWS infrastructure using declarative templates. You can version control these templates, review them, and deploy consistent environments across development, test, and production. This is the ideal solution for infrastructure as code on AWS.

Why this answer

AWS CloudFormation is the correct service because it allows you to define your entire infrastructure as code using declarative templates (JSON or YAML). These templates can be version-controlled and reviewed, enabling repeatable and consistent provisioning of resources like EC2 instances, RDS databases, and S3 buckets across multiple environments. CloudFormation manages the lifecycle of these resources as stacks, ensuring idempotent deployments.

Exam trap

The trap here is that candidates often confuse AWS Elastic Beanstalk (a PaaS for application deployment) with infrastructure-as-code, but Elastic Beanstalk does not provide the declarative, version-controlled resource templates that CloudFormation offers for managing individual AWS resources like EC2, RDS, and S3 across environments.

Why the other options are wrong

A

AWS Elastic Beanstalk is a PaaS service that automates application deployment and provisioning, but it does not provide declarative infrastructure-as-code templates for defining resources like EC2, RDS, and S3 in a repeatable, version-controlled manner across environments.

C

AWS OpsWorks is a configuration management service that uses Chef and Puppet, not declarative templates for infrastructure as code. It focuses on managing server configurations rather than provisioning resources like EC2, RDS, and S3 in a repeatable, version-controlled manner.

D

AWS CodeDeploy automates code deployments to running instances, not infrastructure provisioning. The question requires defining and managing infrastructure as code with declarative templates, which is CloudFormation's purpose.

When would these options actually be correct?

A

A company wants to quickly deploy a web application without managing underlying infrastructure, focusing on code upload and automatic scaling. The requirement is for a managed platform that handles provisioning and capacity management automatically, not for defining infrastructure as code.

C

A company uses Chef or Puppet for configuration management and wants to automate server setup and application deployment on AWS. The team needs to manage operating system configurations, install software, and maintain consistency across instances, but does not require declarative infrastructure provisioning.

D

A question asks: 'Which AWS service automates application code deployments to EC2 instances, Lambda functions, or on-premises servers, supporting rolling updates and blue/green deployments?' Then CodeDeploy is correct.

Why candidates pick the wrong answer

A

Candidates may confuse Elastic Beanstalk's environment management with infrastructure-as-code, as it does provision resources automatically, but it lacks the declarative template and version control capabilities of CloudFormation.

C

Candidates may confuse OpsWorks with CloudFormation because both are used for automation and managing AWS resources, but OpsWorks is specifically for configuration management, not declarative infrastructure as code.

D

Candidates confuse deployment of application code with deployment of infrastructure, or think 'deploy' in the question refers to code deployment rather than infrastructure provisioning.

918
MCQhard

A company has unpredictable, short-lived batch processing workloads that can be interrupted. Which EC2 purchasing option would provide the lowest cost for these workloads?

A.On-Demand Instances
B.Reserved Instances (1-year, No Upfront)
C.Spot Instances
D.Dedicated Hosts
AnswerC

Spot Instances offer EC2 compute capacity at up to a 90% discount compared to On-Demand because AWS can reclaim that capacity with a two-minute warning when it needs the resources back. For a batch job that can save its progress and resume after interruption, Spot Instances are the ideal match because the workload's fault tolerance makes the risk of interruption acceptable. There is no long-term commitment, and you pay per second only for the time the instance actually runs, making Spot the lowest-cost choice for fault-tolerant, transient, or checkpointable workloads.

Why this answer

Spot Instances (Option C) are the correct choice because they offer unused EC2 capacity at steep discounts (up to 90% off On-Demand) and are ideal for fault-tolerant, flexible, short-lived, or interruptible workloads. Since the company's batch processing jobs are unpredictable and can be interrupted, Spot Instances provide the lowest cost while tolerating the risk of termination when AWS needs the capacity back.

Exam trap

The trap here is that candidates often choose On-Demand Instances (Option A) because they assume 'unpredictable' workloads require full pricing flexibility, but they overlook that Spot Instances are explicitly designed for interruptible, short-lived workloads at the lowest cost.

How to eliminate wrong answers

Option A is wrong because On-Demand Instances provide full pricing flexibility but are significantly more expensive than Spot Instances, making them unsuitable for cost-sensitive interruptible workloads. Option B is wrong because Reserved Instances require a 1-year or 3-year commitment and are designed for steady-state, predictable usage, not for short-lived, unpredictable batch jobs that can be interrupted. Option D is wrong because Dedicated Hosts provide physical servers dedicated for your use, which is the most expensive option and is intended for regulatory or licensing requirements, not for cost optimization on interruptible workloads.

919
MCQmedium

A company manages multiple AWS accounts using AWS Organizations. The company has an on-premises Microsoft Active Directory (AD) that contains employee credentials and group memberships. The company wants to grant employees access to the AWS Management Console and command-line interface (CLI) using their existing AD credentials, without creating IAM users for each employee. Additionally, the company wants to centrally manage permissions across all accounts by assigning policies to AD groups. Which AWS service should the company use to meet these requirements?

A.AWS Identity and Access Management (IAM)
B.AWS Directory Service for Microsoft Active Directory
C.AWS IAM Identity Center (AWS Single Sign-On)
D.AWS Resource Access Manager (AWS RAM)
AnswerC

IAM Identity Center is the correct service for this use case. It connects to an existing identity provider (such as on-premises Active Directory), enables single sign-on to the AWS Management Console and CLI, and centrally manages permissions across all accounts in AWS Organizations by assigning permission sets to groups.

Why this answer

AWS IAM Identity Center (formerly AWS Single Sign-On) is the correct service because it allows centralized management of user access to multiple AWS accounts and applications using existing corporate credentials from Microsoft Active Directory. It supports federation with AD via SAML 2.0 or SCIM, enabling employees to sign in to the AWS Management Console and CLI without creating IAM users. Permissions can be assigned to AD groups through permission sets, which map to IAM roles, ensuring consistent policy enforcement across all accounts in AWS Organizations.

Exam trap

The trap here is that candidates often confuse AWS Directory Service for Microsoft Active Directory with IAM Identity Center, thinking that a managed AD alone can provide cross-account access and SSO, but Directory Service only provides the directory backend and lacks the centralized permission assignment and federation capabilities that IAM Identity Center offers for multi-account environments.

Why the other options are wrong

A

IAM alone cannot integrate with on-premises Active Directory for authentication, nor can it centrally manage permissions across multiple AWS accounts without federation or Identity Center.

B

AWS Directory Service for Microsoft Active Directory only provides the directory service; it does not offer the centralized permission management across multiple AWS accounts or the ability to assign AWS policies to AD groups. The company needs IAM Identity Center to integrate with AD and manage cross-account access.

D

AWS Resource Access Manager (RAM) is used to share resources like subnets or transit gateways across accounts, not to manage user authentication or permissions via Active Directory groups.

When would these options actually be correct?

A

A company needs to create and manage IAM users and groups directly within AWS, with no requirement to use existing on-premises AD credentials or centralize permissions across multiple accounts.

B

A company needs to set up a managed Microsoft Active Directory in AWS to support domain-joined EC2 instances or applications that require LDAP authentication, without requiring cross-account access or AWS policy assignment to AD groups.

D

A company needs to share a centrally managed VPC subnet or a license configuration with multiple accounts in AWS Organizations, without duplicating the resource in each account.

Why candidates pick the wrong answer

A

Candidates may think IAM is the default for access management and overlook the need for federation and multi-account centralization, assuming IAM can handle AD integration via custom solutions.

B

Candidates see 'Microsoft Active Directory' and 'existing AD credentials' and assume that AWS Directory Service is the direct integration point, overlooking that IAM Identity Center is the service that bridges AD with AWS account permissions.

D

Candidates may confuse 'resource sharing' with 'access management' because both involve cross-account permissions, but RAM focuses on sharing specific AWS resources, not user identities or SSO.

920
MCQmedium

A company runs an e-commerce platform on AWS. The platform experiences unpredictable traffic, with occasional large spikes. The company wants to automatically adjust compute capacity to match demand exactly, ensuring consistent performance while only paying for the resources consumed. Which benefit of the AWS Cloud does this scenario primarily describe?

A.High availability
B.Elasticity
C.Disaster recovery
D.Resource pooling
AnswerB

Elasticity is the cloud characteristic that enables automatic provisioning and release of compute resources to match the current demand. AWS implements this through services such as Auto Scaling, which dynamically adjusts EC2 instance fleets based on CloudWatch alarms, and Lambda's per-request scaling. For an e-commerce platform, this directly supports the requirement to absorb traffic spikes while releasing idle capacity to control costs. It is the only option that explicitly addresses demand-driven capacity adjustment.

Why this answer

Elasticity is the ability of AWS to automatically scale compute resources up or down based on demand. In this scenario, the e-commerce platform experiences unpredictable traffic spikes, and elasticity ensures that EC2 instances or Auto Scaling groups adjust capacity in real time, matching demand exactly while only charging for resources consumed. This directly aligns with the 'pay-as-you-grow' model and the operational benefit of scaling without manual intervention.

Exam trap

The trap here is that candidates often confuse elasticity with high availability, thinking that automatically adding more servers during a spike also ensures fault tolerance, but elasticity is specifically about matching capacity to demand, not about maintaining uptime during failures.

Why the other options are wrong

A

High availability focuses on ensuring system uptime and fault tolerance, not on automatically adjusting capacity to match demand. The scenario describes scaling resources up and down based on traffic, which is elasticity.

C

Disaster recovery focuses on restoring infrastructure and data after a disruptive event, not on automatically adjusting compute capacity to match demand spikes.

D

Resource pooling refers to multi-tenant sharing of computing resources, not the ability to automatically scale capacity up or down to match demand. The question focuses on adjusting compute capacity to match unpredictable traffic, which is elasticity.

When would these options actually be correct?

A

A company requires its application to remain accessible and operational even if an AWS Availability Zone fails. The question asks which AWS Cloud benefit ensures minimal downtime and continuous service despite infrastructure failures.

C

A company wants to ensure its application can quickly recover from a regional outage with minimal data loss and downtime. The question asks about the AWS benefit that enables failover to a secondary region and restoration of operations.

D

A question describing a scenario where a cloud provider uses shared infrastructure to serve multiple customers, reducing costs through economies of scale, would make resource pooling the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse high availability with elasticity because both involve maintaining performance during traffic spikes, but high availability is about redundancy and failover, not dynamic scaling.

C

Candidates may confuse the ability to handle traffic spikes with the need to recover from failures, especially if they think of 'disaster' broadly as any unexpected event.

D

Candidates may confuse resource pooling with elasticity because both involve efficient resource utilization, but resource pooling is about multi-tenancy, not dynamic scaling.

921
MCQmedium

Which cloud concept describes the ability of cloud services to remain operational even when individual components fail, through techniques like redundancy, replication, and automatic failover?

A.Scalability
B.Elasticity
C.Fault tolerance
D.Agility
AnswerC

Fault tolerance is the design principle that allows a system to continue operating correctly even when one or more of its components fail. It is achieved through redundancy, data replication, and automatic failover—for example, using multi-AZ deployments, Amazon RDS Multi-AZ, and Amazon S3's built-in durability. The goal is to provide zero or minimal disruption to service, ensuring continuous operation without requiring human intervention when a failure occurs.

Why this answer

Fault tolerance is the correct answer because it directly refers to a system's ability to continue operating without interruption when one or more of its components fail. This is achieved through techniques such as redundancy (e.g., deploying multiple EC2 instances across Availability Zones), replication (e.g., synchronously replicating data in Amazon RDS Multi-AZ), and automatic failover (e.g., Route 53 health checks triggering a switch to a standby resource). The core goal is to eliminate single points of failure and maintain service availability despite underlying failures.

Exam trap

AWS often tests the distinction between fault tolerance and high availability (HA), where the trap is that candidates confuse 'remaining operational during failures' (fault tolerance) with 'quickly recovering from failures' (HA), but in this question the explicit mention of redundancy, replication, and automatic failover points directly to fault tolerance.

How to eliminate wrong answers

Option A is wrong because scalability refers to the ability to increase or decrease resources (e.g., compute, storage) to handle varying load, not to remain operational during component failures. Option B is wrong because elasticity is the ability to automatically scale resources up or down based on demand, often using services like Auto Scaling, and does not inherently address fault tolerance or failure recovery. Option D is wrong because agility describes the speed and ease with which IT resources can be provisioned and deprovisioned, enabling rapid experimentation and deployment, not the resilience of services against failures.

922
MCQmedium

A company runs a steady, predictable workload on a diverse mix of Amazon EC2 instances spanning multiple instance families (e.g., M5, C5, R5) and AWS Regions. The company wants to maximize cost savings while retaining the ability to freely change instance families and Regions during the commitment term without losing the discount. Which AWS pricing model should the company use?

A.On-Demand Instances
B.Reserved Instances
C.Spot Instances
D.Compute Savings Plans
AnswerD

Compute Savings Plans provide the same discounts as Reserved Instances but with greater flexibility. They apply to any EC2 instance usage regardless of instance family, size, or Region, as long as the usage is within the committed dollar-per-hour amount. This matches the company's need for both cost savings and flexibility.

Why this answer

Compute Savings Plans (D) offer the highest flexibility by applying a discounted hourly commitment across any EC2 instance family, size, OS, tenancy, and region, automatically covering usage changes without losing the discount. This matches the requirement to freely change instance families and regions during the term while maximizing savings over On-Demand pricing.

Exam trap

The trap here is that candidates often confuse Reserved Instances with Savings Plans, assuming RIs offer similar flexibility, but RIs are region- and family-specific, whereas Compute Savings Plans provide full flexibility across families and regions.

Why the other options are wrong

A

On-Demand Instances do not provide any discount; they charge full price per hour, so they cannot maximize cost savings for a steady, predictable workload.

B

Reserved Instances require a commitment to a specific instance family and Region; they do not allow changing instance families or Regions without losing the discount, which contradicts the company's requirement for flexibility.

When would these options actually be correct?

A

A company with an unpredictable, short-term workload that cannot commit to any term or upfront payment and needs maximum flexibility without any discount would choose On-Demand Instances.

B

A company has a steady-state workload with predictable usage of a specific EC2 instance type (e.g., m5.large) in a single Region and wants the highest possible discount for that specific configuration, with no need to change instance families or Regions.

Why candidates pick the wrong answer

A

Candidates may think On-Demand offers flexibility to change instance families and regions, but they overlook that the question emphasizes cost savings, which On-Demand does not provide.

B

Candidates may think Reserved Instances are the best for steady workloads and cost savings, but they overlook the flexibility requirement, assuming Reserved Instances offer similar flexibility to Savings Plans.

923
MCQmedium

A company is deploying a multi-tier application on AWS. Which AWS service provides layer 4 (TCP/UDP) load balancing with ultra-high performance and static IP addresses?

A.Application Load Balancer (ALB)
B.Network Load Balancer (NLB)
C.Gateway Load Balancer (GWLB)
D.Classic Load Balancer
AnswerB

Network Load Balancer (NLB) functions at Layer 4 of the OSI model, handling millions of requests per second with ultra-low latency while preserving the client's source IP address, which is critical for security and audit requirements. It automatically allocates one static Elastic IP per Availability Zone, giving clients immutable endpoints that remain unchanged even as backend capacity scales. This combination of TCP/UDP support, static IPs, and massive throughput makes NLB the precise match for this high-performance, fixed-IP load-balancing need.

Why this answer

Network Load Balancer (NLB) operates at Layer 4 (TCP/UDP) and is designed to handle millions of requests per second with ultra-low latency. It provides static IP addresses per Availability Zone, which is essential for applications requiring fixed endpoints for whitelisting or DNS stability.

Exam trap

The trap here is that candidates often confuse ALB's Layer 7 features with NLB's Layer 4 capabilities, or assume Classic Load Balancer still provides static IPs, but only NLB offers both Layer 4 operation and static IP addresses for ultra-high performance scenarios.

How to eliminate wrong answers

Option A is wrong because Application Load Balancer (ALB) operates at Layer 7 (HTTP/HTTPS) and does not provide static IP addresses; it uses a DNS name that resolves to changing IPs. Option C is wrong because Gateway Load Balancer (GWLB) operates at Layer 3 (IP) and Layer 4, but it is specifically designed for transparent network gateways (e.g., firewalls, intrusion detection) and does not provide static IP addresses for client-facing load balancing. Option D is wrong because Classic Load Balancer (CLB) is a legacy option that supports Layer 4 and Layer 7 but does not offer static IP addresses and lacks the ultra-high performance and scalability of NLB.

924
MCQmedium

A solutions architect is planning a new web application on AWS. The workload will include 3 Amazon EC2 instances (t3.medium) running 24/7, an Application Load Balancer, and an Amazon RDS for MySQL db.t3.small database. The architect needs to estimate the monthly cost for the first year, considering different purchasing options (On-Demand, 1-year All Upfront Reserved Instance, and Compute Savings Plan). Which AWS tool should the architect use to create this estimate?

A.AWS Total Cost of Ownership (TCO) Calculator
B.AWS Pricing Calculator
C.AWS Cost Explorer
D.AWS Budgets
AnswerB

The AWS Pricing Calculator is a web-based tool for building a cost estimate for a new AWS workload before any resources are provisioned. You can select services, configure compute, storage, and data transfer parameters, and choose purchasing options like On-Demand, Reserved Instances, or Savings Plans to see a line-item monthly and annual estimate. It directly addresses the scenario of planning a new web application with no existing usage data.

Why this answer

The AWS Pricing Calculator (formerly Simple Monthly Calculator) is the correct tool for estimating monthly costs for specific AWS resources like EC2 instances, ALB, and RDS under different purchasing options (On-Demand, Reserved Instances, Savings Plans). It allows you to input exact instance types, quantities, and commitment terms to generate a detailed cost estimate for the first year.

Exam trap

The trap here is that candidates confuse the AWS Pricing Calculator (for future estimates) with AWS Cost Explorer (for past analysis) or the TCO Calculator (for on-premises comparison), leading them to select a tool that cannot generate a forward-looking cost estimate for a planned workload.

Why the other options are wrong

A

The TCO Calculator compares on-premises vs. AWS costs, not estimating monthly costs for a new AWS-only workload with different purchasing options.

C

AWS Cost Explorer is used for analyzing historical costs and usage, not for creating upfront cost estimates for new workloads with different purchasing options.

D

AWS Budgets is used to set spending limits and receive alerts, not to create cost estimates for specific resource configurations.

When would these options actually be correct?

A

A question asking to compare the total cost of ownership between running a workload on-premises versus migrating it to AWS, including hardware, software, labor, and facilities costs.

C

A solutions architect needs to review the cost trends of existing EC2 instances over the past 6 months to identify underutilized resources. AWS Cost Explorer would be the correct tool for this historical analysis.

D

A solutions architect needs to set a monthly cost threshold for a new deployment and receive notifications if costs exceed that limit; AWS Budgets would be the correct tool to configure those alerts.

Why candidates pick the wrong answer

A

Candidates may confuse 'cost estimation' with 'total cost of ownership' and think TCO Calculator can estimate AWS service costs, but it's designed for migration comparisons.

C

Candidates may confuse Cost Explorer's cost analysis capabilities with cost estimation, assuming it can also forecast future costs for new deployments.

D

Candidates may confuse cost estimation with cost monitoring, thinking Budgets can provide upfront pricing estimates because it deals with cost tracking.

925
MCQeasy

A company needs to deploy their application in multiple geographic locations to ensure data sovereignty compliance and reduce latency for users in different continents. What is the AWS infrastructure concept that represents a distinct geographic area with multiple isolated locations?

A.Availability Zone
B.Edge Location
C.AWS Region
D.Local Zone
AnswerC

An AWS Region is a geographically distinct area, such as us-east-1 in Virginia or eu-west-1 in Ireland, that physically contains two or more Availability Zones for resilience. Each Region is completely independent and isolated from all other Regions—there is no automatic cross-Region replication, and control planes are separated—making it the fundamental unit for data sovereignty, residency, and geographic distribution. This explicit isolation is why the AWS Region is the correct choice for geographic separation.

Why this answer

An AWS Region is a distinct geographic area that contains multiple, isolated Availability Zones. This design allows customers to deploy applications across separate locations within a region for high availability, while also choosing specific regions to meet data sovereignty requirements and reduce latency for users on different continents.

Exam trap

The trap here is that candidates often confuse an Availability Zone (a single data center) with a Region (a geographic area containing multiple zones), leading them to select Option A when the question explicitly asks for a 'distinct geographic area with multiple isolated locations.'

How to eliminate wrong answers

Option A is wrong because an Availability Zone is a single, isolated data center within a region, not a geographic area with multiple isolated locations. Option B is wrong because an Edge Location is a site used by AWS CloudFront for content caching and delivery, not for compute or storage deployments that ensure data sovereignty. Option D is wrong because a Local Zone is an extension of a region that places compute and storage closer to end users, but it is not a distinct geographic area with multiple isolated locations; it is a single zone within a region.

926
MCQmedium

A company is migrating to AWS and wants to understand the different types of cloud service models. Which model describes a service where the provider manages everything including the application, and the customer only manages their data and user access?

A.Infrastructure as a Service (IaaS)
B.Platform as a Service (PaaS)
C.Software as a Service (SaaS)
D.Function as a Service (FaaS)
AnswerC

SaaS delivers a fully functional, cloud-hosted application (e.g., Salesforce, Google Workspace) that users access over the internet with no installation or management of underlying resources. The provider is responsible for everything from hardware and virtualization through the application runtime, while customers only manage their organization's data, users, and configuration settings. This matches the scenario exactly because the provider handles all layers of the stack, and the consumer simply uses the software as-is.

Why this answer

In the Software as a Service (SaaS) model, the cloud provider manages the entire application stack, including infrastructure, platform, and application software. The customer is responsible only for their data and user access, typically through a web browser or API. This aligns with the description where the provider manages everything including the application.

Exam trap

The trap here is that candidates often confuse PaaS with SaaS because both involve managed services, but PaaS still requires the customer to manage the application code and data, whereas SaaS offloads the entire application management to the provider.

How to eliminate wrong answers

Option A is wrong because Infrastructure as a Service (IaaS) provides only virtualized computing resources (e.g., EC2 instances, VPCs), and the customer must manage the operating system, middleware, and applications themselves. Option B is wrong because Platform as a Service (PaaS) provides a managed runtime environment (e.g., AWS Elastic Beanstalk) where the customer deploys their own application code, but still manages the application and data, not just data and user access. Option D is wrong because Function as a Service (FaaS) (e.g., AWS Lambda) is a serverless compute model where the customer writes and uploads function code, and the provider manages the runtime, but the customer still manages the code and data, not just data and user access.

927
MCQmedium

A financial services company runs a high-frequency trading application that must process transactions with sub-millisecond latency. The application must run in the company's own data center to meet strict latency requirements, but the company wants to use the same AWS management APIs, control plane, and tools (such as AWS CloudFormation and Amazon CloudWatch) for consistency across on-premises and cloud environments. The company also needs the ability to seamlessly run Amazon EBS-backed Amazon EC2 instances locally. Which AWS service should the company use to meet these requirements?

A.AWS Outposts
B.AWS Wavelength
C.AWS Local Zones
D.AWS Direct Connect
AnswerA

Correct. AWS Outposts extends AWS infrastructure and services to on-premises facilities, allowing the company to run EC2 instances with EBS storage using the same AWS APIs and management tools, while keeping the application in the local data center for ultra-low latency.

Why this answer

AWS Outposts is correct because it extends AWS infrastructure, services, APIs, and tools to on-premises data centers, enabling the company to run Amazon EBS-backed EC2 instances locally with sub-millisecond latency while using the same AWS management APIs, CloudFormation, and CloudWatch for consistency.

Exam trap

The trap here is confusing AWS Outposts with AWS Local Zones or Wavelength, as candidates often think any edge or local compute service can run in their own data center, but only Outposts provides the fully managed, on-premises AWS infrastructure with local EBS-backed EC2 instances.

Why the other options are wrong

B

AWS Wavelength is designed for ultra-low latency applications at the edge of 5G networks, not for on-premises data centers. It does not run in the customer's own data center or support local EBS-backed EC2 instances.

C

AWS Local Zones extend AWS infrastructure to metropolitan areas for low-latency applications, but they do not run in the customer's own data center. The requirement to keep the application in the company's own data center eliminates Local Zones.

D

AWS Direct Connect establishes a dedicated network connection from on-premises to AWS, but it does not run AWS services locally in the customer's data center. The requirement to run Amazon EBS-backed EC2 instances on-premises with sub-millisecond latency cannot be met by Direct Connect alone.

When would these options actually be correct?

B

A mobile gaming company needs to run real-time rendering workloads with single-digit millisecond latency for 5G users. They want to use AWS APIs and tools while deploying at the network edge. AWS Wavelength would be the correct answer.

C

A company needs to run latency-sensitive applications (e.g., real-time gaming, live video streaming) in a specific metro area close to users, but does not require on-premises deployment. They want to use standard AWS APIs and tools, and can run Amazon EC2 instances in that location.

D

A company needs a dedicated, low-latency, and consistent network connection between its on-premises data center and AWS VPC to support hybrid workloads, such as real-time data replication or large-scale data migration, without running AWS infrastructure locally.

Why candidates pick the wrong answer

B

Candidates may associate 'low latency' with Wavelength without realizing it is specific to telecom edge locations, not on-premises data centers.

C

Candidates may confuse Local Zones with Outposts because both provide low-latency compute, but Local Zones are AWS-managed edge locations, not customer-owned data centers.

D

Candidates may confuse Direct Connect as a solution for extending AWS services on-premises because it provides a private, low-latency link, but it does not provide local compute or storage capabilities.

928
MCQmedium

A company runs a web application on a single Amazon EC2 instance. As the application gains popularity, the instance frequently reaches 100% CPU utilization during peak hours, causing slow response times. The operations team is evaluating two approaches: (1) migrate the application to a larger EC2 instance type with more CPU and memory, or (2) add multiple smaller EC2 instances behind a load balancer and distribute the traffic. Which cloud computing concept does approach (1) represent?

A.Elasticity
B.High availability
C.Vertical scaling
D.Horizontal scaling
AnswerC

Vertical scaling (also called scaling up) increases the capacity of an existing resource by resizing the Amazon EC2 instance to a larger instance type with more vCPUs and memory. This is exactly approach (1) in the scenario, where a single EC2 instance is upgraded rather than adding new instances. Because the question asks specifically about changing to a larger instance, vertical scaling is the correct answer.

Why this answer

Approach (1) involves moving the application to a larger EC2 instance type with more CPU and memory, which is the definition of vertical scaling (scaling up). This increases the capacity of a single resource rather than adding more instances.

Exam trap

The trap here is that candidates often confuse vertical scaling with elasticity, but elasticity specifically refers to the dynamic, automated adjustment of resources (both up and down) to match demand, not a manual one-time upgrade to a larger instance.

Why the other options are wrong

A

Elasticity refers to the ability to automatically scale resources up or down based on demand, not simply migrating to a larger instance. Approach (1) is a manual, one-time upgrade, not an automated scaling response.

B

High availability refers to systems that remain operational despite component failures, typically achieved through redundancy and failover mechanisms. Approach (1) simply upgrades to a larger instance, which does not eliminate the single point of failure or improve availability.

D

Approach (1) involves increasing the size of a single instance, which is vertical scaling. Horizontal scaling (option D) would involve adding more instances, which is approach (2), not (1).

When would these options actually be correct?

A

A question describing a system that automatically adds or removes EC2 instances based on CPU utilization thresholds, such as using Auto Scaling groups and CloudWatch alarms, would make 'Elasticity' the correct answer.

B

A question asks: 'Which concept describes a system designed to minimize downtime by using redundant components across multiple Availability Zones?' In that context, High availability would be correct because it focuses on fault tolerance and continuous operation.

D

A scenario where the question asks: 'A company adds multiple EC2 instances behind a load balancer to handle increased traffic. Which concept does this represent?' — then horizontal scaling would be correct.

Why candidates pick the wrong answer

A

Candidates may confuse 'scaling up' (vertical scaling) with 'elasticity' because both involve increasing capacity, but elasticity specifically implies dynamic, automated adjustment rather than a static upgrade.

B

Candidates may confuse scaling with availability, thinking that any improvement in performance or capacity also enhances availability, but vertical scaling alone does not provide redundancy or fault tolerance.

D

Candidates may confuse 'scaling up' (vertical) with 'scaling out' (horizontal) due to similar terminology, or mistakenly think adding resources always means adding more instances.

929
MCQmedium

A startup is evaluating cloud vs. on-premises for their new product. Which cloud characteristic means they can experiment with 10 servers for a week, then scale to 1,000 servers for a product launch, and back to 10 afterward — paying only for what they use?

A.Durability
B.Elasticity and pay-as-you-go pricing
C.Multi-tenancy
D.Service Level Agreement (SLA)
AnswerB

Elasticity lets AWS infrastructure automatically scale compute capacity up or down—from 10 to 1,000 EC2 instances—in response to demand, while pay-as-you-go pricing bills only for the actual server-hours consumed. Together they eliminate the need to over-provision for peak loads, converting fixed capital expenditure into variable operational expenditure. This directly matches the described scenario of scaling compute on demand and avoiding idle capacity costs.

Why this answer

Elasticity is the cloud characteristic that allows resources to automatically scale up or down based on demand, while pay-as-you-go pricing ensures you only incur costs for resources actually consumed. In this scenario, the startup can provision 10 servers for a week, scale to 1,000 servers for a launch, and then scale back to 10 — paying only for the compute hours used during each period. This combination of rapid scaling and consumption-based billing is unique to cloud computing and directly supports the described experimental and production workloads.

Exam trap

The trap here is that candidates often confuse elasticity with durability or high availability, mistakenly thinking that data persistence or uptime guarantees enable scaling, when in fact elasticity is specifically about dynamic resource adjustment and pay-as-you-go is about cost alignment.

How to eliminate wrong answers

Option A is wrong because durability refers to the long-term protection of data against loss or corruption, typically achieved through replication (e.g., Amazon S3's 99.999999999% durability), not the ability to scale compute resources up and down or pay per use. Option C is wrong because multi-tenancy is a model where multiple customers share the same physical infrastructure while being logically isolated (e.g., AWS Nitro System), but it does not enable dynamic scaling or usage-based billing. Option D is wrong because a Service Level Agreement (SLA) is a contractual commitment for uptime and performance (e.g., Amazon EC2 99.99% monthly uptime SLA), not a mechanism for elastic resource provisioning or pay-as-you-go pricing.

930
MCQeasy

A company's internal audit team needs to download the latest AWS SOC 2 Type II report and ISO 27001 certificate to include in their compliance documentation for an upcoming external audit. The team requires a centralized, self-service portal where they can access these reports and any other relevant AWS compliance artifacts. They do not want to contact AWS Support or manage any infrastructure to obtain these documents. Which AWS service should the audit team use?

A.AWS Config
B.AWS Artifact
C.AWS Audit Manager
D.AWS Trusted Advisor
AnswerB

AWS Artifact is the correct choice because it is a self-service portal that gives on-demand access to AWS compliance reports, including SOC, ISO, PCI, and FedRAMP documents. Customers can download these official reports directly without contacting AWS Support or provisioning any infrastructure. It also provides access to AWS agreements, such as the Business Associate Addendum (BAA), which are often required by audit teams.

Why this answer

AWS Artifact is the correct service because it provides a centralized, self-service portal for on-demand access to AWS compliance reports, such as SOC 2 Type II and ISO 27001 certificates, without requiring any infrastructure management or contacting AWS Support. The audit team can simply log in, browse the available artifacts, and download the latest versions directly, meeting their requirement for a no-touch, self-service solution.

Exam trap

The trap here is that candidates may confuse AWS Audit Manager's role in audit evidence collection with the ability to download pre-existing AWS compliance reports, but AWS Artifact is the only service designed specifically for self-service access to those artifacts.

Why the other options are wrong

A

AWS Config is used for evaluating and auditing resource configurations, not for downloading compliance reports like SOC 2 or ISO 27001. It does not provide a centralized portal for accessing AWS compliance artifacts.

C

AWS Audit Manager helps continuously audit AWS usage to assess risk and compliance, but it does not provide a self-service portal to download AWS compliance reports like SOC 2 or ISO 27001. Those reports are obtained via AWS Artifact.

D

AWS Trusted Advisor provides recommendations for cost optimization, performance, security, and fault tolerance, but it does not provide access to compliance reports like SOC 2 or ISO 27001 certificates.

When would these options actually be correct?

A

A company needs to continuously monitor and record changes to AWS resource configurations, and automatically evaluate them against desired policies (e.g., ensuring S3 buckets are not publicly accessible). AWS Config would be the correct service for this scenario.

C

A company needs to automate evidence collection for internal audits and continuously monitor compliance against frameworks like SOC 2 or ISO 27001. They want to schedule assessments and generate audit reports without manual effort.

D

A company wants to check their AWS account against AWS best practices for security and receive actionable recommendations to improve their security posture, such as enabling MFA or closing security groups that are too permissive.

Why candidates pick the wrong answer

A

Candidates may confuse 'audit' in the question with AWS Config's auditing capabilities, not realizing that AWS Artifact is the specific service for downloading compliance reports.

C

The name 'Audit Manager' suggests it manages audit-related documents, leading candidates to assume it provides compliance reports, but it focuses on automating audit evidence collection, not distributing AWS's own compliance artifacts.

D

Candidates may confuse Trusted Advisor's security checks with compliance documentation, assuming it provides reports needed for audits.

931
MCQmedium

A company runs a customer-facing web application on a single Amazon EC2 instance. To improve resilience, the solutions architect decides to deploy a second EC2 instance in a different Availability Zone and configure an Application Load Balancer to distribute traffic. The goal is to ensure that the application remains accessible even if one instance or one Availability Zone becomes unavailable. Which cloud computing benefit does this architecture primarily aim to achieve?

A.Elasticity
B.High availability
C.Scalability
D.Cost optimization
AnswerB

High availability ensures that a system remains operational even when components fail. Deploying EC2 instances in multiple Availability Zones behind a load balancer eliminates single points of failure and keeps the application accessible if an instance or an Availability Zone goes down. This directly addresses the requirement for resilience.

Why this answer

By deploying a second EC2 instance in a different Availability Zone and using an Application Load Balancer (ALB) to distribute traffic, the architecture ensures that if one instance or one Availability Zone fails, the ALB automatically routes traffic to the healthy instance in the other AZ. This design directly achieves high availability by eliminating a single point of failure and maintaining application uptime during infrastructure failures.

Exam trap

The trap here is that candidates confuse high availability with scalability or elasticity, mistakenly thinking adding more instances is always about handling more traffic rather than ensuring fault tolerance across Availability Zones.

Why the other options are wrong

A

Elasticity refers to automatically scaling resources up or down based on demand, not deploying across multiple Availability Zones for fault tolerance.

C

Scalability refers to the ability to handle increased load by adding resources, but the primary goal here is ensuring application uptime despite failures, which is high availability.

D

Cost optimization focuses on reducing expenses, not on ensuring application uptime during failures. The described architecture (multiple instances across AZs with a load balancer) is designed for high availability, not cost savings.

When would these options actually be correct?

A

An exam question describing a web application that experiences variable traffic patterns and requires automatic addition or removal of EC2 instances to match load would make elasticity the correct answer.

C

A question where the application experiences variable traffic and the architect adds instances or auto-scaling to handle demand spikes, with the goal of maintaining performance under load.

D

A question that asks: 'A company wants to reduce its monthly EC2 spending by using Reserved Instances and right-sizing instances. Which benefit does this primarily achieve?' would make cost optimization the correct answer.

Why candidates pick the wrong answer

A

Candidates may confuse the ability to add a second instance with scaling, but elasticity focuses on dynamic adjustment of capacity, not static redundancy for resilience.

C

Candidates may confuse adding instances for resilience with scaling, as both involve deploying more resources, but the key difference is the objective: availability vs. capacity.

D

Candidates may confuse cost optimization with high availability because running multiple instances can be seen as a cost-saving measure through redundancy, but the primary goal here is resilience, not cost reduction.

932
MCQmedium

A company wants to provide their data analysts with a way to run SQL queries on their S3 data lake using familiar BI tools like Tableau or Power BI. Which AWS service provides an ODBC/JDBC connection to S3 data?

A.Amazon QuickSight
B.Amazon Athena with JDBC/ODBC drivers
C.Amazon EMR with Hive
D.AWS Glue Data Catalog only
AnswerB

Amazon Athena is a serverless, interactive query service that runs standard SQL directly against data stored in Amazon S3. Athena provides official JDBC and ODBC drivers (from Simba) that enable BI tools like Tableau, Power BI, and QuickSight to connect to Athena as if it were a traditional database, using a preexisting connection string and standard SQL syntax. Because it is serverless, there are no clusters to provision or manage, and you pay only for the data scanned per query—making it the ideal choice for on-demand, low-latency SQL analytics over S3 data.

Why this answer

Amazon Athena is a serverless interactive query service that allows you to run standard SQL directly against data stored in Amazon S3. It provides JDBC and ODBC drivers that enable BI tools like Tableau and Power BI to connect to Athena and query the S3 data lake without needing to move or transform the data.

Exam trap

The trap here is that candidates may confuse Amazon QuickSight (a visualization tool) with the query engine that provides the actual JDBC/ODBC connectivity, or think that AWS Glue Data Catalog alone enables SQL queries, when in fact Athena is the service that combines the Data Catalog with a serverless SQL engine and JDBC/ODBC support.

How to eliminate wrong answers

Option A is wrong because Amazon QuickSight is a BI visualization service, not a SQL query engine that provides JDBC/ODBC connectivity to S3 data; it can use Athena as a data source but does not itself expose an ODBC/JDBC interface. Option C is wrong because Amazon EMR with Hive can query S3 data, but it requires provisioning and managing a Hadoop cluster, and while Hive has a JDBC driver, the question specifically asks for a service that provides an ODBC/JDBC connection to S3 data in a serverless, familiar BI tool context—Athena is the simpler, direct answer. Option D is wrong because AWS Glue Data Catalog is a metadata repository that stores table definitions and schema information; it does not provide a query engine or ODBC/JDBC connectivity on its own.

933
MCQmedium

A company is deploying a multi-tier web application that includes a VPC, subnets, security groups, EC2 instances, and an Application Load Balancer. The team needs to define the entire infrastructure in a version-controlled template so that it can be consistently deployed across development, test, and production environments with minimal manual effort. Which AWS service should the team use to meet this requirement?

A.AWS CloudFormation
B.AWS Elastic Beanstalk
C.AWS OpsWorks
D.AWS Systems Manager
AnswerA

AWS CloudFormation is the correct choice because it enables Infrastructure as Code (IaC) by provisioning AWS resources—including VPCs, subnets, internet gateways, and security groups—from a declarative JSON or YAML template. The template is version-controllable and reusable, so the same multi-tier architecture can be deployed consistently across dev, test, and production environments. CloudFormation stacks also support update, rollback, and drift detection, giving the team precise control over the entire resource lifecycle.

Why this answer

AWS CloudFormation is the correct choice because it is an Infrastructure as Code (IaC) service that allows you to define your entire multi-tier web application infrastructure—including VPC, subnets, security groups, EC2 instances, and an Application Load Balancer—in a version-controlled template (JSON or YAML). This enables consistent, repeatable deployments across development, test, and production environments with minimal manual effort, as CloudFormation handles the provisioning and updates in an orderly, predictable manner.

Exam trap

The trap here is that candidates often confuse AWS Elastic Beanstalk (a PaaS that simplifies deployment) with CloudFormation (an IaC service), but Elastic Beanstalk does not provide the granular, version-controlled control over network components like VPCs and subnets required by the question.

Why the other options are wrong

B

AWS Elastic Beanstalk is a PaaS service that abstracts infrastructure management, but it does not provide version-controlled infrastructure-as-code templates for defining VPCs, subnets, security groups, and other low-level resources. The requirement is for a template-based, version-controlled deployment of the entire infrastructure, which is exactly what CloudFormation offers.

C

AWS OpsWorks is a configuration management service that uses Chef or Puppet, not a declarative infrastructure-as-code template service. The requirement is for a version-controlled template to define the entire infrastructure, which is the purpose of AWS CloudFormation.

D

AWS Systems Manager is a management service for operational tasks like patching and automation, not for defining and deploying entire infrastructure templates in a version-controlled manner.

When would these options actually be correct?

B

A team needs to quickly deploy a web application without managing the underlying infrastructure, and they want automatic scaling, load balancing, and health monitoring. They are not concerned with defining VPCs or subnets manually. In that scenario, Elastic Beanstalk would be the correct choice.

C

A company uses Chef recipes to manage application configuration and needs a service to automate server configuration and deployment across EC2 instances. AWS OpsWorks would be the correct choice for managing lifecycle and configuration with Chef or Puppet.

D

A question asking which service to use for automating patching, running commands, or managing configuration across a fleet of EC2 instances without SSH access would make Systems Manager correct.

Why candidates pick the wrong answer

B

Candidates may confuse Elastic Beanstalk's ability to deploy and manage applications with the need for infrastructure-as-code templates. They might think Elastic Beanstalk can also produce version-controlled templates, but it focuses on application deployment, not low-level infrastructure definition.

C

Candidates may confuse OpsWorks as an infrastructure-as-code tool because it can automate deployments and manage stacks, but it focuses on configuration management rather than declarative infrastructure definition.

D

Candidates may confuse Systems Manager's automation capabilities with infrastructure provisioning, or think its 'Automation' feature can replace CloudFormation for template-based deployments.

934
MCQmedium

A company stores sensitive financial reports in an Amazon S3 bucket. The company's security policy mandates that all objects be encrypted at rest using an AWS KMS customer-managed key. The security team wants to ensure that only the 'Auditors' IAM role can decrypt the objects, even though the S3 bucket policy allows read access to a broader set of users. Which of the following steps must the security team take to enforce this access control?

A.Configure the S3 bucket to use SSE-KMS encryption with the customer-managed key, and modify the KMS key policy to grant the kms:Decrypt permission only to the 'Auditors' role.
B.Configure an S3 bucket policy that denies s3:GetObject requests unless the request is encrypted in transit using HTTPS.
C.Enable S3 Block Public Access on the bucket and attach an IAM policy to the 'Auditors' role that allows s3:GetObject.
D.Use S3 object-level logging to monitor access and revoke permissions for any role that attempts to decrypt objects without authorization.
AnswerA

This is correct. SSE-KMS encrypts objects at rest using a KMS key. The KMS key policy controls who can use the key to decrypt objects. By restricting kms:Decrypt to the 'Auditors' role, only that role can decrypt the objects, regardless of broader S3 read permissions.

Why this answer

SSE-KMS with a customer-managed key separates encryption key management from S3 bucket policies. The KMS key policy is the authoritative access control for decryption operations. By granting kms:Decrypt only to the 'Auditors' role, even if the S3 bucket policy allows s3:GetObject to other users, they cannot decrypt the objects without the key permission.

This enforces the security requirement that only the Auditors role can decrypt the sensitive financial reports.

Exam trap

The trap here is that candidates often assume S3 bucket policies alone can control decryption, but AWS enforces KMS key policies as a separate authorization layer, so without explicitly restricting kms:Decrypt in the key policy, any user with s3:GetObject can decrypt the objects if they have KMS permissions through their IAM role or user.

Why the other options are wrong

B

This option addresses encryption in transit (HTTPS), not encryption at rest or access control over decryption. The requirement is to restrict decryption of objects at rest to the 'Auditors' role, which is unrelated to transport encryption.

C

This option does not enforce that only the 'Auditors' role can decrypt objects; it only blocks public access and grants s3:GetObject, but decryption is controlled by KMS permissions, not S3 bucket policies or IAM policies for s3:GetObject.

D

S3 object-level logging only records access events; it does not enforce access control or prevent unauthorized decryption. The requirement is to restrict decryption access, not just monitor it.

When would these options actually be correct?

B

This option would be correct in a scenario where the security policy mandates that all data in transit to and from S3 must be encrypted, and the goal is to enforce HTTPS-only access to prevent unencrypted requests.

C

This option would be correct if the requirement was to prevent public access to the S3 bucket and ensure that only a specific IAM role can read objects, without any encryption-specific restrictions. For example, a question where the security policy mandates that only the 'Auditors' role can read objects from a bucket that does not require encryption at rest.

D

A company needs to audit all access to encrypted objects in an S3 bucket to detect unauthorized decryption attempts. The security team must enable S3 object-level logging and use Amazon Detective or CloudWatch to analyze logs and revoke permissions for any role that violates policy.

Why candidates pick the wrong answer

B

Candidates may confuse encryption in transit with encryption at rest, or think that enforcing HTTPS is sufficient to protect sensitive data, overlooking the need for separate decryption access controls.

C

Candidates may think that blocking public access and attaching an IAM policy with s3:GetObject to the 'Auditors' role is sufficient to restrict access, overlooking that decryption permissions are separate from read permissions when SSE-KMS is used.

D

Candidates may think that monitoring and subsequent manual revocation can enforce access control, but the question asks for a proactive enforcement mechanism, not a reactive one.

935
MCQmedium

A company has a compliance policy requiring that all data at rest in Amazon S3 be encrypted with a key that is automatically rotated every year. The company wants to manage the encryption keys themselves, maintain control over access policies, and have AWS handle the key rotation automatically. Which AWS service should the company use?

A.AWS Key Management Service (AWS KMS)
B.AWS CloudHSM
C.AWS Secrets Manager
D.AWS Certificate Manager
AnswerA

AWS KMS provides customer managed keys (CMKs) that can be used with S3 server-side encryption (SSE-KMS). KMS supports automatic annual rotation of these keys, which directly meets the 'data at rest encrypted with regularly rotated keys' requirement while allowing you to maintain full control over key policies and access permissions. Unlike simpler encryption options, KMS also provides audit trails through CloudTrail integrated actions, giving compliance teams evidence of key usage and rotation. This is why KMS is the correct answer for a compliance policy mandating encryption key rotation.

Why this answer

AWS KMS allows you to create customer managed keys (CMKs) with automatic annual rotation enabled. You retain control over key policies and access permissions, while AWS handles the rotation of the key material. This satisfies the compliance requirement for encrypted data at rest in S3 with automatic yearly key rotation.

Exam trap

The trap here is confusing AWS KMS with AWS CloudHSM, as both involve encryption keys, but CloudHSM requires you to manage key rotation manually, failing the automatic rotation requirement.

Why the other options are wrong

B

AWS CloudHSM provides hardware-based key storage but does not offer automatic key rotation; the customer must manage rotation themselves, which violates the requirement for automatic yearly rotation.

C

AWS Secrets Manager is designed for managing secrets like database credentials and API keys, not for managing encryption keys for S3 data at rest. It does not provide the key rotation and access control policies needed for S3 encryption.

D

AWS Certificate Manager is used to manage SSL/TLS certificates for securing network traffic, not for encrypting data at rest in S3. It does not provide key rotation for S3 encryption keys.

When would these options actually be correct?

B

A company needs to store encryption keys in a dedicated hardware security module (HSM) under their sole control, with no AWS access to the keys, and is willing to manage key rotation manually or via custom scripts.

C

A company needs to automatically rotate database credentials stored in a secure service, with built-in integration for RDS, Redshift, and DocumentDB. AWS Secrets Manager would be the correct choice for managing and rotating those secrets.

D

A company needs to automatically renew and deploy SSL/TLS certificates for its web applications hosted on AWS, and wants AWS to handle certificate renewal without manual intervention.

Why candidates pick the wrong answer

B

Candidates may confuse CloudHSM's strong security and customer-managed keys with the automatic rotation feature, not realizing that CloudHSM lacks built-in automatic key rotation.

C

Candidates may confuse Secrets Manager with KMS because both involve 'secrets' and 'rotation', but Secrets Manager handles application secrets, not encryption keys for data at rest.

D

Candidates may confuse 'key rotation' with 'certificate renewal' and think ACM's automatic renewal applies to encryption keys, not understanding that ACM manages certificates, not encryption keys for S3.

936
MCQmedium

A company needs to provide secure, scalable file storage for thousands of concurrent users accessing the same shared file system from Linux-based EC2 instances. Which AWS service is most appropriate?

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

Amazon EFS is a fully managed, POSIX-compliant file system designed for Linux workloads that automatically scales storage capacity and throughput as files are added or accessed. It uses the NFSv4.1 protocol and can be mounted simultaneously on thousands of EC2 instances across multiple Availability Zones, eliminating the need for manual capacity planning. This elasticity and concurrency make EFS the correct choice for scenarios requiring a shared file system with a high number of concurrent Linux users.

Why this answer

Amazon EFS (Elastic File System) is the correct choice because it provides a fully managed, scalable, and elastic NFS file system that can be concurrently accessed by thousands of Linux-based EC2 instances. It automatically scales storage capacity up and down as files are added or removed, and it supports the NFSv4.1 and NFSv4.0 protocols, making it ideal for shared file workloads on Linux.

Exam trap

The trap here is that candidates often confuse Amazon EBS Multi-Attach with a true shared file system, not realizing it is limited to a small number of instances in the same AZ and requires application-level coordination for writes, making it unsuitable for thousands of concurrent users.

How to eliminate wrong answers

Option A is wrong because Amazon EBS Multi-Attach only allows a single EBS volume to be attached to up to 16 Nitro-based EC2 instances in the same Availability Zone, and it does not support concurrent write access from multiple instances—it is designed for clustered applications that manage I/O coordination themselves, not for thousands of concurrent users. Option C is wrong because Amazon S3 is an object storage service accessed via HTTP/HTTPS APIs (REST/SOAP), not a file system; it does not provide a POSIX-compliant file system interface and cannot be mounted directly as a shared file system by EC2 instances without additional software (e.g., S3FS FUSE), which introduces performance and consistency limitations. Option D is wrong because Amazon FSx for Windows File Server provides SMB-based file storage for Windows-based workloads, not Linux; it does not natively support NFS and is not designed for Linux-based EC2 instances.

937
MCQmedium

A company runs a mix of Amazon EC2 instances across multiple AWS Regions to support its e-commerce platform. The finance team wants to reduce compute costs by right-sizing resources. They need a managed tool that analyzes historical CPU and memory utilization over 30 days, uses machine learning to identify over-provisioned and under-provisioned instances, and provides actionable recommendations to adjust instance sizes. Which AWS tool should the finance team use?

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

AWS Compute Optimizer is a service that uses machine learning to analyze historical utilization metrics (CPU, memory, network throughput) for EC2 instances and other resources. It identifies over- and under-provisioned instances and provides specific recommendations to change instance types or sizes to reduce costs or improve performance. This directly matches the finance team's requirement for ML-based right-sizing based on 30-day utilization data.

Why this answer

AWS Compute Optimizer is the correct choice because it is a managed service that uses machine learning to analyze historical utilization metrics (CPU, memory, etc.) over up to 93 days, identifies over-provisioned and under-provisioned EC2 instances, and generates actionable rightsizing recommendations. The question specifically requires a tool that analyzes 30 days of historical CPU and memory data with ML-driven insights, which aligns exactly with Compute Optimizer's core functionality.

Exam trap

The trap here is that candidates often confuse AWS Cost Explorer's cost-based rightsizing recommendations (which are purely financial) with Compute Optimizer's utilization-based ML recommendations, leading them to select Cost Explorer despite the question explicitly requiring CPU and memory analysis.

Why the other options are wrong

A

AWS Trusted Advisor provides general best-practice checks for cost optimization, but it does not use machine learning to analyze historical CPU and memory utilization over 30 days to right-size instances. It offers static recommendations based on rules, not ML-driven analysis.

B

AWS Cost Explorer provides cost and usage data but does not analyze historical CPU/memory utilization or use machine learning to right-size instances; it lacks the specific resource utilization analysis needed.

When would these options actually be correct?

A

A company wants a single dashboard to check for unused resources, idle instances, and other cost-saving opportunities based on AWS best practices, without needing ML-based right-sizing. Trusted Advisor would be the correct tool for that scenario.

B

A finance team wants to visualize and analyze their AWS spending over time, identify cost trends, and break down costs by service or linked account to understand where money is being spent.

Why candidates pick the wrong answer

A

Candidates may confuse Trusted Advisor's cost optimization checks with the more advanced, ML-based right-sizing capabilities of Compute Optimizer, assuming any cost recommendation tool can do the job.

B

Candidates may confuse cost analysis tools with resource optimization tools, assuming Cost Explorer's cost data can directly inform right-sizing decisions without needing utilization metrics.

938
MCQmedium

A company runs a web application on a single Amazon EC2 instance. To improve the application's ability to remain operational even if an entire data center becomes unavailable, the company deploys identical application instances across three AWS Availability Zones and places them behind an Application Load Balancer. Which characteristic of cloud computing does this architecture best demonstrate?

A.Elasticity
B.High availability
C.Scalability
D.Agility
AnswerB

High availability is the cloud characteristic that keeps a workload operational during component or infrastructure failures by removing single points of failure. In this scenario, a single EC2 instance is a sole point of failure; deploying the web application across multiple Availability Zones and placing it behind a load balancer ensures that if one instance or an entire AZ fails, traffic is redirected to healthy instances. This directly meets the requirement for continuous availability, so it is the correct answer.

Why this answer

Deploying identical application instances across three Availability Zones and placing them behind an Application Load Balancer ensures that if an entire data center (AZ) becomes unavailable, traffic is automatically rerouted to healthy instances in the remaining AZs. This architecture directly demonstrates high availability, which is the ability of a system to remain operational despite component failures, by eliminating a single point of failure at the data center level.

Exam trap

The trap here is that candidates often confuse high availability with elasticity or scalability, but high availability specifically focuses on fault tolerance and uptime through redundancy across isolated failure domains, not on dynamic resource adjustment or load handling.

Why the other options are wrong

A

Elasticity refers to automatically scaling resources up or down based on demand, not distributing workloads across Availability Zones for fault tolerance. The described architecture focuses on redundancy across zones, not dynamic scaling.

C

Scalability refers to the ability to automatically adjust resources to handle varying load, not to surviving data center failures. The scenario describes distributing instances across Availability Zones for fault tolerance, which is high availability, not scalability.

D

Agility refers to the ability to rapidly provision and deprovision resources, not to maintaining operation during data center failures. The scenario describes distributing instances across Availability Zones to ensure uptime, which is high availability.

When would these options actually be correct?

A

A question describing an application that automatically adds or removes EC2 instances based on CPU utilization or traffic spikes would make elasticity the correct answer, as it demonstrates dynamic resource adjustment.

C

A question describing a web application that experiences unpredictable traffic spikes and automatically adds or removes EC2 instances based on demand using Auto Scaling groups would make scalability the correct answer.

D

A question asking which cloud characteristic allows a company to quickly deploy a new application environment in response to a sudden market opportunity, with minimal manual intervention and rapid provisioning of compute and storage resources.

Why candidates pick the wrong answer

A

Candidates may confuse high availability with elasticity because both involve multiple instances, but elasticity emphasizes scaling to meet demand, not surviving zone failures.

C

Candidates may confuse distributing resources across zones with scaling out, but the primary goal here is resilience, not capacity adjustment.

D

Candidates may confuse agility with high availability because both involve quick responses, but agility is about speed of resource provisioning, not fault tolerance.

939
MCQmedium

A company wants to implement governance controls that prevent their developers from provisioning expensive instance types. Which approach is most effective?

A.Set an AWS Budget alert for when expensive instances are launched
B.Apply an SCP or IAM policy that denies launching specific expensive instance types
C.Enable AWS Cost Explorer recommendations
D.Enable Trusted Advisor and review weekly
AnswerB

This is a preventive control because it denies the action before it happens. In IAM, you can attach a policy with a Condition that uses the ec2:InstanceType key to deny the ec2:RunInstances action for specific expensive types, such as p4d.24xlarge. At the organization level, an SCP with the same condition can enforce this across all child accounts, and it cannot be overridden by the account's own IAM policies. For an SCP to be effective, the root user must not be able to bypass it, which is the case for IAM-user actions.

Why this answer

Service Control Policies (SCPs) or IAM policies can explicitly deny the launch of specific expensive instance types (e.g., `p3.2xlarge` or `x1e.32xlarge`) at the API level, preventing the action before any resources are created. This proactive governance approach enforces compliance in real time, unlike reactive or advisory methods. By attaching a deny effect for `ec2:RunInstances` with a condition on `ec2:InstanceType`, the policy blocks unauthorized instance provisioning regardless of the user's role or account.

Exam trap

The trap here is that candidates confuse reactive cost management tools (like budgets and Cost Explorer) with proactive governance controls, assuming alerts or recommendations can prevent actions rather than just monitor or advise.

How to eliminate wrong answers

Option A is wrong because AWS Budget alerts are reactive notifications that only inform after an instance is launched and costs are incurred, not a preventive control that stops provisioning. Option C is wrong because AWS Cost Explorer recommendations are advisory tools that suggest cost optimizations based on historical data, but they do not enforce any restrictions on instance type selection. Option D is wrong because Trusted Advisor provides best-practice checks and weekly reviews, but it does not actively block API calls or prevent developers from launching expensive instances.

940
MCQmedium

A company hosts a static website on Amazon S3. Users in different geographic locations experience high latency when accessing the website. The company wants to reduce latency for all users and also minimize the number of direct requests to the S3 bucket. Which AWS service should the company use?

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

Amazon CloudFront is a content delivery network (CDN) that caches static content at edge locations worldwide. This reduces latency by serving content from a nearby edge location and reduces the number of direct requests to the S3 bucket, thereby offloading the origin.

Why this answer

Amazon CloudFront is a content delivery network (CDN) that caches static content at edge locations worldwide, significantly reducing latency for users regardless of their geographic location. By serving content from the edge, CloudFront also offloads direct requests to the S3 bucket, reducing the load on the origin and potentially lowering costs.

Exam trap

The trap here is that candidates often confuse AWS Global Accelerator (which optimizes network path but does not cache) with CloudFront (which caches content at the edge), leading them to choose Global Accelerator for a static website latency problem.

Why the other options are wrong

A

AWS Global Accelerator improves performance for TCP/UDP traffic by routing over the AWS global network, but it does not cache static content or reduce direct requests to the S3 bucket. For a static website, CloudFront's content delivery network (CDN) is the appropriate service to cache content at edge locations and minimize S3 requests.

C

Amazon Route 53 latency-based routing directs traffic to the region with the lowest latency, but it does not cache content or reduce direct requests to the S3 bucket; each user request still goes directly to S3, which can cause high latency and load on the bucket.

D

AWS Direct Connect establishes a dedicated network connection from on-premises to AWS, which does not reduce latency for geographically distributed users accessing a public S3 website, nor does it minimize direct S3 requests.

When would these options actually be correct?

A

A company has a dynamic web application or an API that requires fast and reliable TCP/UDP traffic routing, and they need to improve performance for users globally while also providing static IP addresses for whitelisting. In that scenario, AWS Global Accelerator would be the correct choice.

C

Route 53 latency-based routing would be correct if the company hosts dynamic content on multiple EC2 instances across regions and wants to route users to the region with the lowest latency, without needing caching or reducing direct requests to the origin.

D

A company needs a dedicated, private, and consistent network connection between its on-premises data center and AWS to reduce latency, increase bandwidth, or meet compliance requirements for hybrid cloud workloads.

Why candidates pick the wrong answer

A

Candidates may confuse Global Accelerator's global network optimization with CloudFront's caching capabilities, assuming both reduce latency similarly, but Global Accelerator does not cache content.

C

Candidates may think that routing based on latency directly reduces user latency, but they overlook that it doesn't cache content or offload requests from the origin, which is necessary for static content served from a single S3 bucket.

D

Candidates may think Direct Connect can improve latency by providing a faster path to AWS, but it only benefits traffic from a specific on-premises location, not global users.

941
MCQmedium

A company runs hundreds of Amazon EC2 instances across multiple accounts. The finance team wants to identify over-provisioned instances that are using more memory or CPU than necessary, so that they can downsize them and reduce monthly costs. The team needs automated, ongoing recommendations based on the actual utilization metrics of the instances. Which AWS service should the team use to meet these requirements?

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

AWS Compute Optimizer uses machine learning to analyze historical utilization metrics of EC2 instances (CPU, memory, network, etc.) and delivers actionable recommendations to downsize or modify instance types to lower costs while maintaining performance. It provides ongoing, automated recommendations.

Why this answer

AWS Compute Optimizer is the correct service because it uses machine learning to analyze historical utilization metrics (CPU, memory, and network) of EC2 instances and generates automated, ongoing recommendations for right-sizing or downsizing over-provisioned instances. This directly meets the finance team's requirement for automated, continuous recommendations based on actual utilization to reduce monthly costs.

Exam trap

The trap here is that candidates often confuse AWS Trusted Advisor's cost optimization checks (which are static and limited to idle instances) with Compute Optimizer's dynamic, ML-driven right-sizing recommendations, leading them to choose Trusted Advisor instead of the more precise Compute Optimizer.

Why the other options are wrong

A

AWS Cost Explorer provides cost and usage data but does not analyze instance utilization (CPU/memory) to generate downsizing recommendations. It lacks the automated, ongoing optimization suggestions based on actual metrics that the question requires.

C

AWS Trusted Advisor provides cost optimization checks, but it does not offer automated, ongoing recommendations based on actual utilization metrics for EC2 instances. It gives static checks like idle instances or underutilized Amazon EBS volumes, not dynamic rightsizing recommendations.

D

AWS Budgets is used for setting cost and usage budgets and receiving alerts, not for analyzing instance utilization to recommend downsizing. It does not provide recommendations based on memory or CPU metrics.

When would these options actually be correct?

A

A company wants to visualize historical spending patterns, identify cost trends, and break down costs by service or linked account to manage budgets. The team needs to analyze past costs, not receive automated resource optimization recommendations.

C

A company wants a one-time review of their AWS account to identify cost savings opportunities, such as idle instances or underutilized resources, without needing ongoing automated recommendations. Trusted Advisor would be the correct service for this scenario.

D

A company wants to set a monthly spending limit for EC2 instances and receive alerts when costs exceed a threshold. AWS Budgets would be the correct service to create cost budgets and get notifications.

Why candidates pick the wrong answer

A

Candidates may associate Cost Explorer with cost reduction and assume it can recommend downsizing, but it focuses on cost analysis rather than resource utilization optimization.

C

Candidates may confuse Trusted Advisor's cost optimization checks with the more specific, utilization-based rightsizing recommendations provided by Compute Optimizer, assuming Trusted Advisor covers all cost-related advice.

D

Candidates may confuse cost management with cost optimization, thinking that a service named 'Budgets' would help reduce costs by identifying waste, but it only tracks spending against limits.

942
MCQmedium

A startup is migrating a web application to AWS. The application runs on Amazon EC2 instances that use a custom Amazon Machine Image (AMI) with the company's proprietary software. The security team needs to understand which security tasks the company must perform. Under the AWS Shared Responsibility Model, which of the following is the customer's responsibility?

A.Patching the hypervisor that hosts the EC2 instances
B.Configuring security groups to control inbound traffic to the instances
C.Physical security of the data center where the instances run
D.Maintaining the underlying network infrastructure
AnswerB

Security groups are stateful, instance-level virtual firewalls that customers fully configure. Defining inbound rules to allow or deny traffic by source IP, port, and protocol is a customer responsibility under the AWS Shared Responsibility Model. AWS provides the enforcement mechanism, but the rules themselves are customer-defined, making this a required customer task.

Why this answer

Configuring security groups is a customer responsibility because security groups act as a virtual firewall for EC2 instances, controlling inbound and outbound traffic at the instance level. Under the AWS Shared Responsibility Model, the customer is responsible for configuring network access controls, while AWS manages the underlying infrastructure. This includes defining rules based on IP protocols, ports, and source/destination CIDR ranges.

Exam trap

The trap here is that candidates often confuse 'patching the hypervisor' (AWS responsibility) with 'patching the guest OS' (customer responsibility), leading them to incorrectly select Option A as a customer task.

Why the other options are wrong

A

Patching the hypervisor is AWS's responsibility under the Shared Responsibility Model, as it is part of the virtualization layer managed by AWS.

C

Physical security of the data center is AWS's responsibility under the Shared Responsibility Model, not the customer's. The customer is responsible for security in the cloud, not of the cloud.

D

Maintaining the underlying network infrastructure is AWS's responsibility under the Shared Responsibility Model, not the customer's. The customer is responsible for configuring network controls like security groups and VPC settings, but not the physical or logical network infrastructure itself.

When would these options actually be correct?

A

If the question asked about patching the guest operating system or applications running on the EC2 instance, then the customer would be responsible for that task.

C

If the question asked about a customer's responsibility in an on-premises data center or a hybrid scenario where the customer manages their own physical infrastructure, then physical security would be the customer's responsibility.

D

If the question asked about a hybrid deployment where the customer manages their own on-premises network that connects to AWS (e.g., via Direct Connect or VPN), then maintaining that customer-side network infrastructure would be the customer's responsibility.

Why candidates pick the wrong answer

A

Candidates may confuse hypervisor patching with OS patching, assuming all patching is the customer's responsibility, or they may not fully understand the division of security responsibilities in the cloud.

C

Candidates may confuse the shared responsibility model, thinking that physical security is a shared task, or they may not clearly distinguish between security of the cloud (AWS) and security in the cloud (customer).

D

Candidates may confuse 'network infrastructure' with customer-managed network configurations (e.g., VPC, subnets, routing) and think it includes underlying hardware or AWS-managed components.

943
MCQmedium

A company uses AWS Organizations to manage multiple accounts. The security team needs to enforce a consistent set of security group rules across all accounts. For example, they want to ensure that no security group in any account allows inbound SSH (port 22) from the internet (0.0.0.0/0). If a non-compliant security group is created, the service should automatically remediate by removing the offending rule or by applying a corrective policy. The company wants a managed AWS service that centrally applies these rules and requires no custom scripting. Which AWS service should the security team use?

A.AWS Firewall Manager
B.AWS Config
C.AWS Organizations
D.AWS Shield Advanced
AnswerA

AWS Firewall Manager is the correct service because it centralizes security policy management across all accounts in AWS Organizations. You can create a security group policy that defines an allowed inbound SSH CIDR baseline, and Firewall Manager will automatically enforce it by updating any non-compliant security groups, including those on newly created resources. It provides continuous monitoring and built-in remediation without requiring custom code or manual intervention, which exactly matches the need to enforce and remediate restrictive SSH access.

Why this answer

AWS Firewall Manager is the correct service because it provides a centralized, managed way to apply security group rules across all accounts in an AWS Organization. It can automatically detect non-compliant security groups (e.g., those allowing SSH from 0.0.0.0/0) and remediate them by removing the offending rule or applying a corrective policy, all without custom scripting.

Exam trap

The trap here is that candidates often confuse AWS Config's compliance evaluation and remediation capabilities with Firewall Manager's centralized policy enforcement, forgetting that Config requires custom scripting for automatic remediation, whereas Firewall Manager provides it as a managed service.

Why the other options are wrong

B

AWS Config can detect non-compliant security group rules via managed rules, but it cannot automatically remediate them without custom AWS Config rules and custom Lambda functions, which violates the 'no custom scripting' requirement.

C

AWS Organizations is a service for centrally managing multiple AWS accounts, but it does not provide security group rule enforcement or remediation. It lacks the ability to automatically detect and fix non-compliant security groups.

D

AWS Shield Advanced is a managed DDoS protection service, not a service for centrally enforcing security group rules across accounts. It does not provide security group compliance or remediation capabilities.

When would these options actually be correct?

B

AWS Config would be correct if the question required detecting non-compliant security group rules across accounts and optionally triggering custom remediation via AWS Systems Manager Automation or Lambda, but explicitly allowed custom scripting for remediation.

C

A company needs to centrally manage multiple AWS accounts, apply service control policies (SCPs) to restrict permissions, or consolidate billing. In such a scenario, AWS Organizations would be the correct service.

D

A company wants to protect its applications running on AWS from DDoS attacks, requiring advanced detection and mitigation, including cost protection against scaling charges. AWS Shield Advanced would be the correct choice.

Why candidates pick the wrong answer

B

Candidates often associate AWS Config with compliance monitoring and think its auto-remediation feature (SSM Automation) can fix rules without scripting, but that still requires custom automation documents, not a managed service.

C

Candidates may think that since AWS Organizations manages accounts centrally, it can also enforce security rules across accounts, but it only provides policy-based guardrails (SCPs) for IAM actions, not for security group configurations.

D

Candidates may confuse 'security' services and think Shield Advanced provides broader security management, or they may misread the question as focusing on network security rather than compliance enforcement.

944
MCQmedium

A company operates multiple AWS accounts under AWS Organizations. The security team needs to record all management events (for example, creating Amazon EC2 instances, modifying security groups, and deleting Amazon S3 buckets) across all accounts. The logs must be delivered to a single Amazon S3 bucket that is encrypted with an AWS KMS key and protected from modification. Which AWS feature should the team enable to achieve this centralized logging requirement?

A.AWS CloudTrail
B.AWS Config
C.Amazon CloudWatch Logs
D.AWS Audit Manager
AnswerA

AWS CloudTrail records API calls and can be configured as an organization trail to log activity across all accounts in AWS Organizations. It delivers log files to a specified S3 bucket, where encryption and immutability can be applied.

Why this answer

AWS CloudTrail is the correct service because it records all management events (API calls) across AWS accounts, and when configured as an organization trail in AWS Organizations, it automatically logs events from all member accounts to a single S3 bucket. This meets the requirement for centralized logging with encryption using AWS KMS and protection from modification via S3 bucket policies and versioning.

Exam trap

The trap here is that candidates often confuse CloudTrail for management events with AWS Config for configuration changes, or assume CloudWatch Logs can aggregate all account logs, but only CloudTrail provides the required centralized API activity logging across an organization.

Why the other options are wrong

B

AWS Config records resource configuration changes and evaluates compliance, but it does not capture management events like API calls (e.g., creating EC2 instances). The question specifically requires recording management events, which is CloudTrail's function.

C

Amazon CloudWatch Logs is used for monitoring, storing, and accessing log files from AWS resources, but it does not record management events like API calls across accounts. The requirement to capture management events across all accounts and deliver to a centralized S3 bucket is specifically a CloudTrail feature.

D

AWS Audit Manager helps audit AWS usage by continuously evaluating controls, but it does not natively record and centralize management events like CloudTrail. It relies on CloudTrail logs for evidence, not as the primary event recorder.

When would these options actually be correct?

B

A company needs to track changes to AWS resource configurations (e.g., security group rules, S3 bucket policies) across multiple accounts and evaluate them against compliance rules. AWS Config would be the correct service to enable centralized configuration recording and auditing.

C

A company needs to centralize application and system logs (e.g., from EC2 instances, Lambda functions) from multiple accounts into a single S3 bucket for long-term storage and analysis. CloudWatch Logs with cross-account subscription filters would be the correct service to aggregate these logs.

D

A company needs to continuously assess compliance against predefined controls (e.g., PCI-DSS) across multiple accounts, with automated evidence collection and report generation. AWS Audit Manager would be the correct service to streamline audit preparation.

Why candidates pick the wrong answer

B

Candidates may confuse AWS Config's configuration tracking with CloudTrail's event logging, or think Config can log all API actions because it records configuration changes that result from those actions.

C

Candidates may confuse CloudWatch Logs with CloudTrail because both deal with logging, but CloudWatch Logs focuses on operational logs from applications and services, not on recording API management events for governance and auditing.

D

Candidates may confuse Audit Manager's audit and compliance focus with the logging and monitoring requirements of the question, assuming it can centralize event logs when it actually consumes them from other services.

945
MCQmedium

A company wants to use AWS free tier for testing new services. Which statement about the AWS Free Tier is accurate?

A.The Free Tier is available indefinitely for all AWS services
B.The Free Tier includes a mix of 12-month free, always free, and short-term trial offers
C.The Free Tier applies equally to all AWS accounts including Enterprise support customers
D.AWS does not charge if you stay within Free Tier limits for any service
AnswerB

The AWS Free Tier is a promotional bundle with three distinct categories: 12-month free offers (e.g., 750 hours of EC2 t2.micro per month), Always Free offers (e.g., 10 GB of Amazon DynamoDB storage), and short-term trials (e.g., 30-day free trial for Amazon Redshift). These categories are not interchangeable; each has its own duration and eligibility criteria. This mix is designed to let new customers explore a range of services without immediate cost, but it does not apply uniformly across all services.

Why this answer

The AWS Free Tier is structured into three categories: 12-month free offers (e.g., 750 hours of EC2 t2.micro per month), always free offers (e.g., 1 million Lambda requests per month), and short-term trials (e.g., 30-day free trial of Amazon Inspector). This mix allows customers to test services without incurring costs for the specified limits and durations.

Exam trap

The trap here is that candidates assume the Free Tier covers all usage within limits for any service, but AWS explicitly excludes certain services (e.g., data transfer out beyond 1 GB) and imposes time-bound offers, leading to unexpected charges if not carefully monitored.

How to eliminate wrong answers

Option A is wrong because the Free Tier is not available indefinitely for all services; only 'always free' offers are permanent, while 12-month free offers expire after one year and short-term trials have a fixed duration. Option C is wrong because the Free Tier does not apply equally to all accounts; Enterprise support customers may have additional costs (e.g., support fees) and the Free Tier limits are per account, not per support plan. Option D is wrong because AWS does charge if you exceed the Free Tier limits for any service, and some services (e.g., data transfer out) may incur costs even within Free Tier limits if usage patterns violate the terms.

946
MCQmedium

A company is refactoring its monolithic e-commerce application into multiple microservices. The order-processing service must send messages to the inventory service to reserve stock. The company needs a fully managed service that can durably store these messages, handle high throughput, and allow the inventory service to poll for messages at its own pace. The company wants to avoid any message loss. Which AWS service should the company use?

A.Amazon Simple Queue Service (SQS)
B.Amazon Simple Notification Service (SNS)
C.Amazon Kinesis Data Streams
D.Amazon MQ
AnswerA

Correct. Amazon SQS is a fully managed message queue service designed for decoupling application components. It stores messages durably, supports high throughput, and allows consumers to poll for messages, ensuring no message loss. This fits the requirement perfectly.

Why this answer

Amazon SQS is the correct choice because it is a fully managed message queuing service that durably stores messages across multiple Availability Zones, ensuring no message loss. It supports high throughput and allows the inventory service to poll for messages at its own pace using long or short polling, decoupling the order-processing and inventory services.

Exam trap

The trap here is that candidates might choose Amazon SNS because they confuse push-based notifications with durable message queuing, overlooking that SNS does not store messages or allow polling, which is essential for decoupled, loss-free communication.

Why the other options are wrong

B

SNS is a pub/sub messaging service that pushes messages to subscribers; it does not support polling by consumers. The inventory service needs to poll for messages at its own pace, which SQS provides via long polling. SNS also does not durably store messages for individual consumer retrieval.

C

Amazon Kinesis Data Streams is designed for real-time streaming of large data volumes, not for decoupled message queuing with individual message polling. It requires consumers to process records in order within shards, and does not support independent polling at the consumer's own pace without managing shard iterators.

D

Amazon MQ is a managed message broker for ActiveMQ or RabbitMQ, not a fully managed service that durably stores messages with high throughput and polling at the consumer's pace. It requires managing brokers and is not serverless, and it does not guarantee the same level of durability and scalability as SQS for this use case.

When would these options actually be correct?

B

A company needs to send order confirmation emails and SMS alerts to customers when an order is placed. The system must fan out a single message to multiple subscribers (email, SMS, mobile push) simultaneously. Amazon SNS would be the correct choice for this pub/sub notification pattern.

C

A company needs to ingest and process real-time clickstream data from a website, analyze it with multiple consumer applications (e.g., real-time dashboards, anomaly detection), and retain the data for up to 7 days for replay. Kinesis Data Streams would be the correct choice for this high-throughput, ordered stream processing scenario.

D

A company needs to migrate an existing on-premises application that uses JMS-compatible message brokers (e.g., ActiveMQ or RabbitMQ) to AWS without rewriting the application code. Amazon MQ would be the correct choice because it provides a managed broker that supports standard messaging protocols and JMS APIs.

Why candidates pick the wrong answer

B

Candidates may confuse SNS with SQS because both are messaging services. They might think SNS can store messages for consumers to poll, but SNS is push-based and does not provide message durability for individual consumers.

C

Candidates may confuse high-throughput message streaming with durable message queuing, or think Kinesis is a general-purpose messaging service. The mention of 'high throughput' and 'durably store' can mislead them into selecting Kinesis over SQS.

D

Candidates may confuse Amazon MQ with a fully managed messaging service, but it is actually a managed broker service that still requires provisioning and scaling of broker instances, unlike the serverless SQS.

947
MCQeasy

Which AWS service helps you manage and deploy infrastructure as code using templates?

A.AWS Elastic Beanstalk
B.AWS CloudFormation
C.AWS OpsWorks
D.AWS CodeDeploy
AnswerB

CloudFormation is AWS's native infrastructure-as-code service, where you define resources in a declarative JSON or YAML template and the service provisions, updates, and deletes the stack as a single unit. It manages resource dependencies and ordered operations automatically, making it the correct answer for template-based infrastructure provisioning. Administrators can version templates and use them across accounts and regions, giving deterministic infrastructure.

Why this answer

AWS CloudFormation is the correct service because it allows you to model and provision AWS resources using declarative templates (JSON or YAML). This enables Infrastructure as Code (IaC) by treating infrastructure as version-controlled, repeatable code, which can be used to create, update, and delete entire stacks of resources in a predictable manner.

Exam trap

The trap here is that candidates often confuse AWS Elastic Beanstalk (which also uses a 'template' concept for environment configuration) with CloudFormation, but Elastic Beanstalk is a higher-level abstraction for application deployment, not a general-purpose IaC tool for managing all AWS resources.

How to eliminate wrong answers

Option A is wrong because AWS Elastic Beanstalk is a Platform as a Service (PaaS) that automates application deployment and scaling, but it does not use templates for IaC; it uses a managed environment with limited customization. Option C is wrong because AWS OpsWorks is a configuration management service that uses Chef or Puppet recipes, not declarative templates, and is more focused on server configuration than IaC. Option D is wrong because AWS CodeDeploy is a deployment automation service that handles code deployment to compute instances, but it does not manage infrastructure provisioning or use templates for resource creation.

948
MCQmedium

A company has a security policy that requires all Amazon EBS volumes attached to production Amazon EC2 instances to be encrypted at rest using customer-managed encryption keys. The policy also mandates that the encryption keys must be automatically rotated every 365 days. The company wants to minimize operational overhead by using a managed AWS service for key management and automatic rotation. Which AWS service should the company use to meet these requirements?

A.AWS CloudHSM
B.AWS Certificate Manager (ACM)
C.AWS Key Management Service (AWS KMS)
D.AWS Secrets Manager
AnswerC

AWS KMS is a fully managed service that enables you to create, control, and rotate customer-managed keys. It supports automatic annual key rotation for customer managed keys with a simple checkbox, and integrates seamlessly with Amazon EBS for encryption at rest, meeting the policy requirements with minimal overhead.

Why this answer

AWS KMS is the correct choice because it provides managed customer master keys (CMKs) that can be used to encrypt EBS volumes at rest, and it supports automatic annual key rotation (every 365 days) with no additional operational overhead. KMS integrates directly with EBS to enforce encryption using customer-managed keys, meeting both the encryption and rotation requirements.

Exam trap

The trap here is that candidates may confuse AWS CloudHSM with KMS, thinking CloudHSM also provides automatic rotation, but CloudHSM requires manual rotation and does not natively integrate with EBS encryption policies.

Why the other options are wrong

A

AWS CloudHSM provides hardware security modules (HSMs) but does not offer automatic key rotation; it requires manual rotation or custom scripting, increasing operational overhead. The question specifies automatic rotation every 365 days, which is a built-in feature of AWS KMS, not CloudHSM.

B

AWS Certificate Manager (ACM) is used to provision, manage, and deploy public and private SSL/TLS certificates, not for managing encryption keys for EBS volumes. It does not provide customer-managed keys or automatic rotation for EBS encryption.

D

AWS Secrets Manager is designed for managing secrets like database credentials and API keys, not for managing encryption keys for EBS volumes. It does not provide the key management or automatic rotation for customer-managed encryption keys used with EBS encryption.

When would these options actually be correct?

A

A company must meet regulatory compliance that requires dedicated, single-tenant HSM hardware for key storage, and they are willing to manage key rotation manually or via custom automation. In such a scenario, AWS CloudHSM would be the correct choice.

B

A company needs to automatically renew SSL/TLS certificates for a web application hosted on EC2 instances behind an Application Load Balancer, and wants to minimize manual intervention. ACM would be the correct service to provision and automatically renew these certificates.

D

A company needs to automatically rotate secrets (e.g., database passwords, API tokens) every 90 days and securely store them. AWS Secrets Manager would be the correct service to meet that requirement.

Why candidates pick the wrong answer

A

Candidates may confuse CloudHSM as a more secure option for key management, not realizing that AWS KMS also uses HSMs and provides automatic key rotation with less operational overhead.

B

Candidates may confuse 'certificate' with 'encryption key' and think ACM handles key management, especially since both involve encryption and automatic rotation.

D

Candidates may confuse 'secrets' with 'encryption keys' and assume Secrets Manager can handle key rotation, but it is not integrated with EBS encryption and does not manage KMS keys.

949
MCQeasy

A company runs multiple EC2 instances across several applications and wants to centralise all application log files in one place for searching, analysis, and long-term retention. Which AWS service provides centralised log storage and querying?

A.Amazon S3
B.AWS CloudTrail
C.Amazon CloudWatch Logs
D.Amazon Kinesis Data Firehose
AnswerC

Amazon CloudWatch Logs is the purpose-built service for centralised log storage and real-time analysis: the unified CloudWatch agent collects logs from EC2 instances, Lambda execution events are ingested natively, and on-premises servers can stream logs via the agent as well. Log events are organised into log groups and streams with configurable retention, and you can define metric filters to create CloudWatch metrics from matching log patterns, triggering alarms, or run interactive queries using CloudWatch Logs Insights. This makes it the correct choice when the need is unified operational logging with search, monitoring, and alerting.

Why this answer

Amazon CloudWatch Logs is the correct service because it is designed to centralize log storage from multiple sources, including EC2 instances, via the CloudWatch agent. It provides built-in querying with Logs Insights, supports real-time monitoring, and offers configurable retention policies for long-term storage, meeting all requirements for searching, analysis, and retention.

Exam trap

The trap here is that candidates often confuse CloudWatch Logs with CloudTrail, mistakenly thinking CloudTrail handles application logs, when in fact CloudTrail only records AWS API calls, not application-generated log data.

How to eliminate wrong answers

Option A is wrong because Amazon S3 is an object storage service, not a log querying service; while logs can be stored in S3, it lacks native querying capabilities without additional services like Athena. Option B is wrong because AWS CloudTrail records API activity for governance and auditing, not application log files; it captures control-plane events, not application-level logs. Option D is wrong because Amazon Kinesis Data Firehose is a data ingestion and delivery service that streams data to destinations like S3 or Redshift, but it does not provide native log storage or querying capabilities.

950
MCQmedium

A company wants to create a hybrid cloud architecture where their on-premises applications can access AWS services as if they were running locally. Which AWS service extends AWS infrastructure and services to on-premises locations?

A.AWS Direct Connect
B.AWS VPN
C.AWS Outposts
D.AWS Local Zones
AnswerC

AWS Outposts is a fully managed service that physically installs AWS-designed racks of compute and storage hardware in your own data center or co-location facility. These racks run the same AWS APIs, tools, and management console as an AWS Region, effectively extending AWS infrastructure to your on-premises site for ultra-low latency and local data residency needs. Since Outposts brings AWS services directly to your location with local operation, it is the only option here that genuinely extends AWS infrastructure to your premises.

Why this answer

AWS Outposts is the correct answer because it is a fully managed service that extends AWS infrastructure, services, APIs, and tools to virtually any on-premises or edge location. This allows customers to run AWS services locally, enabling a true hybrid cloud experience where on-premises applications can access AWS services with low latency and local data processing, as if they were running in an AWS Region.

Exam trap

The trap here is that candidates often confuse AWS Direct Connect or VPN as the solution for extending AWS services on-premises, but those only provide network connectivity, not the actual deployment of AWS infrastructure locally.

How to eliminate wrong answers

Option A is wrong because AWS Direct Connect is a dedicated network connection from on-premises to AWS, but it does not extend AWS infrastructure or services locally; it only provides a private, high-bandwidth link to AWS Regions. Option B is wrong because AWS VPN creates an encrypted tunnel over the public internet to connect on-premises networks to AWS, but it does not bring AWS services or infrastructure on-premises. Option D is wrong because AWS Local Zones are extensions of AWS Regions that place compute, storage, and database services closer to end users for low-latency applications, but they are still within the AWS network and not deployed on customer premises.

951
MCQeasy

A developer needs to launch a test server for a new application prototype. The developer logs into the AWS Management Console, selects an Amazon EC2 instance type, configures the security group, and starts the instance. The instance is running within two minutes, and the developer did not need to submit a formal request to the company's IT procurement team or wait for approval from a cloud administrator. Which essential characteristic of cloud computing does this scenario best demonstrate?

A.On-demand self-service
B.Broad network access
C.Resource pooling
D.Rapid elasticity
AnswerA

Correct. On-demand self-service means a user can provision computing capabilities as needed automatically without requiring human interaction with each service provider. The developer launched an EC2 instance directly via the console with no IT intervention, perfectly matching this characteristic.

Why this answer

The scenario demonstrates on-demand self-service because the developer was able to provision and launch an EC2 instance directly through the AWS Management Console without any human interaction with IT procurement or a cloud administrator. This characteristic, defined by NIST as a core pillar of cloud computing, allows users to unilaterally provision computing capabilities as needed automatically, which is exactly what happened when the instance was running within two minutes of the console action.

Exam trap

The trap here is that candidates often confuse 'on-demand self-service' with 'resource pooling' because both involve rapid provisioning, but the key differentiator is the absence of human interaction versus the multi-tenant sharing of underlying infrastructure.

Why the other options are wrong

B

Broad network access refers to the ability to access cloud resources over the network via standard protocols (e.g., internet, VPN). The scenario focuses on the developer's ability to provision resources without human intervention, not on network accessibility.

C

Resource pooling refers to the provider's computing resources being pooled to serve multiple customers using a multi-tenant model, with physical and virtual resources dynamically assigned. The scenario focuses on the developer's ability to provision resources without human interaction, not on multi-tenancy or resource sharing.

D

The scenario describes the developer launching a server without manual approval or procurement, which directly demonstrates on-demand self-service. Rapid elasticity refers to automatically scaling resources up or down based on demand, which is not shown here.

When would these options actually be correct?

B

A question describing a company's global workforce accessing a cloud application from various devices (laptops, smartphones, tablets) over the internet, with consistent performance and security, would make broad network access the correct answer.

C

A question describes a cloud provider allocating compute capacity from a shared pool to multiple customers, where resources are dynamically assigned and reassigned based on demand, and customers have no control over the exact physical location of the resources. This demonstrates resource pooling.

D

A company runs a seasonal e-commerce site that experiences sudden traffic spikes. The cloud automatically adds EC2 instances during peak hours and removes them when demand drops, without manual intervention. This demonstrates rapid elasticity.

Why candidates pick the wrong answer

B

Candidates may confuse the fact that the developer used the AWS Management Console (a web-based interface) with broad network access, but the key point is the lack of manual approval, not network connectivity.

C

Candidates may confuse the rapid provisioning of resources with the concept of pooling, thinking that the ability to quickly start an instance implies resources are pooled, but the key characteristic demonstrated is on-demand self-service, not the underlying multi-tenant architecture.

D

Candidates may confuse the quick provisioning (two minutes) with rapid elasticity, but rapid elasticity is about automatic scaling to meet fluctuating demand, not just fast initial setup.

952
MCQmedium

A company uses AWS Organizations and manages hundreds of AWS accounts. The security policy requires that all Amazon S3 buckets be encrypted using a specific AWS KMS customer-managed key (CMK). The security team wants to automatically detect any S3 bucket that is not encrypted with the required CMK and automatically apply the correct encryption configuration without manual intervention. Which AWS service should the security team use to implement this automated compliance enforcement?

A.Amazon GuardDuty
B.AWS Config
C.AWS CloudTrail
D.AWS Trusted Advisor
AnswerB

AWS Config is designed to assess, audit, and evaluate the configurations of AWS resources. It can detect S3 buckets that do not have the required encryption and trigger automatic remediation actions (e.g., using AWS Systems Manager Automation to enable server-side encryption with the designated KMS key). This satisfies both the detection and automatic correction requirements.

Why this answer

AWS Config is the correct service because it provides managed rules (e.g., s3-bucket-server-side-encryption-enabled and s3-bucket-kms-encryption-specific-key) that can evaluate whether S3 buckets are encrypted with the required KMS customer-managed key. When a noncompliant bucket is detected, AWS Config can trigger an AWS Lambda function via an Amazon EventBridge rule to automatically apply the correct encryption configuration, enabling automated remediation without manual intervention.

Exam trap

The trap here is that candidates often confuse AWS Config's compliance evaluation and remediation capabilities with GuardDuty's threat detection or CloudTrail's audit logging, assuming any security-related service can enforce encryption policies.

Why the other options are wrong

A

Amazon GuardDuty is a threat detection service that monitors for malicious activity, not a compliance enforcement tool. It cannot automatically detect or remediate S3 bucket encryption configurations.

C

AWS CloudTrail records API activity but cannot automatically remediate non-compliant S3 bucket encryption; it lacks the enforcement and auto-remediation capabilities required for this use case.

D

AWS Trusted Advisor provides best-practice recommendations but does not automatically enforce or remediate non-compliant resources. It cannot automatically apply encryption configuration to S3 buckets.

When would these options actually be correct?

A

If the question asked for a service to detect anomalous API activity or potential security threats, such as unusual S3 bucket access patterns or compromised credentials, GuardDuty would be the correct answer.

C

A question asking which service to use for auditing API calls to detect when S3 bucket encryption configurations are changed, without requiring automatic remediation, would make CloudTrail correct.

D

A company wants to review its AWS environment for cost optimization, performance, security, and fault tolerance best practices. AWS Trusted Advisor would provide recommendations, such as identifying S3 buckets with low usage or without MFA delete, but without automatic remediation.

Why candidates pick the wrong answer

A

Candidates may confuse GuardDuty's security monitoring capabilities with compliance enforcement, assuming it can detect misconfigurations like missing encryption.

C

Candidates may confuse CloudTrail's logging of configuration changes with the ability to enforce or remediate those configurations, overlooking that it only provides audit trails, not automated compliance enforcement.

D

Candidates may think Trusted Advisor can enforce security policies because it offers security checks, but they overlook that it only provides advisory recommendations, not automated enforcement.

953
MCQmedium

A company operates separate AWS accounts for its engineering, marketing, and finance departments. The CFO wants to consolidate billing to receive a single monthly invoice and to benefit from volume pricing discounts. The security team also requires a centralized mechanism to prevent users in any department from launching Amazon EC2 instances outside of the us-east-1 and eu-west-1 Regions to meet data residency compliance. Which AWS service or feature should the company use to meet both requirements?

A.AWS Budgets
B.AWS Organizations with Service Control Policies (SCPs)
C.AWS Identity and Access Management (IAM) cross-account roles
D.AWS Cost and Usage Reports
AnswerB

AWS Organizations provides consolidated billing for a single invoice and volume discounts, and SCPs allow you to centrally define and enforce permission guardrails (e.g., restricting Regions) across all member accounts. This directly meets both requirements.

Why this answer

AWS Organizations allows the company to consolidate multiple AWS accounts under a single management account, enabling consolidated billing for a single monthly invoice and volume pricing discounts. Service Control Policies (SCPs) provide centralized governance by restricting the AWS services and Regions that member accounts can use, such as preventing EC2 instances from being launched outside us-east-1 and eu-west-1. This combination directly addresses both the CFO's billing consolidation needs and the security team's data residency compliance requirements.

Exam trap

The trap here is that candidates may confuse AWS Budgets with billing consolidation, or think IAM cross-account roles can enforce regional restrictions, but only AWS Organizations with SCPs provides both centralized billing control and policy-based resource governance across multiple accounts.

Why the other options are wrong

A

AWS Budgets only provides cost monitoring and alerts, not consolidated billing or preventive policy enforcement to restrict EC2 instance launches by Region.

C

IAM cross-account roles allow users to assume roles in other accounts to access resources, but they do not provide consolidated billing or centralized policy enforcement to restrict EC2 regions across all accounts.

When would these options actually be correct?

A

A company wants to receive alerts when actual or forecasted costs exceed defined thresholds for individual AWS accounts or projects, without needing consolidated billing or cross-account policy enforcement.

C

A company needs to grant users in Account A access to specific S3 buckets in Account B without sharing long-term credentials, while maintaining individual account billing. IAM cross-account roles would be the correct solution.

Why candidates pick the wrong answer

A

Candidates may confuse cost management features (Budgets) with billing consolidation and governance capabilities, assuming Budgets can enforce spending limits or regional restrictions.

C

Candidates may confuse IAM's ability to manage permissions across accounts with the centralized policy enforcement and billing consolidation provided by AWS Organizations and SCPs.

954
MCQmedium

A company wants to implement zero-trust network security for their AWS environment. Which AWS service enables access to EC2 instances without requiring open inbound network ports or bastion hosts?

A.AWS Bastion Host on EC2
B.AWS Systems Manager Session Manager
C.AWS Direct Connect
D.Amazon VPC Endpoints
AnswerB

AWS Systems Manager Session Manager establishes an interactive shell through an agent-resident outbound connection to the AWS Systems Manager service, so no inbound ports need to be open on the EC2 instance nor do SSH keys or bastion hosts need to be provisioned. Access is governed by IAM policies that can restrict which users can start sessions and what actions they can perform, with session activity optionally recorded to Amazon S3 and CloudTrail for compliance and auditing. This is the only listed option that directly provides secure, auditable remote shell access to EC2 instances without exposing management ports.

Why this answer

AWS Systems Manager Session Manager provides secure, auditable shell access to EC2 instances without requiring open inbound ports (e.g., SSH port 22 or RDP port 3389) or a bastion host. It uses the AWS Systems Manager agent to initiate a session via the AWS API, leveraging IAM policies for authentication and authorization, and can optionally encrypt session data using AWS KMS.

Exam trap

The trap here is that candidates often confuse 'no open inbound ports' with 'no network connectivity at all,' leading them to choose VPC Endpoints (which only connect to AWS services, not EC2 instances) or Direct Connect (which is a network link, not an access method).

How to eliminate wrong answers

Option A is wrong because AWS Bastion Host on EC2 is a traditional jump server that requires open inbound ports (e.g., SSH/RDP) and a public IP, which contradicts the zero-trust principle of eliminating network-based access. Option C is wrong because AWS Direct Connect establishes a dedicated network connection from on-premises to AWS, but it does not provide EC2 instance access without open ports; it still requires SSH/RDP or a bastion host to reach instances. Option D is wrong because Amazon VPC Endpoints (Gateway or Interface endpoints) enable private connectivity to AWS services (e.g., S3, DynamoDB) without traversing the internet, but they do not provide shell or remote desktop access to EC2 instances.

955
MCQmedium

A media company processes user-uploaded images to generate thumbnails and metadata. The current solution runs a script on a single Amazon EC2 instance, which becomes overloaded during peak hours, causing delays. The company wants a solution that automatically scales to handle spikes in upload volume, requires no server management, and charges only for the processing time consumed. Which AWS service should the company use?

A.AWS Lambda
B.Amazon EC2 Auto Scaling
C.AWS Batch
D.Amazon Lightsail
AnswerA

Correct. AWS Lambda is a serverless compute service that executes code in response to triggers (e.g., S3 uploads) and automatically scales based on incoming traffic. It requires no server management and charges only for the compute time used, meeting all stated requirements.

Why this answer

AWS Lambda is the correct choice because it provides a serverless compute service that automatically scales with incoming upload volume, requires no server management, and charges only for the actual processing time (in 1ms increments). The media company's need for automatic scaling, zero server management, and pay-per-use billing aligns perfectly with Lambda's event-driven architecture, where each image upload can trigger a Lambda function to generate thumbnails and metadata without provisioning or managing any underlying infrastructure.

Exam trap

The trap here is that candidates often confuse 'auto scaling' with 'serverless' and choose Amazon EC2 Auto Scaling (Option B) because it scales, but they overlook the requirement for 'no server management' and 'pay only for processing time,' which EC2 Auto Scaling does not satisfy.

Why the other options are wrong

C

AWS Batch is designed for batch computing jobs that require orchestration of compute resources, but it still involves managing compute environments (e.g., EC2 instances) and does not provide the serverless, automatic scaling with per-execution billing that the question requires.

D

Amazon Lightsail requires manual scaling and server management, which does not meet the requirement for automatic scaling and no server management.

When would these options actually be correct?

C

A company needs to run a large-scale, compute-intensive batch job (e.g., rendering 10,000 video files) that can be parallelized, and they want to manage job dependencies and retries without writing custom orchestration code. AWS Batch would be the right choice because it handles job scheduling and can automatically provision EC2 instances.

D

A company needs a simple, predictable-cost virtual private server for a small web application with low traffic, and wants a pre-configured instance with a fixed monthly price, without needing to manage scaling or complex configurations.

Why candidates pick the wrong answer

C

Candidates may confuse 'batch processing' with the image processing task described, assuming AWS Batch is the go-to for any batch workload, without realizing that the requirement for serverless and per-execution billing points to AWS Lambda instead.

D

Candidates may think Lightsail is a simpler alternative to EC2 for handling workloads, but it lacks the automatic scaling and pay-per-use model required for variable processing loads.

956
MCQmedium

A gaming company runs a multiplayer game backend on Amazon EC2 instances. The game experiences variable traffic patterns: low usage during weekday mornings and high usage during evenings and weekends. The company uses an Auto Scaling group to automatically add instances during peak hours and remove them during low traffic. The company is billed only for the compute capacity actually consumed during each hour. Which characteristic of cloud computing does this usage-based billing model best illustrate?

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

Measured service is the correct characteristic. Cloud providers meter usage at a granular level (e.g., per hour or per GB) and bill customers only for what they consume. In this scenario, the company pays only for the compute capacity used each hour, which is a textbook example of measured service.

Why this answer

The usage-based billing model, where the company pays only for the compute capacity consumed each hour, is a direct example of measured service. This characteristic of cloud computing involves metering resource usage (e.g., CPU hours, data transfer) and charging based on that consumption, which is exactly what the Auto Scaling group enables by dynamically adjusting instance count and billing only for active hours.

Exam trap

The trap here is that candidates confuse the scaling behavior (rapid elasticity) with the billing model (measured service), but the question specifically asks which characteristic the usage-based billing model best illustrates, not the scaling mechanism.

Why the other options are wrong

A

Rapid elasticity refers to the ability to scale resources up and down quickly, which is demonstrated by the Auto Scaling group, but the question specifically asks about the usage-based billing model, which is measured service.

C

Resource pooling refers to the provider's computing resources being pooled to serve multiple customers, with physical and virtual resources dynamically assigned. The question focuses on billing based on actual consumption, not on multi-tenant resource sharing.

D

On-demand self-service refers to the ability to provision computing resources without human interaction, not to the usage-based billing model. The question specifically asks about billing based on actual consumption, which is measured service.

When would these options actually be correct?

A

A company experiences unpredictable spikes in traffic and needs to automatically scale resources up or down within minutes to maintain performance. The question asks which characteristic enables this dynamic scaling capability.

C

A question that asks: 'A cloud provider allocates compute resources from a shared pool to multiple customers, with resources assigned and reassigned based on demand. Which characteristic does this describe?'

D

A company wants to provision additional EC2 instances through a web portal without contacting the cloud provider. The exam question would ask: 'Which characteristic allows users to provision resources automatically without human intervention?'

Why candidates pick the wrong answer

A

Candidates confuse the scaling action (elasticity) with the billing model, or they see 'variable traffic patterns' and 'Auto Scaling' and incorrectly associate them with elasticity rather than the pay-per-use billing aspect.

C

Candidates may confuse resource pooling with the ability to scale resources up and down, but resource pooling is about multi-tenancy and location independence, not usage-based billing.

D

Candidates may confuse the ability to provision resources on demand with the billing model that charges for what is used, as both involve 'on-demand' terminology.

957
MCQeasy

A startup runs an application on AWS and receives a monthly bill that charges exactly for the number of compute hours used, the gigabytes of data stored, and the gigabytes of data transferred. The company pays nothing for resources they did not use. Which cloud computing characteristic does this represent?

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

Measured service is the cloud characteristic where resource consumption—such as vCPU hours, storage GB-months, and data transfer—is automatically metered, recorded, and reported. AWS uses these metering data to calculate charges, so you pay only for what you actually use, down to per-second or per-request granularity for many services. The provider also offers transparency through detailed billing reports, Cost Explorer, and billing alerts. This metering and reporting capability is the direct foundation of the pay-as-you-go pricing model.

Why this answer

This scenario describes a pay-per-use model where costs directly correlate with actual consumption of compute hours, storage, and data transfer. Measured service is the cloud characteristic that enables this by automatically monitoring, controlling, and reporting resource usage, providing transparency for both the provider and consumer. AWS implements this through services like AWS CloudTrail and detailed billing reports, ensuring customers are charged only for what they consume.

Exam trap

The trap here is that candidates often confuse 'measured service' with 'on-demand self-service' because both involve user control, but measured service specifically focuses on the metering and billing aspect, not the provisioning mechanism.

How to eliminate wrong answers

Option B (Rapid elasticity) is wrong because it refers to the ability to scale resources up or down automatically in response to demand, not to the metering and billing of consumed resources. Option C (On-demand self-service) is wrong because it describes a user's ability to provision resources without human interaction, typically via a web console or API, not the usage-based billing model. Option D (Resource pooling) is wrong because it involves the provider's multi-tenant model where physical and virtual resources are dynamically assigned to multiple customers, which does not directly relate to charging only for used resources.

958
MCQmedium

A company uses AWS Organizations with separate accounts for development, testing, and production. The finance team wants to track monthly spending by internal project, but a single project may use resources across multiple accounts. The team has applied a 'Project' tag to all resources. They need a detailed billing report that shows costs grouped by this Project tag, combining data from all accounts. Which AWS feature should they enable to meet this requirement?

A.AWS Consolidated Billing
B.AWS Cost Explorer with tag filtering
C.AWS Budgets with tag-based alerts
D.AWS Cost and Usage Reports with cost allocation tags activated
AnswerD

The AWS Cost and Usage Reports (CUR) provides the most detailed billing data available. When cost allocation tags are activated and the CUR is configured to include those tags, the resulting CSV report contains line items tagged with the 'Project' values. This report can be generated regularly and includes data from all accounts in the organization, allowing the finance team to group and analyze costs by project across all accounts.

Why this answer

AWS Cost and Usage Reports (CUR) with cost allocation tags activated is the correct choice because it provides the most detailed billing data, including all tags, and can be delivered to an S3 bucket for analysis. This allows the finance team to group costs by the 'Project' tag across all accounts in the AWS Organization, meeting the requirement for a detailed, combined report.

Exam trap

The trap here is that candidates confuse the ability to filter or visualize costs in Cost Explorer with the need for a detailed, exportable report that groups costs by tags across all accounts, which only CUR provides.

Why the other options are wrong

A

AWS Consolidated Billing combines charges across accounts but does not provide detailed cost allocation by tags; it only aggregates costs without the granularity needed to group by Project tag across accounts.

B

AWS Cost Explorer with tag filtering can display costs by tag, but it does not produce a detailed billing report that can be exported or shared. The requirement is for a detailed billing report, which is provided by AWS Cost and Usage Reports, not Cost Explorer.

C

AWS Budgets with tag-based alerts can send notifications when costs exceed thresholds, but it does not generate detailed billing reports grouped by tags across accounts. The requirement is for a report, not alerts.

When would these options actually be correct?

A

A company wants to simplify payment by having a single bill for multiple accounts under AWS Organizations, without needing detailed cost breakdowns by tags or projects.

B

A company wants to view and analyze current and historical costs by project tag in a graphical dashboard, without needing to export or share a detailed report. They need to filter costs by tag and visualize trends over time.

C

A company needs to receive email notifications when the cost of resources tagged with a specific 'Project' tag exceeds a predefined budget amount across multiple accounts. AWS Budgets with tag-based alerts would be the correct feature to set up cost thresholds and alerts.

Why candidates pick the wrong answer

A

Candidates may think Consolidated Billing automatically enables cost tracking by tags, but it only aggregates invoices and does not generate reports grouped by tags.

B

Candidates may think Cost Explorer's tag filtering directly meets the requirement because it can show costs grouped by tags, but they overlook that the question specifically asks for a 'detailed billing report' rather than an interactive dashboard.

C

Candidates may confuse cost tracking with cost alerts, thinking that Budgets can produce reports, or they may overestimate Budgets' reporting capabilities because it can filter by tags.

959
MCQmedium

A company is developing a microservices application on AWS. The application has multiple independent services that must communicate asynchronously. The company needs a fully managed service to reliably store and deliver messages between these services, ensuring that each message is processed at least once and allowing the services to scale independently. Which AWS service should the company use?

A.Amazon Simple Queue Service (SQS)
B.Amazon Simple Notification Service (SNS)
C.Amazon MQ
D.Amazon Kinesis Data Streams
AnswerA

Amazon SQS is the correct choice because it is a fully managed message queue service specifically built for decoupling microservices. It durably stores messages in a queue and allows each consumer to poll for its own messages at its own pace, which means producers and consumers can scale independently without blocking each other. With standard queues you get at-least-once delivery and high throughput, while FIFO queues give exactly-once processing and message ordering, making SQS a flexible, serverless backbone for point-to-point asynchronous communication.

Why this answer

Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables asynchronous communication between microservices. It reliably stores messages in queues and ensures each message is delivered at least once, allowing services to poll and process messages independently, which supports decoupling and independent scaling.

Exam trap

The trap here is that candidates confuse SNS (push-based pub/sub) with SQS (pull-based queue), overlooking that the requirement for at-least-once processing and independent scaling points to a queue-based service, not a notification fan-out service.

Why the other options are wrong

B

Amazon SNS is a pub/sub messaging service that pushes messages to multiple subscribers, but it does not guarantee at-least-once processing or allow services to pull messages at their own pace; messages are pushed and may be lost if a subscriber is unavailable.

C

Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ, which is not fully serverless and requires provisioning of broker instances. The question specifies a fully managed service for asynchronous communication with at-least-once processing and independent scaling, which SQS provides without managing infrastructure.

D

Amazon Kinesis Data Streams is designed for real-time streaming of large data volumes, not for reliable message queuing with at-least-once processing. It does not guarantee exactly-once or at-least-once delivery per message in the same way SQS does, and it requires consumers to manage their own checkpointing.

When would these options actually be correct?

B

A company needs to send real-time notifications to multiple subscribers (e.g., email, SMS, HTTP endpoints) or fan-out messages to multiple microservices simultaneously, and does not require individual message processing guarantees or independent scaling of consumers.

C

A company needs to migrate an existing on-premises application that uses JMS-compatible message brokers (like ActiveMQ or RabbitMQ) to AWS without rewriting the application code. They require a managed service that supports standard messaging protocols (AMQP, MQTT, STOMP) and JMS API compatibility.

D

A company needs to ingest and process real-time streaming data (e.g., clickstreams, IoT telemetry, log data) from multiple producers, and requires the ability to replay records and process them with multiple consumer applications in real time. Kinesis Data Streams would be the correct choice.

Why candidates pick the wrong answer

B

Candidates may confuse SNS with SQS because both are messaging services, and the term 'asynchronous communication' is often associated with both, but they overlook the requirement for at-least-once processing and independent scaling, which SNS does not provide.

C

Candidates may confuse Amazon MQ as a fully managed service similar to SQS, but it still requires managing broker instances and is not serverless. The name 'MQ' suggests message queuing, leading to the mistaken belief it is the right choice for asynchronous decoupling.

D

Candidates may confuse Kinesis Data Streams with a message queue because both handle asynchronous data transfer, and they might think 'streaming' implies reliable message delivery similar to SQS.

960
MCQeasy

A developer wants to send real-time notifications to mobile app users when new content is available. Which AWS service enables push notifications to iOS and Android devices?

A.Amazon SES
B.Amazon Pinpoint
C.Amazon SNS
D.AWS AppSync
AnswerC

Amazon SNS is a fully managed pub/sub messaging service that natively integrates with Apple APNs, Google FCM, and Amazon ADM to deliver mobile push notifications. You create a platform application endpoint for each device, then publish messages that SNS pushes to the respective platform, with built-in retry logic and dead-letter queues. SNS is the classic, foundational AWS service for sending simple, real-time push notifications to mobile devices at scale, making it the correct answer.

Why this answer

Amazon SNS (Simple Notification Service) is the correct choice because it provides a fully managed pub/sub messaging service that supports push notifications to mobile endpoints via platform application endpoints for iOS (APNs) and Android (FCM). It enables real-time delivery of messages directly to mobile apps without requiring polling or additional infrastructure.

Exam trap

The trap here is that candidates may confuse Amazon Pinpoint as the only service for push notifications due to its marketing focus, but Amazon SNS is the core service for direct programmatic push notification delivery to mobile devices.

How to eliminate wrong answers

Option A is wrong because Amazon SES (Simple Email Service) is designed for sending transactional and marketing emails, not push notifications to mobile devices; it lacks the ability to send to mobile push endpoints. Option B is wrong because Amazon Pinpoint is a customer engagement service that can send push notifications, but it is primarily a multi-channel marketing and analytics tool, not the simplest or most direct service for a developer to send real-time push notifications programmatically; SNS is the more appropriate service for this specific use case. Option D is wrong because AWS AppSync is a managed GraphQL service for building real-time and offline-capable applications, but it does not directly send push notifications to mobile devices; it can trigger notifications via other services like SNS but is not the push notification delivery mechanism itself.

961
MCQeasy

Which statement best describes the concept of 'infrastructure as code' (IaC) in the context of AWS?

A.Using the AWS Management Console to provision resources manually
B.Writing scripts to install software on EC2 instances
C.Defining and provisioning cloud resources using version-controlled configuration files
D.Backing up AWS resource configurations to Amazon S3
AnswerC

Infrastructure as code is the practice of defining and provisioning cloud resources through version-controlled configuration files, such as AWS CloudFormation templates, AWS CDK applications, or Terraform configuration. These files describe the desired state of the infrastructure, are stored in Git for peer review and change tracking, and are applied through automated CI/CD pipelines to create, update, or delete resources consistently. This approach makes infrastructure reproducible, auditable, and recoverable, which is the core of IaC.

Why this answer

Infrastructure as Code (IaC) is the practice of defining and managing cloud resources through machine-readable definition files (e.g., AWS CloudFormation templates or Terraform HCL) that are stored in version control. This allows for automated, repeatable, and consistent provisioning of AWS infrastructure, enabling change management, peer review, and rollback capabilities.

Exam trap

The trap here is confusing IaC with configuration management (e.g., installing software on instances) or manual provisioning, leading candidates to pick options that describe operational tasks rather than the core IaC practice of defining infrastructure in version-controlled files.

How to eliminate wrong answers

Option A is wrong because manually provisioning resources via the AWS Management Console is the opposite of IaC; it is a manual, error-prone process that lacks version control and repeatability. Option B is wrong because writing scripts to install software on EC2 instances is configuration management (e.g., using AWS Systems Manager or user data scripts), not IaC; IaC focuses on provisioning the infrastructure itself (networks, compute, storage), not post-deployment software configuration. Option D is wrong because backing up AWS resource configurations to Amazon S3 is a backup or snapshot activity, not a method for defining and provisioning resources; IaC uses declarative or imperative templates to create resources, not just archive their state.

962
MCQmedium

A company runs a web application on Amazon EC2 instances. The finance team wants to set a monthly spending limit for the application and receive email alerts when the actual cost exceeds 80% of that limit. Additionally, they want the system to automatically stop non-critical EC2 instances if the cost exceeds the limit. Which AWS service should they use to meet these requirements?

A.AWS Cost Explorer
B.AWS Budgets
C.AWS Trusted Advisor
D.AWS Pricing Calculator
AnswerB

AWS Budgets enables you to set custom budgets (e.g., monthly spending limits) and receive alerts when your actual or forecasted costs exceed defined thresholds. With budget actions, you can also automate responses such as stopping EC2 instances when a budget is exceeded. This directly meets both requirements.

Why this answer

AWS Budgets allows you to set a monthly spending limit (budget) and configure cost alerts that trigger when actual or forecasted costs exceed a specified threshold (e.g., 80% of the limit). It also integrates with AWS Actions to automatically stop non-critical EC2 instances when the budget limit is exceeded, meeting both the alert and automated remediation requirements.

Exam trap

The trap here is that candidates often confuse AWS Cost Explorer's forecasting capabilities with the ability to set budgets and trigger automated actions, but Cost Explorer is read-only and lacks alerting and remediation features.

Why the other options are wrong

A

AWS Cost Explorer provides cost visualization and analysis but does not support setting spending limits, triggering actions like stopping EC2 instances, or sending alerts based on cost thresholds.

C

AWS Trusted Advisor provides recommendations for cost optimization, performance, security, and fault tolerance, but it does not support setting spending limits, triggering alerts based on cost thresholds, or automatically stopping EC2 instances.

D

AWS Pricing Calculator is used to estimate costs before running resources, not to set budgets, track actual spending, or trigger actions based on cost thresholds.

When would these options actually be correct?

A

A company wants to analyze historical cost and usage data to identify spending trends and forecast future costs, without needing automated alerts or actions.

C

A company wants to identify underutilized EC2 instances to reduce costs and receives a list of recommendations for rightsizing or stopping idle resources. Trusted Advisor would be the correct service to use for this cost optimization check.

D

A company wants to estimate the monthly cost of running a proposed architecture with EC2 instances, RDS databases, and data transfer before deployment. AWS Pricing Calculator would provide the cost estimate.

Why candidates pick the wrong answer

A

Candidates may think Cost Explorer can set budgets because it displays cost data, but it lacks the alerting and automated action capabilities of AWS Budgets.

C

Candidates may confuse Trusted Advisor's cost optimization checks with the ability to enforce budgets and take automated actions, assuming it can both recommend and implement cost controls.

D

Candidates may confuse cost estimation (Pricing Calculator) with cost monitoring and alerting (Budgets), especially when the question involves setting a spending limit.

963
MCQmedium

A company stores historical sales data in Amazon S3. The data is accessed only once a month for generating quarterly reports. When accessed, the data must be available for retrieval within seconds. The company wants to minimize storage costs while meeting the retrieval latency requirement. Which S3 storage class should the company use?

A.S3 Standard
B.S3 Intelligent-Tiering
C.S3 Standard-IA (Infrequent Access)
D.S3 Glacier Deep Archive
AnswerC

S3 Standard-IA is optimized for infrequently accessed data that requires millisecond retrieval. It offers lower storage costs than S3 Standard, with a retrieval fee. This matches the scenario: monthly access with seconds retrieval latency and lowest cost.

Why this answer

S3 Standard-IA (Infrequent Access) is the correct choice because it offers the same low-latency retrieval (milliseconds) as S3 Standard but at a lower storage cost, making it ideal for data accessed infrequently (e.g., once a month) yet requiring immediate availability. The company's requirement of 'within seconds' is fully met by S3 Standard-IA, which provides the same first-byte latency as S3 Standard, while minimizing storage costs for data that is not accessed frequently.

Exam trap

The trap here is that candidates often confuse 'infrequent access' with 'archival access' and incorrectly choose S3 Glacier Deep Archive, overlooking the critical retrieval latency requirement of 'within seconds' that only S3 Standard-IA (or S3 Standard) can meet.

Why the other options are wrong

A

S3 Standard is designed for frequently accessed data with millisecond latency, but it has higher storage costs than S3 Standard-IA. Since the data is accessed only once a month, Standard-IA provides the same retrieval latency at lower cost, making Standard suboptimal for minimizing storage costs.

B

S3 Intelligent-Tiering is designed for data with unknown or changing access patterns, but here the access pattern is known (monthly) and predictable, making Standard-IA more cost-effective without the monitoring fee.

D

S3 Glacier Deep Archive has a retrieval time of 12-48 hours, which does not meet the requirement of 'available for retrieval within seconds' for monthly data access.

When would these options actually be correct?

A

A company needs to store frequently accessed data (e.g., multiple times per day) for a real-time analytics application, and retrieval must be within milliseconds. S3 Standard would be the correct choice because it offers low latency and high throughput for frequent access patterns.

B

A company stores data with unpredictable access patterns, where some objects may be accessed frequently and others rarely, and wants to automatically optimize storage costs without manual tier changes.

D

A company needs to archive data that is accessed less than once a year, with retrieval times of 12-48 hours acceptable, and wants the lowest possible storage cost.

Why candidates pick the wrong answer

A

Candidates may default to S3 Standard as the default or most familiar storage class, overlooking the cost savings of infrequent access tiers when access patterns are sparse.

B

Candidates may think Intelligent-Tiering automatically saves costs for any infrequently accessed data, overlooking that it adds a monitoring fee and is less cost-effective than Standard-IA for predictable, low-access patterns.

D

Candidates may think 'minimize storage costs' means choosing the cheapest class, overlooking the retrieval latency requirement of seconds.

964
MCQmedium

A company uses AWS Organizations to manage multiple accounts. The security team wants to continuously monitor the configurations of all AWS resources across the organization and receive alerts when a resource violates a compliance rule. For example, they want to ensure that all Amazon RDS databases are not publicly accessible, and that any new RDS instance created with public access enabled is automatically flagged. The team does not want to build custom scripts for monitoring. Which AWS service should the security team use to meet these requirements?

A.AWS CloudTrail
B.AWS Config
C.AWS Trusted Advisor
D.Amazon GuardDuty
AnswerB

AWS Config provides continuous monitoring and evaluation of AWS resource configurations against desired rules. It supports managed rules for common compliance checks (e.g., public RDS instances) and can automatically trigger remediation, meeting the requirement without custom scripts.

Why this answer

AWS Config is the correct service because it provides continuous monitoring and recording of AWS resource configurations, and it can evaluate those configurations against custom or managed rules (e.g., 'rds-instance-public-access-check'). When a resource like an RDS instance violates a rule (e.g., being publicly accessible), AWS Config can automatically flag it and trigger an alert via Amazon SNS, all without requiring custom scripts.

Exam trap

The trap here is that candidates often confuse AWS CloudTrail (which logs API calls) with AWS Config (which tracks resource state), leading them to choose CloudTrail because they think monitoring 'configurations' means tracking changes, but CloudTrail does not evaluate compliance rules or alert on resource state violations.

Why the other options are wrong

A

AWS CloudTrail records API activity and provides audit logs, but it does not continuously evaluate resource configurations against compliance rules or automatically flag non-compliant resources like publicly accessible RDS instances.

C

AWS Trusted Advisor provides best-practice checks and recommendations, but it does not continuously monitor resource configurations or trigger alerts for compliance violations like public RDS instances. It lacks the ability to define custom rules and automatically flag non-compliant resources in real time.

D

Amazon GuardDuty is a threat detection service that monitors for malicious activity and unauthorized behavior, not for compliance configuration rules like RDS public accessibility. It does not evaluate resource configurations against compliance rules.

When would these options actually be correct?

A

A company needs to audit all API calls made in their AWS account to detect unauthorized access or changes, and they require a record of who made what change and when for forensic analysis. AWS CloudTrail would be the correct service to meet these requirements.

C

A company wants a high-level review of their AWS environment against AWS best practices (e.g., cost optimization, performance, security) without needing to define custom rules. They need a dashboard that shows overall compliance status and recommendations for improvement, not continuous monitoring or automated remediation.

D

A company wants to continuously monitor AWS accounts for malicious or unauthorized activity, such as detecting compromised credentials, unusual API calls, or potential crypto mining. They need automated threat detection without managing security software.

Why candidates pick the wrong answer

A

Candidates may confuse monitoring API activity (CloudTrail) with monitoring resource configurations (Config), or think that logging API calls can be used to detect configuration violations, but CloudTrail does not evaluate configurations against rules.

C

Candidates may confuse Trusted Advisor's security checks (e.g., RDS public access check) with continuous compliance monitoring, not realizing that Trusted Advisor provides periodic checks and recommendations rather than real-time, customizable rule evaluation and alerts.

D

Candidates may confuse GuardDuty's monitoring and alerting capabilities with compliance monitoring, assuming it can check configuration rules, but its focus is on security threats, not configuration compliance.

965
MCQeasy

Which AWS feature allows multiple AWS accounts to be managed under one umbrella, receive a single consolidated bill, and potentially share volume discounts?

A.AWS Control Tower
B.AWS Organizations
C.AWS IAM Identity Center
D.AWS Cost Explorer
AnswerB

AWS Organizations is the correct answer because it natively provides consolidated billing across all member accounts, producing a single bill for the entire organization. It also automatically pools Reserved Instance and Savings Plans discount usage so that any account can benefit from discounts applied by another account. In addition, organizations can enforce centralized policies, but billing and cost-sharing are its unique features relevant here.

Why this answer

AWS Organizations is the correct service because it provides centralized management of multiple AWS accounts, enabling a single consolidated bill and the ability to aggregate usage across accounts to qualify for volume discounts. It allows you to create a hierarchy of accounts with organizational units (OUs) and apply service control policies (SCPs) for governance, while the consolidated billing feature combines all usage into a single payer account for pricing benefits.

Exam trap

The trap here is that candidates often confuse AWS Control Tower (which manages account governance) with AWS Organizations (which handles billing consolidation and account management), leading them to pick Control Tower because it sounds like a broader management umbrella.

How to eliminate wrong answers

Option A is wrong because AWS Control Tower is a service for setting up and governing a secure, multi-account AWS environment using AWS Organizations as a foundation, but it does not itself provide consolidated billing or volume discount sharing—it orchestrates account creation and compliance policies. Option C is wrong because AWS IAM Identity Center (formerly AWS SSO) is a service for managing user identities and single sign-on across AWS accounts and applications, not for billing consolidation or discount aggregation. Option D is wrong because AWS Cost Explorer is a tool for visualizing and analyzing your AWS costs and usage over time, but it does not manage multiple accounts under one umbrella or enable consolidated billing—it only reports on existing cost data.

966
MCQmedium

A company is using several AWS services and has noticed their bill has been increasing. They want to identify which team or project is responsible for each cost. Which AWS feature enables tracking costs by team, project, or environment?

A.AWS Organizations consolidated billing
B.AWS Cost Allocation Tags
C.AWS Budgets
D.AWS Config tags
AnswerB

AWS Cost Allocation Tags let you attach user-defined metadata (e.g., team, project, environment) to resources, and once activated, AWS incorporates these tags into your billing reports and Cost Explorer. This enables accurate cost breakdown and chargeback by any business dimension, such as team or project, which directly addresses the requirement. Because the tags themselves are the mechanism that carries attribution data into your billing data, this is the service that fulfills the need to identify which team or project incurred costs.

Why this answer

AWS Cost Allocation Tags allow you to tag AWS resources with metadata (e.g., team, project, environment) and then activate those tags in the Billing and Cost Management console. Once activated, AWS generates cost reports that break down charges by those tag values, enabling you to attribute costs to specific teams or projects. This is the native AWS feature designed specifically for cost allocation and tracking.

Exam trap

The trap here is that candidates confuse AWS Config tags (used for compliance and resource tracking) with Cost Allocation Tags, or assume that consolidated billing alone provides per-team cost visibility without the need for tagging.

How to eliminate wrong answers

Option A is wrong because AWS Organizations consolidated billing aggregates costs across multiple accounts for a single monthly bill, but it does not provide granular tagging or per-team cost breakdowns without additional tagging features. Option C is wrong because AWS Budgets is a tool for setting spending limits and receiving alerts when costs exceed thresholds; it does not track or attribute costs to specific teams or projects. Option D is wrong because AWS Config tags are used for resource configuration compliance and auditing, not for cost allocation or billing analysis.

967
MCQmedium

A company runs a monthly batch data analytics job that requires 50 compute instances for exactly 2 hours. On AWS, the company launches 50 Amazon EC2 instances, runs the job, and then terminates all instances. The company's AWS bill shows a charge for only 100 instance-hours (50 instances × 2 hours). Which essential characteristic of cloud computing does this billing model best demonstrate?

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

Measured service means that cloud resource usage is metered, monitored, controlled, and reported, enabling a pay-per-use billing model. In this scenario, the company is charged exactly for the 100 instance-hours consumed, which is a direct application of measured service.

Why this answer

The billing model charges only for the actual compute time consumed (100 instance-hours), which is a direct application of the 'measured service' characteristic. Measured service means cloud providers meter and bill customers based on actual resource usage (e.g., EC2 instance-hours, storage GB-months), enabling pay-as-you-go pricing. In this scenario, the company is charged precisely for the 50 instances × 2 hours of runtime, with no upfront or fixed costs, demonstrating usage-based metering.

Exam trap

The trap here is that candidates confuse 'measured service' (usage-based billing) with 'rapid elasticity' (scaling speed), but the question explicitly focuses on the billing charge for exactly the hours used, not the ability to scale quickly.

Why the other options are wrong

A

Resource pooling refers to the provider's ability to serve multiple customers from shared physical resources, but the billing model described (charging only for actual usage) directly demonstrates measured service, not resource pooling.

C

On-demand self-service refers to the ability to provision resources without human interaction, but the billing model in the question (charging only for actual usage) demonstrates measured service, not self-service.

D

The billing model charges only for actual usage (100 instance-hours), which directly demonstrates 'measured service' (metering and charging based on consumption). 'Rapid elasticity' refers to the ability to quickly scale resources up or down, not to how usage is billed.

When would these options actually be correct?

A

A question that asks: 'A cloud provider allocates virtual machines from a shared pool of physical servers, dynamically assigning resources to different customers as needed. Which cloud characteristic does this describe?' would have resource pooling as the correct answer.

C

A question that asks: 'A developer can provision an EC2 instance through a web portal without contacting support. Which cloud characteristic does this demonstrate?' would make on-demand self-service the correct answer.

D

A question describes a scenario where a company's workload spikes unpredictably, and AWS automatically provisions additional EC2 instances within minutes to handle the load, then scales down when demand drops. The correct answer would be 'rapid elasticity' because it highlights the ability to rapidly adjust capacity.

Why candidates pick the wrong answer

A

Candidates may confuse resource pooling with measured service because both involve efficient use of resources, but resource pooling is about multi-tenancy and sharing, not about usage-based billing.

C

Candidates may confuse the ability to launch instances on demand (self-service) with the pay-per-use billing model, thinking that on-demand implies usage-based pricing.

D

Candidates may confuse the ability to quickly launch and terminate instances (which is part of elasticity) with the billing model that charges only for the time used, mistakenly thinking that paying only for what you use is a characteristic of elasticity rather than measured service.

968
MCQmedium

A company wants to use Amazon S3 to store objects that must not be deleted or overwritten for a specified period for regulatory compliance. Which S3 feature enforces this?

A.S3 Versioning
B.S3 Lifecycle policies
C.S3 Object Lock
D.S3 Block Public Access
AnswerC

S3 Object Lock delivers WORM protection by allowing you to set a retention period on objects, during which they cannot be overwritten or deleted. In Governance mode, a principal with s3:BypassGovernanceRetention can remove the lock, but in Compliance mode the object is immutable even for the root user until the retention expires. This mandatory retention directly satisfies regulatory requirements such as SEC 17a-4(f), making Object Lock the only option here that guarantees data cannot be tampered with.

Why this answer

Amazon S3 Object Lock is designed specifically to prevent objects from being deleted or overwritten for a fixed period or indefinitely. It enforces a write-once-read-many (WORM) model by applying retention modes (Governance or Compliance) or legal holds, which block both DELETE and PUT operations on locked objects until the retention period expires. This directly meets the regulatory compliance requirement described in the question.

Exam trap

The trap here is that candidates often confuse S3 Versioning with immutability, assuming that keeping multiple versions prevents deletion, but versioning alone does not block the ability to delete the latest version or permanently delete all versions.

How to eliminate wrong answers

Option A is wrong because S3 Versioning creates multiple versions of an object but does not prevent deletion or overwriting; a user can still delete the current version or overwrite it, and versioning alone offers no WORM protection. Option B is wrong because S3 Lifecycle policies automate transitions or expirations of objects based on age or rules, but they do not enforce a retention lock that blocks user-initiated deletions or overwrites. Option D is wrong because S3 Block Public Access only restricts public access to buckets and objects via ACLs or bucket policies; it has no mechanism to prevent deletion or overwriting of objects.

969
MCQmedium

A company is adopting the cloud and wants to improve operational efficiency by treating their infrastructure as code. Which AWS service allows them to define and provision AWS infrastructure using JSON or YAML templates?

A.AWS Systems Manager
B.AWS CloudFormation
C.AWS OpsWorks
D.AWS Config
AnswerB

AWS CloudFormation is the native infrastructure-as-code service that lets you define every AWS resource in a declarative JSON or YAML template. CloudFormation treats those templates as a single stack, automatically handling dependency ordering, rollback on failure, and updates, which makes resource provisioning consistent and repeatable across environments. Because the question asks for a service that provisions infrastructure stacks in this way, CloudFormation is the correct choice.

Why this answer

AWS CloudFormation is the correct service because it allows you to define and provision AWS infrastructure as code using JSON or YAML templates. This enables repeatable, version-controlled deployments, directly supporting the goal of improving operational efficiency through infrastructure as code.

Exam trap

The trap here is that candidates may confuse AWS CloudFormation with AWS OpsWorks or AWS Systems Manager, as both can manage infrastructure but use different paradigms (declarative templates vs. configuration management) and are not designed for JSON/YAML-based infrastructure provisioning.

How to eliminate wrong answers

Option A is wrong because AWS Systems Manager is a management service for operational tasks like patching and configuration, not for defining infrastructure as code with templates. Option C is wrong because AWS OpsWorks is a configuration management service using Chef and Puppet, not JSON/YAML templates for infrastructure provisioning. Option D is wrong because AWS Config is a service for evaluating and auditing resource compliance, not for defining or provisioning infrastructure.

970
MCQeasy

A global company has employees who work from various locations and use different devices such as laptops, tablets, and smartphones to access corporate applications. The company plans to migrate its applications to AWS and wants all employees to access these applications directly from the internet using standard web browsers without requiring any dedicated hardware or software at each branch. Which essential characteristic of cloud computing does this scenario BEST demonstrate?

A.Measured service
B.Resource pooling
C.Broad network access
D.Rapid elasticity
AnswerC

Broad network access is a core cloud characteristic that allows resources to be accessed over the network using standard protocols (such as HTTP/HTTPS) from a wide range of client devices (laptops, tablets, smartphones). This aligns directly with the requirement for employees to access applications via standard web browsers from various devices without dedicated hardware or software.

Why this answer

The scenario describes employees accessing corporate applications from various devices and locations using only standard web browsers, without dedicated hardware or software. This directly aligns with the cloud computing characteristic of broad network access, which mandates that resources are accessible over the network by standard mechanisms (e.g., HTTPS, TLS 1.2/1.3) from heterogeneous client platforms (laptops, tablets, smartphones). The key is that no site-to-site VPN appliances or thick client software are required—just a browser and an internet connection.

Exam trap

The trap here is that candidates confuse 'broad network access' with 'resource pooling' because both involve multi-device scenarios, but broad network access is specifically about the accessibility of services over the internet using standard protocols, not about how resources are shared among tenants.

Why the other options are wrong

A

The scenario emphasizes accessing applications from any device via standard web browsers without dedicated hardware, which is 'broad network access.' 'Measured service' refers to metering and billing based on usage, not ubiquitous access.

B

Resource pooling refers to the provider's computing resources being pooled to serve multiple customers, with physical and virtual resources dynamically assigned. This scenario focuses on employees accessing applications from any device via a standard web browser, which demonstrates broad network access, not resource pooling.

D

Rapid elasticity refers to the ability to quickly scale resources up or down based on demand, which is not demonstrated in this scenario. The scenario focuses on employees accessing applications from various devices and locations via standard web browsers, which exemplifies broad network access, not elasticity.

When would these options actually be correct?

A

A question asks: 'A company wants to track and optimize its cloud spending by monitoring resource usage per department. Which cloud characteristic enables this?' Then 'Measured service' is correct because it provides usage metering and billing transparency.

B

A company wants to ensure that its cloud provider can dynamically assign compute resources to different departments based on demand, without the departments needing to know the exact physical location of the resources. This would best demonstrate resource pooling.

D

A company experiences unpredictable spikes in traffic to its e-commerce website during flash sales. The cloud automatically provisions additional servers to handle the load and deprovisions them when traffic subsides. This scenario would best demonstrate rapid elasticity.

Why candidates pick the wrong answer

A

Candidates may confuse 'measured service' with any measurable benefit of cloud, such as pay-as-you-go, but the question focuses on access from diverse devices, not cost tracking.

B

Candidates may confuse resource pooling with the idea of sharing resources across many users (employees), but the key here is the access method (web browser from anywhere), not how the provider manages resources behind the scenes.

D

Candidates may confuse the ability to access resources from anywhere (broad network access) with the ability to scale resources quickly (rapid elasticity), especially when the scenario involves many users and devices, which might imply varying demand.

971
MCQeasy

Which AWS database service is best suited for storing and querying data with complex relationships using structured query language?

A.Amazon DynamoDB
B.Amazon RDS
C.Amazon ElastiCache
D.Amazon Neptune
AnswerB

Amazon RDS is a fully managed service that supports multiple relational database engines, including MySQL, PostgreSQL, MariaDB, Oracle, and SQL Server. It provides traditional SQL capabilities such as schemas, joins, and transactions, ideal for structured data, plus automated backups, patching, and multi-AZ replication. For any workload requiring a relational database with standard SQL queries, RDS is the correct choice.

Why this answer

Amazon RDS is the correct choice because it provides managed relational database services (e.g., MySQL, PostgreSQL, Oracle, SQL Server) that use structured query language (SQL) and are designed to handle complex relationships through foreign keys, joins, and normalized schemas. This makes it ideal for applications requiring ACID transactions and complex queries across multiple tables.

Exam trap

The trap here is that candidates often confuse Amazon DynamoDB's ability to store JSON documents with relational capabilities, but DynamoDB lacks SQL support and cannot efficiently handle complex multi-table joins or referential integrity constraints.

How to eliminate wrong answers

Option A is wrong because Amazon DynamoDB is a NoSQL key-value and document database that does not support complex relational queries or SQL; it is optimized for high-scale, low-latency access with simple query patterns. Option C is wrong because Amazon ElastiCache is an in-memory caching service (supporting Redis and Memcached) that is not designed for persistent relational data storage or complex SQL queries. Option D is wrong because Amazon Neptune is a graph database that uses query languages like Gremlin and SPARQL, not SQL, and is specialized for highly connected data (e.g., social networks, recommendation engines) rather than general relational data.

972
MCQmedium

A startup wants to receive alerts when their AWS spending approaches a set threshold. Which AWS service should they use?

A.AWS Cost Explorer
B.AWS Billing Dashboard
C.AWS Budgets
D.AWS Trusted Advisor
AnswerC

AWS Budgets is purpose-built for setting custom cost and usage budgets, then alerting when actual or forecasted spending reaches a defined percentage of that budget. It monitors your account's financial thresholds continuously and can send notifications via Amazon SNS, email, or even trigger automated responses like blocking actions. For the scenario of receiving an alert when charges approach a threshold, AWS Budgets is the correct service because it combines both monitoring and alerting.

Why this answer

AWS Budgets allows you to set custom cost and usage budgets and receive alerts when your actual or forecasted spending exceeds (or is forecasted to exceed) the budgeted amount. For this startup, they can configure a cost budget with a threshold (e.g., 80% of the set amount) and have Amazon SNS send notifications via email or SMS when spending approaches that threshold.

Exam trap

The trap here is that candidates often confuse AWS Cost Explorer's ability to view cost trends with the proactive alerting capability of AWS Budgets, assuming that a visualization tool can also send notifications, but AWS Budgets is the only service that provides configurable threshold-based alerts.

How to eliminate wrong answers

Option A is wrong because AWS Cost Explorer is a visualization and analysis tool for exploring historical cost data and usage patterns, but it does not natively send proactive alerts when spending approaches a threshold. Option B is wrong because the AWS Billing Dashboard provides a high-level overview of current month-to-date charges and invoices, but it lacks the ability to configure custom threshold-based alerts. Option D is wrong because AWS Trusted Advisor inspects your AWS environment for cost optimization, performance, security, and fault tolerance recommendations, but it does not provide configurable spending threshold alerts.

973
MCQmedium

A company's microservices application consists of 10 services. When a user request is slow, the development team cannot determine which service in the chain is the bottleneck. Which AWS service provides distributed tracing so they can see the full path of a request and identify the slow component?

A.Amazon CloudWatch Metrics
B.AWS CloudTrail
C.AWS X-Ray
D.Amazon Inspector
AnswerC

X-Ray instruments applications with the X-Ray SDK to capture trace data for each request. It builds a service map showing latency at each service hop, making it straightforward to identify the bottleneck in a multi-service chain.

Why this answer

AWS X-Ray is the correct service because it provides end-to-end distributed tracing, allowing developers to trace a request as it travels through multiple microservices. It generates a service map that shows the full path of a request, including latency breakdowns for each service, enabling identification of the slow component. This directly addresses the need to pinpoint bottlenecks in a chain of 10 services.

Exam trap

The trap here is that candidates confuse Amazon CloudWatch Metrics (which shows aggregate performance data) with distributed tracing, not realizing that only X-Ray can trace a single request's full path across multiple services to identify the specific slow component.

How to eliminate wrong answers

Option A is wrong because Amazon CloudWatch Metrics aggregates and monitors performance metrics (e.g., CPU, memory) but does not trace individual requests across services or show the request path through a microservices chain. Option B is wrong because AWS CloudTrail records API calls for auditing and governance, not application-level request tracing or latency analysis. Option D is wrong because Amazon Inspector is a vulnerability management service that scans for software vulnerabilities and unintended network exposure, not a distributed tracing tool.

974
MCQmedium

A company needs to replicate their Amazon S3 data to a different AWS Region automatically to meet disaster recovery requirements. Which S3 feature enables this?

A.S3 Intelligent-Tiering
B.S3 Cross-Region Replication (CRR)
C.S3 Lifecycle policies
D.S3 Transfer Acceleration
AnswerB

S3 Cross-Region Replication (CRR) automatically and asynchronously replicates newly uploaded objects and subsequent updates to a destination bucket in a different AWS Region. It requires versioning to be enabled on both source and destination buckets, and is commonly used for disaster recovery, compliance mandates that require data residency, and reducing latency for geographically distributed users. The configuration is defined by replication rules at the bucket level, and you can choose to replicate all objects or a subset by prefix or tag.

Why this answer

Amazon S3 Cross-Region Replication (CRR) is the correct feature because it automatically and asynchronously replicates objects across S3 buckets in different AWS Regions, meeting disaster recovery requirements by ensuring data is available in a secondary geographic location. CRR requires versioning to be enabled on both source and destination buckets, and it replicates new objects and object metadata by default, with optional configuration for replicating delete markers or objects from specific prefixes.

Exam trap

The trap here is that candidates often confuse S3 Lifecycle policies (which manage storage tiers) with replication features, or mistakenly think S3 Transfer Acceleration provides replication because it improves transfer speed, but neither performs automatic cross-region copying.

How to eliminate wrong answers

Option A is wrong because S3 Intelligent-Tiering is a storage class that optimizes costs by moving data between access tiers based on usage patterns, not a replication feature; it does not copy data to another Region. Option C is wrong because S3 Lifecycle policies automate transitioning objects between storage classes or expiring them, but they do not replicate data across Regions. Option D is wrong because S3 Transfer Acceleration speeds up uploads over long distances using AWS edge locations and optimized network paths, but it does not provide automatic replication or disaster recovery.

975
MCQmedium

A company's compliance team needs to enforce a policy that all Amazon S3 buckets must have 'Block all public access' enabled. If a bucket is created without this setting, the company wants the policy to be automatically remediated within minutes without manual intervention. The solution must check for compliance continuously and apply the fix automatically. Which AWS service should the company use to meet these requirements?

A.AWS Config with an AWS Config rule and an automatic remediation action
B.Amazon GuardDuty
C.AWS CloudTrail
D.AWS Identity and Access Management (IAM)
AnswerA

AWS Config can evaluate resource configurations against rules (e.g., 's3-bucket-public-read-prohibited') and automatically trigger a remediation action, such as an SSM Automation document, to fix non-compliant resources like S3 buckets without manual intervention. This matches the requirement.

Why this answer

AWS Config can continuously evaluate the configuration of S3 buckets against a managed rule like 's3-bucket-public-read-prohibited' or 's3-bucket-public-write-prohibited'. When a noncompliant bucket is detected, AWS Config can automatically trigger a remediation action using an AWS Systems Manager Automation document (e.g., 'AWS-DisableS3BucketPublicReadWrite') to enable 'Block all public access' within minutes, without manual intervention.

Exam trap

The trap here is that candidates often confuse AWS Config's compliance and remediation capabilities with CloudTrail's logging or GuardDuty's threat detection, failing to recognize that only AWS Config provides continuous evaluation with automatic remediation actions.

Why the other options are wrong

B

Amazon GuardDuty is a threat detection service that monitors for malicious activity, not a compliance enforcement tool. It cannot automatically remediate S3 bucket public access settings.

C

AWS CloudTrail records API activity but does not continuously evaluate resource compliance or automatically remediate misconfigurations. It lacks built-in rules for S3 public access and cannot apply fixes.

D

IAM is used for managing user permissions and access control, not for continuous compliance monitoring or automatic remediation of S3 bucket configurations.

When would these options actually be correct?

B

A company needs to detect and alert on suspicious API calls or unauthorized access attempts to S3 buckets, such as repeated failed login attempts or data exfiltration patterns. GuardDuty would be the correct service to use.

C

A company needs to audit all API calls that create or modify S3 bucket policies for security analysis and must retain those logs for 90 days. AWS CloudTrail would be the correct service to capture and store the API activity.

D

A question requiring enforcement of a policy that only specific IAM roles can create S3 buckets, using IAM policies with conditions to deny creation unless 'Block all public access' is enabled.

Why candidates pick the wrong answer

B

Candidates may confuse GuardDuty's security monitoring capabilities with compliance enforcement, thinking it can also block public access, or they may assume any security service can handle compliance rules.

C

Candidates may think CloudTrail can detect and respond to policy violations because it logs S3 configuration changes, but they overlook that it provides no automated remediation or continuous compliance evaluation.

D

Candidates may think IAM can enforce all security policies because it controls permissions, but it lacks the continuous monitoring and automated remediation capabilities needed here.

Page 12

Page 13 of 14

Page 14