Curated

Reliability and Business Continuity (2.1–2.3)

0 votes

Questions66

  1. Question 1

    Reliability and Business Continuity

    Which change is an example of horizontal scaling for an EC2 application?

    Show the answer

    Correct answerB. Adding more instances to the application's fleet

    AWhy not this: A larger instance type increases resources per instance, which is vertical scaling.

    BWhy this is right: Adding instances increases the number of compute resources available to share application work.

    CWhy not this: Increasing memory per instance changes individual instance capacity rather than fleet size.

    DWhy not this: Increasing volume IOPS improves storage performance without adding compute instances.

    Horizontal scaling adds compute instances to distribute work across a larger fleet. Choosing a larger instance type is vertical scaling because it increases the resources of an individual instance.

    Open this question
  2. Question 2

    Reliability and Business Continuity

    An EC2 Auto Scaling group has CPU and ALB request-count target tracking policies, both with scale-in enabled. The CPU policy requests scale-in while the request-count policy requests scale-out, and no capacity limits or scaling delays apply. How does Amazon EC2 Auto Scaling respond?

    Show the answer

    Correct answerA. It scales out to preserve application availability.

    AWhy this is right: A target tracking policy requesting scale-out can increase capacity even when another requests scale-in.

    BWhy not this: Agreement is required for scale-in, not scale-out; conflicting requests do not prevent a scale-out.

    CWhy not this: Low CPU utilization alone cannot cause scale-in when another enabled target tracking policy requires more capacity.

    DWhy not this: Policy creation order does not determine precedence among target tracking policies.

    With multiple target tracking policies, Amazon EC2 Auto Scaling scales out when any policy requires it. Scale-in requires agreement from all target tracking policies that have scale-in enabled, so conflicting requests do not cancel each other.

    Open this question
  3. Question 3

    Reliability and Business Continuity

    An application's traffic increases sharply at 09:00 every weekday. EC2 instances take 10 minutes to become ready. What should a CloudOps engineer configure to provide capacity before traffic increases?

    Show the answer

    Correct answerA. A scheduled action that increases desired capacity at 08:45

    AWhy this is right: Increasing desired capacity at 08:45 gives instances time to become ready before the 09:00 traffic increase.

    BWhy not this: CPU-based target tracking responds to utilization changes rather than starting capacity before a known traffic increase.

    CWhy not this: The health check grace period controls when health checks can cause replacement; shortening it does not schedule capacity.

    DWhy not this: Request-based step scaling reacts after request counts cross a threshold, which does not provide advance capacity.

    A scheduled action can increase capacity before a known traffic increase, allowing time for instance startup. Target tracking reacts to metric changes rather than preparing capacity at a specified time.

    Open this question
  4. Question 4

    Reliability and Business Continuity

    An Amazon ECS service uses target tracking to maintain 60% average CPU utilization. CPU remains at 90%, but the service has reached its configured maximum of 10 tasks and sufficient cluster capacity is available. What should a CloudOps engineer change to allow further scale-out?

    Show the answer

    Correct answerA. Increase the service's maximum task capacity.

    AWhy this is right: Raising maximum task capacity lets Service Auto Scaling add tasks beyond the current limit of 10.

    BWhy not this: Minimum task capacity controls the lower bound, not how far the service can scale out.

    CWhy not this: The scale-in cooldown affects capacity reductions and does not remove the maximum task-count limit.

    DWhy not this: A higher CPU target reduces scaling pressure but leaves the maximum task count unchanged.

    Service Auto Scaling cannot increase desired task count beyond its configured maximum capacity. Increasing the CPU target would tolerate higher utilization rather than remove the task-count limit.

    Open this question
  5. Question 5

    Reliability and Business Continuity

    A Route 53 primary failover alias has Evaluate Target Health enabled for an Application Load Balancer with two associated target groups: one healthy and one empty. The secondary is healthy, but DNS selects it despite successful requests to the primary application; what should the operator conclude?

    Show the answer

    Correct answerB. The empty target group makes the primary alias unhealthy.

    AWhy not this: One healthy group does not compensate for another associated group having no healthy targets.

    BWhy this is right: An associated target group with no registered targets is considered unhealthy when Route 53 evaluates ALB health.

    CWhy not this: Evaluate Target Health can use ALB target health without a separate Route 53 endpoint health check.

    DWhy not this: DNS cache expiration does not repair the underlying load balancer health evaluation.

    With Evaluate Target Health enabled, each associated ALB target group must contain at least one healthy target; an empty group is unhealthy. Successful requests through another group do not make the alias healthy.

    Open this question
  6. Question 6

    Reliability and Business Continuity

    An Application Load Balancer reports health check timeouts for EC2 targets that respond locally on the configured health check port. Which network configurations should the operator verify permit the health check traffic? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. ALB security group outbound rules allow the targets on the health check port.B. Subnet network ACLs allow the health check requests and their return traffic.D. Target security group inbound rules allow the ALB security group on the health check port.

    AWhy this is right: The load balancer must be allowed to initiate health check connections to its targets.

    BWhy this is right: Network ACLs are stateless, so they must permit requests and return traffic, including the required ephemeral ports.

    CWhy not this: Deregistration delay governs connection draining, not whether health check traffic can reach a target.

    DWhy this is right: The targets must accept health check connections from the load balancer on the configured port.

    EWhy not this: Stickiness affects client request routing and does not establish health check connectivity.

    Health checks require permitted ALB outbound traffic, target inbound traffic, and request and return paths through stateless network ACLs. Stickiness affects client request routing, while deregistration delay governs draining targets.

    Open this question
  7. Question 7

    Reliability and Business Continuity

    An Application Load Balancer marks targets unhealthy because its HTTP health check receives 302 from /, while /ready returns 200 only when the application is ready. What should the operator change to verify readiness without accepting redirects?

    Show the answer

    Correct answerD. Change the health check path to /ready.

    AWhy not this: Cross-zone load balancing changes traffic distribution, not the health check response.

    BWhy not this: Accepting redirects would not establish whether the application is ready.

    CWhy not this: A longer timeout does not change an HTTP response code mismatch.

    DWhy this is right: The readiness endpoint returns the expected success code only when the application is ready.

    Checking /ready verifies application readiness using its 200 response. Accepting 302 would treat the redirect as healthy without verifying readiness.

    Open this question
  8. Question 8

    Reliability and Business Continuity

    Which Application Load Balancer health check setting specifies the consecutive failed checks required before a healthy target becomes unhealthy?

    Show the answer

    Correct answerA. Unhealthy threshold count

    AWhy this is right: This setting defines the consecutive failures required to mark a healthy target unhealthy.

    BWhy not this: This setting defines the consecutive successes required for an unhealthy target to recover.

    CWhy not this: The interval controls the approximate time between health checks, not the number of failures required.

    DWhy not this: The timeout controls how long to wait for a health check response.

    The unhealthy threshold count specifies how many consecutive health check failures make a healthy target unhealthy. The healthy threshold count governs recovery to healthy status.

    Open this question
  9. Question 9

    Reliability and Business Continuity

    Amazon CloudFront caches product pages whose content varies by the product query parameter, but marketing requests also include unique tracking query parameters that do not affect content. Which cache policy change BEST increases cache reuse without mixing product pages?

    Show the answer

    Correct answerB. Include only the product query parameter in the cache key

    AWhy not this: Removing the product parameter from the cache key can cause different products to share a cached response.

    BWhy this is right: The product parameter distinguishes content, while irrelevant tracking parameters no longer fragment cached responses.

    CWhy not this: Unique tracking values create unnecessary cache entries and reduce reuse of identical content.

    DWhy not this: Tracking values fragment the cache while omitting the product parameter fails to distinguish different product pages.

    Including only the product parameter preserves distinct product pages while allowing requests with different tracking values to share cached content. Excluding every query parameter would incorrectly use the same cache key for different products.

    Open this question
  10. Question 10

    Reliability and Business Continuity

    An EC2 Auto Scaling group uses CPU target tracking and an Application Load Balancer; instances require variable-length bootstrap before receiving traffic, followed by 180 seconds of elevated initialization CPU. Which configuration waits for bootstrap completion and excludes the subsequent initialization CPU from aggregated scaling metrics?

    Show the answer

    Correct answerA. A launch lifecycle hook completed after bootstrap, plus 180-second default instance warmup

    AWhy this is right: The hook gates entry into service, and default instance warmup excludes initialization metrics after entry.

    BWhy not this: The hook gates entry into service, but default cooldown does not provide target tracking's per-instance metric exclusion.

    CWhy not this: Warmup excludes initialization metrics, but neither setting waits for a variable-length bootstrap to finish before service entry.

    DWhy not this: The hook gates entry into service, but health check grace periods do not exclude CPU metrics from scaling calculations.

    A launch lifecycle hook holds an instance before it enters service until bootstrap completes. Default instance warmup then excludes its initialization metrics from aggregated scaling metrics; health check grace periods delay health-based replacement, not metric inclusion.

    Open this question
  11. Question 11

    Reliability and Business Continuity

    An EC2 Auto Scaling group processes Amazon SQS messages, averaging 30 seconds per message per instance; acceptable queue waiting time is 120 seconds. Which target tracking metric and target value BEST maintain this waiting time as the group scales?

    Show the answer

    Correct answerD. Backlog per in-service instance, with a target of 4

    AWhy not this: A backlog of 120 messages per instance represents approximately 3,600 seconds of queued work.

    BWhy not this: Total queue depth does not normalize demand by the number of instances available to process messages.

    CWhy not this: Using waiting time as a total message-count target mixes units and ignores changes in processing capacity.

    DWhy this is right: Four messages per instance correspond to 120 seconds of queued work at 30 seconds per message.

    The backlog-per-instance target is acceptable waiting time divided by average processing time: 120/30 = 4 messages. Total visible message count does not account for the number of instances processing the queue.

    Open this question
  12. Question 12

    Reliability and Business Continuity

    An Amazon ECS service running on AWS Fargate becomes memory-constrained during unpredictable traffic bursts while CPU utilization remains low. Which scaling configuration BEST responds to this resource pressure?

    Show the answer

    Correct answerC. Target tracking on average ECS service memory utilization

    AWhy not this: Scheduled scaling fits known demand patterns rather than unpredictable bursts.

    BWhy not this: Fargate manages the underlying compute capacity; the service does not use a customer-managed EC2 Auto Scaling group.

    CWhy this is right: Memory-based target tracking adjusts the service task count in response to the stated resource constraint.

    DWhy not this: CPU utilization remains low, so it does not represent the resource pressure requiring additional tasks.

    ECS service target tracking can adjust the task count using average memory utilization, matching the constrained resource. CPU-based tracking would not respond adequately when CPU utilization remains low.

    Open this question
  13. Question 13

    Reliability and Business Continuity

    A team frequently creates and deletes EBS volumes, and every volume tagged Backup=Daily must receive scheduled backups. With EBS enabled for AWS Backup, how should the team include new matching volumes without updating resource lists?

    Show the answer

    Correct answerA. Use a tag-based resource assignment in the backup plan.

    AWhy this is right: Tag-based assignments include matching resources without maintaining individual resource lists.

    BWhy not this: A vault name identifies backup storage; it does not select source resources.

    CWhy not this: An explicit ARN list requires updates when new volumes are created.

    DWhy not this: Recovery point tags describe backups, not which source volumes a plan selects.

    A tag-based resource assignment dynamically selects resources with matching tags for scheduled backups. An explicit list of volume ARNs does not automatically include newly created volumes.

    Open this question
  14. Question 14

    Reliability and Business Continuity

    Which service automates the scheduled creation and deletion of Amazon EBS snapshots through lifecycle policies?

    Show the answer

    Correct answerC. Amazon Data Lifecycle Manager

    AWhy not this: Backup Audit Manager evaluates backup compliance rather than creating EBS snapshot lifecycle policies.

    BWhy not this: Elastic Disaster Recovery replicates servers for recovery rather than managing scheduled EBS snapshot lifecycle policies.

    CWhy this is right: Data Lifecycle Manager automates EBS snapshot creation and deletion using lifecycle policies.

    DWhy not this: S3 Lifecycle transitions or expires S3 objects rather than managing EBS snapshots.

    Amazon Data Lifecycle Manager uses lifecycle policies to automate EBS snapshot creation and retention. Amazon S3 Lifecycle manages S3 objects, not EBS snapshots.

    Open this question
  15. Question 15

    Reliability and Business Continuity

    An AWS Backup plan has daily and weekly snapshot rules for the same EBS volumes, retaining backups for 35 and 90 days, respectively. On Sundays, both rules have identical start times and start windows. How does AWS Backup optimize these overlapping rules?

    Show the answer

    Correct answerD. It creates one backup with 90-day retention.

    AWhy not this: Overlapping rules are optimized rather than necessarily producing a separate backup for each rule.

    BWhy not this: Using the shorter retention would fail to preserve the weekly rule's required retention.

    CWhy not this: AWS Backup does not add the retention periods of overlapping rules together.

    DWhy this is right: The overlapping rule with the longer retention period determines the retained backup.

    AWS Backup optimizes overlapping backup rules by creating a backup under the rule with the longer retention period. It does not create separate backups merely because two rules apply during the same start window.

    Open this question
  16. Question 16

    Reliability and Business Continuity

    A company needs scheduled cross-account copies of EBS backups whose source volumes use the AWS managed aws/ebs key. Both accounts belong to the same AWS organization with cross-account backup enabled, but the destination vault has no policy allowing incoming copies. Which configuration meets the requirement?

    Show the answer

    Correct answerC. Use customer managed keys for source volumes, grant required key access, allow copies in the destination vault policy, and add a copy rule.

    AWhy not this: Changing destination encryption does not make an aws/ebs-encrypted source backup eligible for cross-account copying.

    BWhy not this: Incoming cross-account copies require authorization on the destination vault, not just the source vault.

    CWhy this is right: This addresses source encryption, key access, destination authorization, and automated copy scheduling.

    DWhy not this: The AWS managed aws/ebs key cannot be shared with another account by changing its key policy.

    Cross-account copying of encrypted EBS backups requires shareable customer managed source keys, appropriate key permissions, destination vault authorization, and a copy rule. A customer managed destination key does not remove the restriction imposed by the source AWS managed key.

    Open this question
  17. Question 17

    Reliability and Business Continuity

    Scheduled AWS Backup jobs protect a company's resources. An operator needs an email notification whenever a backup job enters the FAILED state. Which solution provides this with the least custom code?

    Show the answer

    Correct answerB. Match AWS Backup job state changes in EventBridge and target an SNS email subscription.

    AWhy not this: Daily compliance reporting adds delay and custom processing instead of responding directly to job failures.

    BWhy this is right: EventBridge filters job failure events, and SNS delivers email without custom polling code.

    CWhy not this: Recovery point counts can change because of retention expiration and do not reliably identify failed jobs.

    DWhy not this: Resource configuration changes do not directly indicate that an AWS Backup job failed.

    Amazon EventBridge can match AWS Backup job state change events with a FAILED state and route them to Amazon SNS. A daily compliance report is delayed and does not provide a direct notification for each failed job.

    Open this question
  18. Question 18

    Reliability and Business Continuity

    Every registered target in an Application Load Balancer target group fails its health checks, but requests still reach those targets. What BEST explains this behavior?

    Show the answer

    Correct answerD. The load balancer fails open when all registered targets are unhealthy.

    AWhy not this: Cross-zone load balancing distributes traffic across zones without changing health-check results.

    BWhy not this: Stickiness does not ordinarily make an unhealthy target eligible when healthy targets are available.

    CWhy not this: Deregistration delay drains in-flight requests during deregistration; it does not explain this health-check behavior.

    DWhy this is right: When all registered targets are unhealthy, the ALB routes to them rather than having no targets to use.

    An Application Load Balancer fails open when its target group contains only unhealthy registered targets, routing requests to them. Deregistration delay concerns draining deregistering targets, not the handling of a group whose targets all fail health checks.

    Open this question
  19. Question 19

    Reliability and Business Continuity

    An application has sufficient EC2 capacity in private subnets across two Availability Zones, but both subnets use a NAT gateway in the first zone for required external API calls. Which change preserves outbound connectivity in the surviving zone if either zone fails?

    Show the answer

    Correct answerA. Deploy a NAT gateway in each zone and use same-zone subnet routes.

    AWhy this is right: Same-zone NAT routing allows instances in the surviving zone to retain their independent outbound path.

    BWhy not this: An internet gateway route alone does not give instances with only private addresses outbound internet connectivity.

    CWhy not this: Cross-zone load balancing does not change the private subnets' outbound routing dependency.

    DWhy not this: Two NAT gateways in the same zone remain vulnerable to the loss of that zone.

    A NAT gateway in each Availability Zone, with each private subnet routing through its local gateway, removes the shared zonal dependency. Cross-zone load balancing distributes inbound application traffic but does not provide resilient outbound internet access.

    Open this question
  20. Question 20

    Reliability and Business Continuity

    An application uses a Single-AZ Amazon RDS for PostgreSQL DB instance. Which change provides a synchronously replicated standby and automatic failover during an Availability Zone outage?

    Show the answer

    Correct answerD. Convert the instance to a Multi-AZ DB instance deployment.

    AWhy not this: Copied snapshots support restoration in another Region, not synchronous replication or automatic zonal failover.

    BWhy not this: A PostgreSQL read replica uses asynchronous replication and is not an automatic Multi-AZ standby.

    CWhy not this: Automated backups support recovery but do not provide a running standby for automatic failover.

    DWhy this is right: A Multi-AZ DB instance deployment provides a synchronous standby in another zone with automatic failover.

    An RDS Multi-AZ DB instance deployment maintains a synchronously replicated standby in another Availability Zone and supports automatic failover. A PostgreSQL read replica uses asynchronous replication and is not the automatic standby requested here.

    Open this question
  21. Question 21

    Reliability and Business Continuity

    Which Application Load Balancer setting controls the approximate time between health checks of an individual target?

    Show the answer

    Correct answerB. Health check interval

    AWhy not this: Deregistration delay controls connection draining when a target is deregistered.

    BWhy this is right: The interval controls the approximate time between health checks of a target.

    CWhy not this: The healthy threshold counts consecutive successful checks needed to establish health.

    DWhy not this: The timeout controls how long a health check waits for a response.

    The health check interval specifies the approximate time between checks of an individual target. The timeout specifies how long to wait for a response to a check, not how frequently checks occur.

    Open this question
  22. Question 22

    Reliability and Business Continuity

    An application has only private IP addresses, and its readiness depends on an internal database query. Route 53 DNS failover must reflect readiness without exposing an endpoint publicly or adding a load balancer. Which configuration meets these requirements?

    Show the answer

    Correct answerB. Publish readiness to CloudWatch and create an alarm-based Route 53 health check.

    AWhy not this: Evaluate Target Health needs an alias to a load balancer, which the requirements rule out.

    BWhy this is right: An internal readiness probe can publish a metric whose alarm state Route 53 uses for health evaluation.

    CWhy not this: Calculated health checks combine child health checks; they do not give endpoint checkers private network access.

    DWhy not this: Route 53 endpoint health checkers cannot directly reach private IP addresses.

    An internal probe can publish application readiness to a CloudWatch metric; Route 53 can monitor the resulting alarm without reaching the private endpoint. Evaluate Target Health needs an alias to a load balancer, which the requirements rule out.

    Open this question
  23. Question 23

    Reliability and Business Continuity

    An administrator is preparing an existing S3 bucket for scheduled continuous backups with point-in-time restore through AWS Backup. Which configurations are required before backup jobs can successfully protect the bucket? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Enable Amazon EventBridge notifications for the bucket.C. Enable S3 Versioning on the bucket.F. Grant the backup IAM role the required S3 permissions.

    AWhy not this: Replication copies objects to another bucket; AWS Backup does not require it.

    BWhy this is right: Continuous backups use bucket events delivered through EventBridge to track object changes.

    CWhy this is right: AWS Backup requires versioning to protect and track object versions in the bucket.

    DWhy not this: Lifecycle transitions change object storage classes rather than enable backups.

    EWhy not this: Object Lock provides retention protection but is not required to back up an S3 bucket.

    FWhy this is right: AWS Backup needs an IAM role authorized to access the bucket and its protected objects.

    Continuous S3 backups through AWS Backup require S3 Versioning, EventBridge notifications for the bucket, and an IAM role with the required S3 permissions. Cross-Region Replication copies objects between buckets but is not a prerequisite for AWS Backup.

    Open this question
  24. Question 24

    Reliability and Business Continuity

    Which AWS Backup component defines a recurring backup schedule and recovery point retention?

    Show the answer

    Correct answerC. Backup plan

    AWhy not this: A restore testing plan schedules restore validation rather than production backup creation.

    BWhy not this: A resource assignment identifies resources to protect under a backup plan.

    CWhy this is right: A backup plan contains rules specifying when to back up resources and how long to retain backups.

    DWhy not this: A backup vault stores recovery points rather than defining a recurring backup schedule.

    An AWS Backup plan contains rules defining backup schedules and recovery point retention. A backup vault stores recovery points but does not define their recurring creation schedule.

    Open this question
  25. Question 25

    Reliability and Business Continuity

    An RDS for PostgreSQL DB instance has a backup retention period of 0 days. An administrator must enable daily automated backups and retain them for a week. What should the administrator do?

    Show the answer

    Correct answerD. Set the backup retention period to 7 days.

    AWhy not this: A read replica maintains a replicated database rather than a week's retained daily backups.

    BWhy not this: Weekly manual snapshots do not provide daily automated backups.

    CWhy not this: Multi-AZ provides a standby for availability, not a daily backup schedule or retention policy.

    DWhy this is right: A 7-day retention period enables automated backups and retains them for the required week.

    A positive RDS backup retention period enables automated backups; setting it to 7 days retains them for a week. Multi-AZ improves availability but does not replace automated backups or establish their retention.

    Open this question
  26. Question 26

    Reliability and Business Continuity

    An administrator restores an RDS for MySQL database to a point before an accidental deletion. After validating the restored data, which action returns the application to the recovered database?

    Show the answer

    Correct answerB. Update the application to use the restored DB endpoint.

    AWhy not this: Point-in-time recovery does not replace the original instance's data, so rebooting it does not complete recovery.

    BWhy this is right: The restored DB instance has its own endpoint, which the application must use to access the recovered data.

    CWhy not this: RDS snapshots are restored into DB instances; they cannot be attached to an existing instance.

    DWhy not this: Point-in-time recovery creates a standalone DB instance, not a read replica requiring promotion.

    RDS point-in-time recovery creates a new DB instance with a new endpoint, so the application must be redirected after validation. (Alternatively, rename the instances so the restored one takes the original identifier and endpoint.) Rebooting the original instance does not load the recovered data because restoration does not overwrite it.

    Open this question
  27. Question 27

    Reliability and Business Continuity

    An Aurora MySQL cluster has Backtrack enabled with its earliest backtrack time before an accidental bulk update; all subsequent writes can be discarded. Tested backtracking takes 2 minutes, while restoring a new cluster takes 40 minutes. Which recovery action meets a 5-minute RTO?

    Show the answer

    Correct answerC. Backtrack the cluster to immediately before the update.

    AWhy not this: Snapshot restoration creates a new cluster and exceeds the measured recovery-time allowance.

    BWhy not this: Restoring a new cluster takes 40 minutes, exceeding the 5-minute RTO.

    CWhy this is right: The target time is available for Backtrack, and the measured 2-minute recovery meets the RTO.

    DWhy not this: Aurora Replicas share the cluster's data, so failover does not reverse the committed update.

    Aurora Backtrack rewinds the existing cluster without restoring a new cluster, and the measured duration meets the RTO. Point-in-time restore creates a new cluster and exceeds the RTO; failover does not undo a committed update.

    Open this question
  28. Question 28

    Reliability and Business Continuity

    Which cache setting specifies how long an ElastiCache entry remains valid before it expires?

    Show the answer

    Correct answerC. Time to live

    AWhy not this: An eviction policy selects entries for removal under memory pressure rather than defining their expiration interval.

    BWhy not this: Replication lag measures delay in propagating changes to replicas, not an entry's expiration interval.

    CWhy this is right: Time to live specifies the expiration interval for a cached entry.

    DWhy not this: Connection timeout limits connection waiting time, not the lifetime of cached data.

    Time to live defines an entry's expiration interval. An eviction policy determines which entries can be removed under memory pressure, rather than setting their validity period.

    Open this question
  29. Question 29

    Reliability and Business Continuity

    A CloudFront cache behavior serves public and personalized responses; personalized responses include Cache-Control: no-store. Its cache policy has a minimum TTL of 60 seconds, and personalized responses are being cached. Which change allows CloudFront to honor no-store while retaining caching for public responses?

    Show the answer

    Correct answerC. Set the minimum TTL to zero.

    AWhy not this: Default TTL applies when origin expiration information is absent and does not remove the positive minimum TTL.

    BWhy not this: Invalidation removes existing objects but does not prevent subsequent personalized responses from being cached.

    CWhy this is right: A zero minimum TTL allows CloudFront to respect no-store while caching public responses according to their cache directives.

    DWhy not this: Forwarding cookies does not remove the minimum TTL that overrides the origin's no-store directive.

    A positive minimum TTL causes CloudFront to cache responses for at least that duration, even with no-store. Setting it to zero permits origin cache directives to prevent caching; changing the default TTL does not override the minimum.

    Open this question
  30. Question 30

    Reliability and Business Continuity

    A CloudFront distribution delivers cacheable objects worldwide from an application origin. Simultaneous misses across regional edge caches overload the origin, but object freshness requirements prevent longer TTLs. Which change BEST reduces duplicate origin fetches?

    Show the answer

    Correct answerB. Enable CloudFront Origin Shield.

    AWhy not this: A longer response timeout allows more waiting but does not reduce the number of origin fetches.

    BWhy this is right: Origin Shield consolidates requests through an additional cache layer, reducing duplicate fetches from the origin.

    CWhy not this: More connection attempts increase retry opportunities rather than consolidating requests to the origin.

    DWhy not this: Origin failover routes requests to a secondary origin after qualifying failures; it does not consolidate cache misses.

    Origin Shield adds a shared caching layer that consolidates requests from regional edge caches, reducing origin fetches. Origin failover provides an alternate origin for failures but does not consolidate cache misses.

    Open this question
  31. Question 31

    Reliability and Business Continuity

    An application uses Amazon ElastiCache to cache frequently requested database records. Under a lazy-loading strategy, what should the application do when a requested record is absent from the cache?

    Show the answer

    Correct answerA. Read the database and populate the cache.

    AWhy this is right: Fetching and caching the missing record allows subsequent requests to avoid database reads.

    BWhy not this: Caching an empty record would not return the existing database record requested by the application.

    CWhy not this: Leaving the cache empty causes repeated database reads rather than populating the cache on demand.

    DWhy not this: Lazy loading requires application logic; ElastiCache does not automatically fetch database records.

    With lazy loading, the application handles a cache miss by reading the database and adding the result to the cache. ElastiCache does not automatically retrieve missing application records from the database.

    Open this question
  32. Question 32

    Reliability and Business Continuity

    Which AWS service caches website images at edge locations to reduce origin requests from geographically distributed users?

    Show the answer

    Correct answerD. Amazon CloudFront

    AWhy not this: EC2 Auto Scaling adjusts compute capacity; it does not cache website content at edge locations.

    BWhy not this: Amazon RDS provides managed relational databases, not edge caching.

    CWhy not this: ElastiCache provides regional application caching rather than content delivery through global edge locations.

    DWhy this is right: CloudFront serves cached content from edge locations, reducing origin traffic and delivery latency.

    Amazon CloudFront caches content at edge locations near users, reducing requests to the origin. Amazon ElastiCache provides an application-accessible cache within a Region, not a global edge delivery network.

    Open this question
  33. Question 33

    Reliability and Business Continuity

    An Aurora cluster has a writer and equally sized readers in separate Availability Zones. An operator wants one particular reader preferred for promotion if the writer fails; what should the operator configure?

    Show the answer

    Correct answerD. Give that reader the lowest numeric promotion tier.

    AWhy not this: DNS routing weights do not control Aurora's internal writer promotion process.

    BWhy not this: Higher-numbered promotion tiers have lower failover priority.

    CWhy not this: ALB target registration does not determine which Aurora reader becomes the writer.

    DWhy this is right: A lower-numbered promotion tier gives the reader higher priority for promotion.

    Aurora prefers eligible readers with lower-numbered promotion tiers during failover. Route 53 routing weights influence DNS responses, not Aurora's choice of a replacement writer.

    Open this question
  34. Question 34

    Reliability and Business Continuity

    An application needs six running EC2 instances to handle peak traffic and distributes instances evenly across three Availability Zones. What minimum pre-provisioned capacity sustains peak traffic immediately after any one zone fails, without launching replacements?

    Show the answer

    Correct answerA. Nine instances, with three per zone

    AWhy this is right: Losing any zone leaves six instances, meeting peak demand without replacement launches.

    BWhy not this: Losing a zone leaves four instances, which is below the required peak capacity.

    CWhy not this: This leaves sufficient capacity but exceeds the minimum required.

    DWhy not this: Losing a zone containing three instances leaves only five, below the required capacity.

    Nine instances leave six running after losing any zone containing three instances. Six instances provide enough normal capacity but leave only four after a zone fails; eight leave only five if a zone containing three fails.

    Open this question
  35. Question 35

    Reliability and Business Continuity

    A web application runs in an EC2 Auto Scaling group behind an Application Load Balancer and stores sessions in instance memory. Which changes improve resilience to instance and Availability Zone failures? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Configure the Auto Scaling group to use subnets in multiple Availability Zones.D. Move session state to an Amazon DynamoDB table.F. Enable Elastic Load Balancing health checks for the Auto Scaling group.

    AWhy this is right: Multiple Availability Zones prevent a single zonal failure from removing every application instance.

    BWhy not this: A cluster placement group concentrates instances within one Availability Zone rather than spreading zonal risk.

    CWhy not this: Stickiness directs requests to a target but cannot recover session state lost with that target.

    DWhy this is right: External session storage prevents instance loss from deleting the application's session state.

    EWhy not this: EC2 status checks can pass while the application is unable to serve requests.

    FWhy this is right: Auto Scaling can replace instances that the load balancer identifies as unhealthy at the application layer.

    Multi-AZ placement limits zonal failure impact, external session storage preserves sessions after instance loss, and ELB health checks let Auto Scaling replace application-unhealthy instances. Stickiness does not preserve sessions when their host fails.

    Open this question
  36. Question 36

    Reliability and Business Continuity

    Which Amazon EFS configuration lets clients in the remaining Availability Zones keep using a file system if one Availability Zone fails?

    Show the answer

    Correct answerB. Regional file system type

    AWhy not this: Performance mode affects how operations scale and their latency, not how many Availability Zones store the data.

    BWhy this is right: Regional file systems store data across multiple Availability Zones and accept mount targets in each.

    CWhy not this: One Zone stores data in a single Availability Zone, so a failure of that zone makes the file system unavailable.

    DWhy not this: Throughput mode sets how throughput scales with the workload, not the file system's Availability Zone coverage.

    An EFS Regional file system stores data redundantly across multiple Availability Zones and can have a mount target in each one, so it stays available when one zone fails. Performance and throughput modes change how the file system performs, not where its data is stored.

    Open this question
  37. Question 37

    Reliability and Business Continuity

    An EC2 instance fails, but its Availability Zone remains available. Where can a replacement instance attach the original EBS data volume?

    Show the answer

    Correct answerA. In the same Availability Zone as the volume

    AWhy this is right: A replacement instance in the volume's Availability Zone can attach the existing volume.

    BWhy not this: VPC peering provides network connectivity but does not enable cross-AZ EBS attachment.

    CWhy not this: EBS volumes are zonal resources, not volumes that can attach throughout a Region.

    DWhy not this: Account ownership does not permit attaching an EBS volume across Regions.

    An EBS volume can attach to an EC2 instance in the same Availability Zone. VPC connectivity does not change this boundary; recovery in another zone requires a separate volume, such as one restored from a snapshot.

    Open this question
  38. Question 38

    Reliability and Business Continuity

    An RDS for MySQL snapshot restore reaches Available within the RTO, but initial queries against large tables remain too slow for application acceptance because data is still loading from S3. Which recovery-runbook change best addresses this delay?

    Show the answer

    Correct answerD. Read all required table data before application cutover.

    AWhy not this: Multi-AZ provides a standby for availability rather than preloading application data.

    BWhy not this: Taking another snapshot does not load the restored tables needed by application queries.

    CWhy not this: Longer backup retention increases recovery history but does not preload restored table data.

    DWhy this is right: Reading required data triggers its loading before application traffic depends on it.

    RDS snapshot restores use lazy loading, so an Available instance can still incur first-read delays. Reading required table data before cutover loads it into storage; Multi-AZ improves availability but does not eliminate this loading behavior.

    Open this question
  39. Question 39

    Reliability and Business Continuity

    An RDS for PostgreSQL workload needs Regional disaster recovery with a 10-minute RPO and 90-minute RTO at the lowest ongoing cost, without continuously running recovery compute. Tests show replicated automated backups lag by 3 minutes and can be restored and validated in 65 minutes; daily snapshot copies take 50 minutes to restore. Which strategy best meets these requirements?

    Show the answer

    Correct answerB. Replicate automated backups to the recovery Region and use point-in-time restore.

    AWhy not this: Backups retained only in the source Region do not provide the required Regional disaster recovery.

    BWhy this is right: The measured replication lag and restore duration meet both recovery limits without continuously running recovery compute.

    CWhy not this: Daily snapshots can leave nearly 24 hours of data loss, exceeding the 10-minute RPO.

    DWhy not this: A read replica requires continuously running database compute, violating the stated constraint.

    Cross-Region automated backup replication provides a recovery point and tested recovery duration within both limits without running recovery compute continuously. Daily snapshot copies restore quickly enough but can lose nearly a day of changes.

    Open this question
  40. Question 40

    Reliability and Business Continuity

    A DynamoDB table has had point-in-time recovery enabled with a 35-day recovery period for two months. Incorrect writes began 20 days ago and were discovered today; which action recovers the table's state immediately before those writes?

    Show the answer

    Correct answerA. Restore to a new table at a time before the incorrect writes.

    AWhy this is right: The desired time is within the configured recovery period, and restoration creates a separate table.

    BWhy not this: A newly added global table replica receives current data, including the incorrect writes.

    CWhy not this: Yesterday's backup includes the incorrect writes because they began 20 days ago.

    DWhy not this: DynamoDB point-in-time recovery creates a new table rather than overwriting the source table.

    DynamoDB point-in-time recovery can restore a new table to a selected time within the configured recovery period. An on-demand backup from yesterday already contains the incorrect writes and cannot recover the earlier state.

    Open this question
  41. Question 41

    Reliability and Business Continuity

    Which RDS backup can be retained until explicitly deleted and used to restore a database years later?

    Show the answer

    Correct answerB. A manual DB snapshot

    AWhy not this: Automated daily backups expire according to the configured backup retention period.

    BWhy this is right: Manual DB snapshots do not expire through the automated backup retention period.

    CWhy not this: RDS-managed transaction logs support recovery within the automated backup retention window.

    DWhy not this: A standby instance provides availability, not an independently retained historical backup.

    A manual DB snapshot remains available until explicitly deleted and can be used to restore a DB instance. Automated backups follow a configured retention period rather than providing indefinite retention.

    Open this question
  42. Question 42

    Reliability and Business Continuity

    An RDS DB instance fails at 10:25, and its latest restorable time is 10:22 when recovery begins. The workload has a 2-minute RPO; what should the operator conclude about restoring to the latest restorable time?

    Show the answer

    Correct answerD. The RPO is missed because the recovery point is 3 minutes before failure.

    AWhy not this: Restore duration relates to RTO, whereas RPO measures the acceptable data-loss window.

    BWhy not this: Point-in-time recovery uses backups and transaction logs, not just the latest daily snapshot's timestamp.

    CWhy not this: Point-in-time recovery cannot select a time later than the reported latest restorable time.

    DWhy this is right: The 3-minute gap between failure and the available recovery point exceeds the allowed data-loss window.

    The latest available recovery point is 3 minutes before failure, exceeding the 2-minute RPO. How quickly the database becomes available measures recovery time, not the amount of data loss.

    Open this question
  43. Question 43

    Reliability and Business Continuity

    An application stores session data in each EC2 instance's memory. Users lose their sessions when the Auto Scaling group removes instances. Which change BEST preserves sessions as instances scale in and out?

    Show the answer

    Correct answerD. Store sessions in a shared Amazon ElastiCache cache.

    AWhy not this: Sticky sessions maintain routing affinity but cannot preserve memory on a terminated instance.

    BWhy not this: A higher minimum capacity does not preserve session data when individual instances are removed.

    CWhy not this: CloudFront caches responses at edge locations; it does not provide a shared application session store.

    DWhy this is right: A shared cache keeps session data accessible independently of which application instance handles a request.

    A shared ElastiCache cache decouples session data from individual instances, allowing replacement instances to retrieve existing sessions. Sticky sessions route users to an instance but do not preserve its in-memory data when it terminates.

    Open this question
  44. Question 44

    Reliability and Business Continuity

    Which Amazon RDS feature adds database instances to offload read-only queries from a primary DB instance?

    Show the answer

    Correct answerC. Read replicas

    AWhy not this: Automated backups support recovery rather than serving application queries.

    BWhy not this: Storage autoscaling expands storage capacity rather than distributing query execution.

    CWhy this is right: Read replicas accept read-only queries that applications route away from the primary.

    DWhy not this: A Multi-AZ DB instance standby supports failover and cannot serve read-only application queries.

    Read replicas serve read-only queries, reducing read load on the primary DB instance. A standby in a Multi-AZ DB instance deployment supports failover and does not serve application read traffic.

    Open this question
  45. Question 45

    Reliability and Business Continuity

    A provisioned DynamoDB table has spare write capacity, but table writes are throttled because a global secondary index has exhausted its write capacity. The index's write auto scaling has reached its maximum capacity. Which change allows scaling to address the bottleneck?

    Show the answer

    Correct answerD. Increase the index's maximum write capacity.

    AWhy not this: Read capacity does not support the index updates required by table writes.

    BWhy not this: Table read capacity does not affect write propagation to a global secondary index.

    CWhy not this: The table already has spare write capacity; its scaling maximum is not limiting index writes.

    DWhy this is right: A higher index write maximum lets auto scaling increase capacity for the throttled index updates.

    A provisioned global secondary index has independent write capacity, and insufficient index write capacity can throttle base-table writes. Raising the index's write scaling maximum permits further scaling; raising the table's maximum does not remove the index bottleneck.

    Open this question
  46. Question 46

    Reliability and Business Continuity

    An Amazon RDS for PostgreSQL DB instance repeatedly approaches its allocated storage limit as data grows. Which configuration automatically increases storage within an administrator-defined limit?

    Show the answer

    Correct answerC. Enable RDS storage autoscaling.

    AWhy not this: A Multi-AZ DB instance deployment provides availability rather than automatic storage growth.

    BWhy not this: A larger DB instance class increases compute and memory resources rather than allocated storage.

    CWhy this is right: Storage autoscaling automatically expands allocated storage up to a configured maximum storage threshold.

    DWhy not this: Read replica auto scaling is not an RDS for PostgreSQL storage-scaling mechanism.

    RDS storage autoscaling increases allocated storage when its conditions are met, up to the configured maximum storage threshold. Increasing the DB instance class changes compute and memory resources, not the allocated storage limit.

    Open this question
  47. Question 47

    Reliability and Business Continuity

    A versioning-enabled S3 bucket must retain current objects indefinitely but permanently remove previous versions 30 days after they become noncurrent. Which lifecycle action meets this requirement?

    Show the answer

    Correct answerD. Expire noncurrent versions after 30 days.

    AWhy not this: Transitioning noncurrent versions changes their storage class but does not permanently delete them.

    BWhy not this: Expired delete marker cleanup removes eligible markers, not previous data versions after a retention period.

    CWhy not this: Current-version expiration affects current objects, which must be retained indefinitely.

    DWhy this is right: Noncurrent version expiration measures retention from when a version becomes noncurrent and permanently removes it.

    Noncurrent version expiration permanently deletes versions after the specified time since they became noncurrent. Current-version expiration instead affects current objects and, in a versioning-enabled bucket, typically adds delete markers.

    Open this question
  48. Question 48

    Reliability and Business Continuity

    An object was deleted from a versioning-enabled S3 bucket without specifying a version ID, leaving a current delete marker. How can an administrator make the previous version current without copying it?

    Show the answer

    Correct answerA. Permanently delete the current delete marker.

    AWhy this is right: Removing the current delete marker makes the preceding object version current again.

    BWhy not this: Another deletion without a version ID does not remove the existing delete marker to expose the object.

    CWhy not this: Suspending versioning changes future write behavior but does not remove the current delete marker.

    DWhy not this: Replication copies eligible changes to another bucket; it does not remove the source object's delete marker.

    Permanently deleting the current delete marker exposes the preceding object version as current. Suspending versioning does not remove an existing delete marker or restore access to the object.

    Open this question
  49. Question 49

    Reliability and Business Continuity

    Which statements describe Amazon S3 Versioning? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Amazon S3 generates object version IDs.D. Each object version is stored as a complete object.E. Versioning is configured at the bucket level.

    AWhy not this: Prefixes cannot have independent versioning settings within a bucket.

    BWhy this is right: S3 generates version IDs; clients do not choose their values.

    CWhy not this: S3 stores complete object versions, not only byte-level differences between versions.

    DWhy this is right: Each version is a complete object and incurs storage charges accordingly.

    EWhy this is right: Versioning is a bucket-level configuration that applies across the bucket.

    S3 Versioning is a bucket-level setting, S3 generates version IDs, and each version is a complete object. It does not store only the differences between versions or support enabling versioning for just one prefix.

    Open this question
  50. Question 50

    Reliability and Business Continuity

    An S3 bucket has versioning suspended, and an object has both a null version and an older non-null version. What happens when the same key is uploaded again?

    Show the answer

    Correct answerA. S3 replaces the null version and retains the older non-null version.

    AWhy this is right: The upload replaces the existing null version without removing versions that have non-null version IDs.

    BWhy not this: Suspending versioning does not prevent uploads to existing object keys.

    CWhy not this: Replacing a null version does not remove the key's existing non-null versions.

    DWhy not this: Suspended versioning assigns a null version ID to new uploads rather than generating new non-null version IDs.

    With versioning suspended, a new upload receives a null version ID and replaces an existing null version for that key. Existing non-null versions remain; creating another non-null version requires versioning to be enabled.

    Open this question