Curated

Resilient Cloud Solutions (3.1–3.3)

0 votes

Questions45

  1. Question 1

    Resilient Cloud Solutions

    An AWS service misses its applicable monthly uptime commitment, and a company wants the contractual remedy. What should the DevOps engineer do?

    Show the answer

    Correct answerC. Submit a service-credit claim with the evidence and timing required by the SLA.

    AWhy not this: Multi-AZ deployment improves resilience but does not replace the claim process for an existing breach.

    BWhy not this: Support plans provide support services, not contractual reimbursement for lost business revenue.

    CWhy this is right: A qualifying claim must follow the applicable SLA's service-credit requirements.

    DWhy not this: A recovery time objective is a business recovery target, not an AWS refund formula.

    AWS SLAs specify eligibility, evidence, deadlines, and service credits for qualifying availability failures. An AWS Support plan does not provide reimbursement for business losses caused by an outage.

    Open this question
  2. Question 2

    Resilient Cloud Solutions

    An application requires two services to be available simultaneously, and each service has a 99.9% SLA commitment. For planning, an engineer models each service at exactly its commitment and assumes independent failures; what should the engineer conclude about a 99.9% application availability target?

    Show the answer

    Correct answerA. The model misses the target because multiplying availability gives approximately 99.8001%.

    AWhy this is right: Independent availability probabilities multiply when every dependency must be available.

    BWhy not this: Averaging does not model an application that fails when either required dependency is unavailable.

    CWhy not this: The lowest commitment does not account for separate outages in another required dependency.

    DWhy not this: Required dependencies form a series system, not redundant alternatives.

    For independent dependencies that must both work, modeled availability is 0.999 × 0.999 = 99.8001%, below the target. Taking the lowest commitment ignores the additional failure dependency; this calculation is a planning model, not a combined AWS contractual SLA.

    Open this question
  3. Question 3

    Resilient Cloud Solutions

    An application uses stateless EC2 instances and Aurora PostgreSQL; it must tolerate an Availability Zone failure and recover from a Region failure without restoring backups. Cross-Region replication lag is acceptable, but normal writes must use one Region and standby compute costs must be minimized. Which deployment BEST meets these requirements?

    Show the answer

    Correct answerC. Use Multi-AZ compute and Aurora in the primary Region, an Aurora global database secondary, and a small Multi-AZ recovery fleet.

    AWhy not this: Cross-Region backups require restoration, which the recovery requirement excludes.

    BWhy not this: Both compute fleets lose database access if the database's Region fails.

    CWhy this is right: The primary spans AZs, the secondary provides regional recovery, and reduced standby compute limits cost.

    DWhy not this: Independent local writers do not provide the required single-writer deployment or replicated recovery data.

    An Aurora global database provides a replicated secondary Region, while a small recovery fleet limits standby compute costs and can scale during recovery. Multi-Region compute accessing only one regional database still depends on that database's Region.

    Open this question
  4. Question 4

    Resilient Cloud Solutions

    Application instances span three Availability Zones but share a POSIX file system exported by one EC2 instance using an EBS volume; replacing that instance still requires recovery in the volume's original zone. Which change removes this zonal storage dependency while preserving shared file-system access?

    Show the answer

    Correct answerC. Use an EFS Regional file system with mount targets in all application AZs

    AWhy not this: An EBS volume can attach only to instances in its Availability Zone, so instance replacement does not solve the dependency.

    BWhy not this: Snapshots enable recovery elsewhere but leave the running workload dependent on a single-zone file server.

    CWhy this is right: EFS Regional removes the single-zone storage dependency while providing shared POSIX file-system access.

    DWhy not this: Distributing clients does not change the single-zone placement of EFS One Zone data.

    EFS Regional stores file data redundantly across Availability Zones and supports shared file-system access. A multi-AZ Auto Scaling group cannot remove the zonal constraint of the existing EBS volume.

    Open this question
  5. Question 5

    Resilient Cloud Solutions

    An application runs in private subnets across two Availability Zones, but both subnets route internet-bound traffic through one zonal NAT gateway. Which change removes the Availability Zone dependency for outbound connectivity?

    Show the answer

    Correct answerD. Deploy a NAT gateway in each AZ and route each private subnet locally

    AWhy not this: Load balancer distribution does not change the private subnets' outbound routing dependency.

    BWhy not this: Both gateways would remain vulnerable to the same Availability Zone outage.

    CWhy not this: Additional application instances still depend on the existing NAT gateway for internet access.

    DWhy this is right: Independent NAT gateways and local routes preserve outbound access for the surviving Availability Zone.

    Each private subnet should use a NAT gateway in its own Availability Zone so that another zone's failure does not remove its outbound path. A second gateway in the same zone still shares the zonal failure dependency.

    Open this question
  6. Question 6

    Resilient Cloud Solutions

    A company requires its order service to resume within 20 minutes of an outage and permits the loss of at most 2 minutes of orders. Which recovery targets should the DevOps engineer specify?

    Show the answer

    Correct answerD. RTO: 20 minutes; RPO: 2 minutes

    AWhy not this: A 20-minute RPO permits more data loss than the business allows.

    BWhy not this: This reverses the permitted recovery time and data-loss window.

    CWhy not this: A 2-minute RTO imposes a stricter recovery-time target than the business specifies.

    DWhy this is right: The recovery time matches 20 minutes, and the data-loss window matches 2 minutes.

    RTO defines the acceptable recovery time, and RPO defines the acceptable data-loss window. Reversing them confuses service restoration with recovery of recent data.

    Open this question
  7. Question 7

    Resilient Cloud Solutions

    A company requires recovery from a Regional outage within 10 minutes, with at most 2 minutes of data loss, at the lowest ongoing cost. Tests show backup and restore takes 3 hours, pilot light takes 25 minutes, scaled-down warm standby takes 7 minutes, and active-active takes 1 minute; the replicated strategies all have 30-second replication lag. Which strategy should the engineer select?

    Show the answer

    Correct answerD. Warm standby

    AWhy not this: The replication lag is acceptable, but the tested 25-minute recovery time is too long.

    BWhy not this: The tested 3-hour restoration time exceeds the 10-minute recovery requirement.

    CWhy not this: It meets the recovery targets but maintains more active capacity than the qualifying warm standby strategy.

    DWhy this is right: The tested recovery time and replication lag meet the targets with less running capacity than active-active.

    Warm standby meets both recovery targets without the ongoing cost of a fully active second Region. Pilot light meets the data-loss target but its tested recovery time exceeds 10 minutes.

    Open this question
  8. Question 8

    Resilient Cloud Solutions

    Billing and analytics services must each process every order event, scale independently, and retain pending events during service outages. Which messaging design best meets these requirements?

    Show the answer

    Correct answerB. An Amazon SNS topic subscribed to by a separate SQS queue for each service

    AWhy not this: Alternating processing divides events between functions instead of delivering every event to each service.

    BWhy this is right: Each subscribed queue receives a copy, buffers pending work, and supports independently scaled consumers.

    CWhy not this: Consumers on one queue compete for messages, so both services would not receive every event.

    DWhy not this: Direct HTTP delivery lacks a separate, consumer-controlled queue for each service's pending work.

    SNS fanout to separate SQS queues gives each service its own durable event backlog and independent consumers. Workers sharing one SQS queue compete for messages instead of delivering every event to both services.

    Open this question
  9. Question 9

    Resilient Cloud Solutions

    An order service uses an Amazon SQS FIFO queue with one message group for all customers, leaving additional consumers idle. Events must retain their enqueue order within each customer, but different customers can be processed concurrently; which change best increases throughput?

    Show the answer

    Correct answerC. Use the customer identifier as the message group identifier

    AWhy not this: Standard queues provide best-effort ordering; customer attributes do not enforce ordered processing.

    BWhy not this: Separate groups for individual events do not preserve ordering across events belonging to the same customer.

    CWhy this is right: Customer-based groups preserve the required ordering boundary while enabling parallel processing across customers.

    DWhy not this: One message group constrains concurrent processing even when additional consumers are available.

    A message group per customer preserves FIFO ordering within that customer while allowing different customers' groups to be processed concurrently. A unique group for every event permits concurrency but loses the required per-customer ordering.

    Open this question
  10. Question 10

    Resilient Cloud Solutions

    An EC2 Auto Scaling group processes an Amazon SQS queue, with each instance processing one message every 8 seconds. The acceptable queue wait is 120 seconds; which target-tracking configuration scales capacity proportionally to the backlog?

    Show the answer

    Correct answerC. Target 15 visible messages per InService instance

    AWhy not this: Message age indicates delay but does not decrease proportionally when instance capacity increases.

    BWhy not this: Total queue depth is not normalized by capacity, so it is unsuitable as a proportional target-tracking metric.

    CWhy this is right: Dividing 120 seconds by 8 seconds per message gives a target of 15 queued messages per active instance.

    DWhy not this: Multiplying wait time by processing time produces the wrong target and permits excessive backlog per instance.

    The backlog-per-instance target is acceptable wait divided by processing time: 120 / 8 = 15 messages. Oldest-message age can indicate delay, but it does not vary proportionally with instance count as target tracking requires.

    Open this question
  11. Question 11

    Resilient Cloud Solutions

    An Amazon ECS service behind an Application Load Balancer spends most of each request waiting on downstream calls. Average CPU stays near 15% even when response times rise with traffic, and load tests show each task handles about 300 requests per minute well. Which target tracking metric fits this service?

    Show the answer

    Correct answerC. ALBRequestCountPerTarget set near 300 requests per task

    AWhy not this: CPU barely changes with load here, so a lower CPU target scales on noise rather than on request volume.

    BWhy not this: Memory use does not track request volume for this service, so it gives no reliable scaling signal.

    CWhy this is right: Requests per target rise with the load each task handles, and the target comes from measured per-task capacity.

    DWhy not this: Task count is the value scaling changes, not a measure of how loaded the tasks are.

    Request count per target follows the load this service is actually limited by, and its target can be set from the measured per-task capacity. CPU stays low no matter how busy the tasks are, so CPU targets scale at the wrong times.

    Open this question
  12. Question 12

    Resilient Cloud Solutions

    An EC2 Auto Scaling group uses Application Load Balancer health checks and repeatedly replaces new instances before their 3-minute application initialization finishes. Its health check grace period is 30 seconds, and default instance warmup is 300 seconds; which change BEST resolves the replacement loop while retaining application health checks?

    Show the answer

    Correct answerD. Increase the health check grace period to 240 seconds.

    AWhy not this: Instance warmup affects scaling calculations but does not extend protection from load balancer health-check failures.

    BWhy not this: EC2-only checks remove application-level health detection, violating the requirement to retain it.

    CWhy not this: Deregistration delay allows existing requests to drain when a target is removed; it does not protect initializing instances.

    DWhy this is right: A 240-second grace period allows the 3-minute initialization to finish before Auto Scaling acts on unhealthy status.

    The health check grace period prevents Auto Scaling from replacing initializing instances because of load balancer health failures. Default instance warmup governs scaling calculations, not protection from these health-based replacements.

    Open this question
  13. Question 13

    Resilient Cloud Solutions

    A web application stores shopping-cart sessions in EC2 instance memory behind an Application Load Balancer. Scale-in causes users to lose their carts; which change BEST preserves sessions while allowing instances to scale independently?

    Show the answer

    Correct answerA. Store session data in Amazon ElastiCache for Valkey.

    AWhy this is right: A shared session store separates session state from web instances so scale-in does not discard carts.

    BWhy not this: Idle timeout controls inactive connections, not session-data durability across instance termination.

    CWhy not this: Stickiness helps route requests to the same live target but does not preserve its memory after termination.

    DWhy not this: Source-IP affinity influences routing but does not move session data out of terminated instances.

    An external session store keeps cart data independent of individual web instances, allowing any instance to serve a session after scale-in. Load balancer stickiness directs requests to a target but cannot preserve that target's memory after termination.

    Open this question
  14. Question 14

    Resilient Cloud Solutions

    Which checks directly help diagnose why an EC2 Auto Scaling group cannot add requested instances? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Review Auto Scaling activity history for launch failures.B. Check applicable EC2 vCPU service quotas.D. Check available IP addresses in the group's subnets.

    AWhy this is right: Scaling activities record failed launch attempts and their reported causes.

    BWhy this is right: An exhausted applicable EC2 vCPU quota can block additional instances.

    CWhy not this: Cache hit ratio indicates caching effectiveness, not why requested EC2 instances cannot launch.

    DWhy this is right: Instances require subnet IP addresses; exhausted subnets can prevent launches.

    EWhy not this: Deregistration delay affects draining removed targets, not instance launch capacity.

    Scaling activity history reveals launch errors, while subnet IP exhaustion and EC2 vCPU quotas can prevent launches. Deregistration delay controls request draining, not the ability to launch instances.

    Open this question
  15. Question 15

    Resilient Cloud Solutions

    An EC2 Auto Scaling fleet processes Amazon SQS jobs in 0.2 seconds each with one job per instance at a time, and CPU utilization remains low during I/O waits. The queue-wait budget is 120 seconds, and workers must finish active jobs before scale-in; which configuration BEST meets these requirements?

    Show the answer

    Correct answerC. Target 600 visible messages per in-service instance; protect instances from scale-in while processing jobs.

    AWhy not this: Low CPU during I/O waits makes CPU utilization a poor measure of processing demand.

    BWhy not this: Total queue depth is not normalized by fleet size, making it unsuitable for this target tracking design.

    CWhy this is right: The target derives from the wait budget divided by processing time; busy-worker protection prevents premature scale-in.

    DWhy not this: The backlog target is appropriate, but instance warmup does not prevent termination of workers processing jobs.

    Backlog per instance is proportional to worker demand: 120 seconds divided by 0.2 seconds per job gives a target of 600. Workers should enable scale-in protection while busy and remove it when idle; a total queue-depth target does not normalize demand by fleet capacity.

    Open this question
  16. Question 16

    Resilient Cloud Solutions

    A company selects warm standby for disaster recovery in another AWS Region, with lower operating cost than a full-capacity duplicate. Which design choices implement this strategy? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersC. Run a scaled-down, functional application stack in the recovery Region.D. Replicate production data to the recovery Region and scale capacity during failover.

    AWhy not this: Stopped application servers do not provide the continuously functional environment required for warm standby.

    BWhy not this: Serving traffic from full-capacity stacks in both Regions describes a multi-site active/active strategy.

    CWhy this is right: A functional, reduced-capacity environment is the defining characteristic of warm standby.

    DWhy this is right: Replicated data supports recovery, while scaling the running environment provides the required production capacity.

    EWhy not this: Keeping only core data services running and deploying application servers during recovery describes pilot light.

    FWhy not this: Restoring the application from backup copies describes backup and restore rather than warm standby.

    Warm standby keeps a functional but reduced-capacity environment running with replicated data, then scales it during recovery. Pilot light keeps core components running but requires additional application infrastructure to become operational.

    Open this question
  17. Question 17

    Resilient Cloud Solutions

    A service has a 20-minute RTO and a 5-minute RPO; an outage starts at 10:00 and is detected at 10:07. Recovery preserves data through 09:58, infrastructure becomes available at 10:18, and required application validation finishes before service resumes at 10:23. What should the DevOps engineer conclude?

    Show the answer

    Correct answerC. The RTO was missed, but the RPO was met.

    AWhy not this: The interruption exceeds the RTO, but the recovered data is recent enough to meet the RPO.

    BWhy not this: Service recovery exceeds 20 minutes, while the 2-minute data-loss window is within the RPO.

    CWhy this is right: The 23-minute interruption exceeds the RTO, while the 2-minute data-loss window meets the RPO.

    DWhy not this: The data-loss window meets the RPO, but service resumes 23 minutes after the outage, exceeding the RTO.

    Service recovery took 23 minutes from the outage, exceeding the 20-minute RTO; the recovered data was only 2 minutes old, meeting the RPO. Measuring from detection or stopping at infrastructure availability understates the service interruption.

    Open this question
  18. Question 18

    Resilient Cloud Solutions

    A payment service must lose no acknowledged writes if its primary AWS Region is destroyed, while acknowledging writes within 20 milliseconds. Durable replication to the recovery Region requires at least 80 milliseconds per write, and no third durable copy exists. Which assessment should the DevOps engineer make?

    Show the answer

    Correct answerD. The requirements conflict because remote durability must precede write acknowledgment.

    AWhy not this: Fast failover reduces interruption, not the loss of acknowledged writes that have not reached the recovery Region.

    BWhy not this: Periodic recovery points leave a data-loss window and do not provide remote durability for every acknowledged write.

    CWhy not this: Running recovery compute reduces recovery time but does not shorten the required durable replication latency.

    DWhy this is right: Waiting for the surviving durable copy requires at least 80 milliseconds, exceeding the 20-millisecond acknowledgment limit.

    Zero loss of acknowledged writes after complete primary-Region loss requires a durable surviving copy before acknowledgment, which exceeds the latency limit here. Asynchronous replication can reduce acknowledgment latency but leaves acknowledged writes exposed to loss.

    Open this question
  19. Question 19

    Resilient Cloud Solutions

    A company uses AWS Backup for nightly Amazon EBS backups, but all recovery points remain in the workload's Region. Which change provides backup-based recovery if that Region becomes unavailable?

    Show the answer

    Correct answerA. Add a backup-plan copy action to a vault in another Region and test restoration there.

    AWhy this is right: Completed cross-Region copies provide destination-Region recovery points; restore tests verify their usability.

    BWhy not this: A second vault in the same Region does not provide regional isolation.

    CWhy not this: Automation cannot restore recovery points from a source Region that is unavailable.

    DWhy not this: Longer retention preserves history but leaves every recovery point dependent on the source Region.

    A cross-Region copy action creates recovery points that can be restored in the destination Region without relying on the source Region. Longer retention or another vault in the source Region does not protect against regional unavailability.

    Open this question
  20. Question 20

    Resilient Cloud Solutions

    A CloudFront distribution has an origin group with regional ALBs and failover enabled for HTTP 503 responses. A drill returns 503 from the primary origin: uncached GET requests succeed through the secondary, but POST requests fail. What should the engineer conclude?

    Show the answer

    Correct answerC. CloudFront origin failover does not provide recovery for POST requests.

    AWhy not this: The primary already returns a configured failover status; adding another status does not enable POST failover.

    BWhy not this: ALB health check intervals affect target health detection, not CloudFront's method restrictions for origin failover.

    CWhy this is right: CloudFront only fails over GET, HEAD, and OPTIONS requests to the secondary origin.

    DWhy not this: Cache policies do not enable POST origin failover or provide a request-body cache-key setting.

    CloudFront origin failover supports GET, HEAD, and OPTIONS, not POST. ALB health check tuning cannot change which HTTP methods CloudFront permits for origin failover.

    Open this question
  21. Question 21

    Resilient Cloud Solutions

    An Aurora global database must meet a 60-second RPO and a five-minute RTO during an unexpected primary-Region outage. In an isolated production-equivalent environment with continuous timestamped writes and an external acknowledgment log, which drill best validates both requirements?

    Show the answer

    Correct answerA. Simulate primary-Region loss and fail over; compare acknowledged writes with recovered data and time application write recovery.

    AWhy this is right: The drill tests the required failure mode, measures lost acknowledged writes, and includes application recovery in RTO.

    BWhy not this: A managed switchover tests a coordinated transition rather than recovery when the primary Region is unexpectedly unavailable.

    CWhy not this: Backup restoration tests a different recovery strategy, not failover of the deployed Aurora global database.

    DWhy not this: Replication lag is an indicator, and promotion duration omits client reconnection and application write recovery.

    An unplanned failover drill measures actual data loss and end-to-end application recovery under the required failure condition. A managed switchover synchronizes the databases before changing the primary, so it does not validate unexpected-outage RPO.

    Open this question
  22. Question 22

    Resilient Cloud Solutions

    An application stores sessions in an Amazon ElastiCache for Redis OSS replication group with one replica in another Availability Zone. What should an engineer enable to promote the replica automatically if the primary's Availability Zone fails?

    Show the answer

    Correct answerA. Multi-AZ with automatic failover

    AWhy this is right: Multi-AZ with automatic failover enables promotion of a replica when the primary becomes unavailable.

    BWhy not this: Cluster mode enables sharding rather than configuring automatic promotion after a primary failure.

    CWhy not this: Encryption in transit protects network traffic rather than providing replica promotion.

    DWhy not this: Snapshots support restoring data but do not automatically promote an existing replica.

    Multi-AZ with automatic failover allows ElastiCache to promote a replica when the primary becomes unavailable. Cluster mode distributes data across shards; it does not by itself provide the required failover configuration.

    Open this question
  23. Question 23

    Resilient Cloud Solutions

    A stateless service runs evenly across three Availability Zones behind an Application Load Balancer, and six instances can handle its peak load. It must maintain peak throughput immediately after any one zone fails, even if EC2 launches and scaling API calls are unavailable; which configuration meets these requirements with the fewest running instances?

    Show the answer

    Correct answerA. Run three instances per zone and route requests to surviving healthy targets

    AWhy this is right: Nine running instances leave six after any single-zone failure, meeting peak demand without additional launches.

    BWhy not this: Losing the active zone removes all serving capacity, and launch templates are not running instances.

    CWhy not this: Losing a zone leaves only four instances, and scaling cannot provide the immediately required capacity.

    DWhy not this: Reserved capacity still requires launching instances, which the failure assumptions do not permit.

    Three instances in each zone leave six running instances after any one zone fails, preserving peak capacity without launches or scaling calls. Capacity reservations reserve capacity but do not provide already-running replacements.

    Open this question
  24. Question 24

    Resilient Cloud Solutions

    An Aurora global database has healthy primary and secondary Regions, and replication lag is currently nonzero. An engineer must move the writer to the secondary Region for planned maintenance without losing committed transactions; which operation BEST meets this requirement?

    Show the answer

    Correct answerD. Perform a managed switchover to the secondary Region

    AWhy not this: Changing the application endpoint does not change the secondary cluster into the global database's writer.

    BWhy not this: Detaching and promoting a lagging secondary does not ensure all committed transactions have arrived.

    CWhy not this: Failover supports unplanned recovery and can lose transactions that have not reached the secondary.

    DWhy this is right: A switchover synchronizes the target secondary before changing roles, avoiding loss of committed transactions.

    A managed switchover synchronizes the secondary before exchanging primary and secondary roles, supporting a planned transition without data loss. Managed failover is intended for unplanned recovery and can lose transactions that have not replicated.

    Open this question
  25. Question 25

    Resilient Cloud Solutions

    Which techniques help a stateless EC2 web tier continue serving requests when an instance fails? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersD. Distribute requests across healthy instances using an Application Load BalancerE. Replace unhealthy instances using an EC2 Auto Scaling group

    AWhy not this: An Elastic IP address provides a stable public address but does not provide a healthy replacement server.

    BWhy not this: Snapshots provide recovery points but require restoration rather than maintaining live service.

    CWhy not this: Reserved Instances provide billing benefits rather than replacing failed instances or routing traffic.

    DWhy this is right: A load balancer directs new requests to healthy targets instead of the failed instance.

    EWhy this is right: An Auto Scaling group can replace unhealthy instances to restore the desired fleet size.

    An Application Load Balancer routes requests to healthy instances, while an Auto Scaling group replaces unhealthy instances. EBS snapshots support recovery but do not keep requests flowing during an instance failure.

    Open this question
  26. Question 26

    Resilient Cloud Solutions

    After a Regional failover, an application has accepted new writes in the recovery Region for several hours. The original Region is healthy again but contains stale data; what should the failback procedure do before returning write traffic?

    Show the answer

    Correct answerB. Synchronize recovery-Region changes back, then briefly quiesce writes and verify synchronization

    AWhy not this: Replicating from the stale original database does not transfer the recovery Region's new writes back to it.

    BWhy this is right: Synchronizing the current data back and quiescing writes for final verification prevents failback to a stale database.

    CWhy not this: Allowing writes in both Regions without a designed conflict-resolution mechanism risks divergent data.

    DWhy not this: A pre-outage backup omits changes accepted in the recovery Region after failover.

    Failback must preserve writes accepted in the recovery Region by synchronizing them to the original Region and establishing a consistent cutover point. Restoring a pre-outage backup alone omits the writes accepted after failover.

    Open this question
  27. Question 27

    Resilient Cloud Solutions

    An EventBridge rule targets a Systems Manager Automation runbook that restarts an application's EC2 instances when a matching health event arrives. The rule matches events, but no automation execution ever starts. What must be configured?

    Show the answer

    Correct answerB. An IAM role for the rule's target that EventBridge can assume, allowing ssm:StartAutomationExecution

    AWhy not this: EventBridge uses a target role for Automation; resource-based policies are how it reaches targets such as Lambda, SNS, and SQS.

    BWhy this is right: Without a target role that allows starting the automation, EventBridge cannot begin an execution even though the rule matches.

    CWhy not this: An association runs on a schedule or on new targets; it does not start the runbook when the event occurs.

    DWhy not this: The runbook's role is used after an execution starts; publishing events does not help EventBridge start one.

    For a Systems Manager Automation target, EventBridge starts the execution with an IAM role you give the target, so that role needs ssm:StartAutomationExecution (and iam:PassRole if it passes an AutomationAssumeRole). Resource-based policies grant EventBridge access to targets such as Lambda, SNS, and SQS, not Automation runbooks.

    Open this question
  28. Question 28

    Resilient Cloud Solutions

    A workload requires a 15-minute RTO and a 1-minute RPO; continuous cross-Region database replication meets the RPO. Tests show that restoring backups takes 45 minutes, launching application servers against the replica takes 10 minutes, and scaling running servers takes 3 minutes. Which recovery strategy meets the requirements with the lowest ongoing compute cost?

    Show the answer

    Correct answerD. Pilot light with application servers launched during recovery

    AWhy not this: A running application fleet meets the RTO but costs more than launching application servers only during recovery.

    BWhy not this: Continuously serving from application fleets in both Regions adds compute cost that the recovery requirements do not require.

    CWhy not this: The measured 45-minute backup restoration exceeds the 15-minute RTO.

    DWhy this is right: Continuous replication meets the RPO, and the measured 10-minute application launch meets the RTO with lower ongoing compute cost.

    Pilot light keeps the replicated data tier ready while launching application servers during recovery, meeting the 15-minute RTO without continuously running an application fleet. Warm standby recovers faster but incurs unnecessary ongoing application compute cost.

    Open this question
  29. Question 29

    Resilient Cloud Solutions

    An Amazon ECS service behind an Application Load Balancer needs automated integration tests against replacement tasks before any production traffic reaches them. Which deployment configuration BEST supports testing through the load balancer and blocking production cutover if tests fail?

    Show the answer

    Correct answerB. CodeDeploy blue/green deployment with a test listener and lifecycle hook

    AWhy not this: A grace period delays health-based reactions; it does not provide test routing or integration-test approval.

    BWhy this is right: The test listener reaches replacement tasks, and a validation lifecycle hook can prevent production cutover when tests fail.

    CWhy not this: A production-listener alarm evaluates production behavior rather than validating replacement tasks before production traffic arrives.

    DWhy not this: A circuit breaker detects deployment failures but does not provide isolated load balancer routing for preproduction integration tests.

    A CodeDeploy test listener routes test traffic to replacement tasks, and a lifecycle hook can run validation before production cutover. A deployment circuit breaker detects startup and health failures but does not provide this preproduction integration-test workflow.

    Open this question
  30. Question 30

    Resilient Cloud Solutions

    An Amazon EKS Horizontal Pod Autoscaler creates additional replicas, but they remain Pending because nodes have insufficient memory. The node group's Auto Scaling group has room below its maximum size; which change BEST enables the replicas to run automatically?

    Show the answer

    Correct answerD. Configure Kubernetes Cluster Autoscaler for the node group

    AWhy not this: Load balancer request tracking does not react to Kubernetes pod scheduling requirements.

    BWhy not this: Increasing the replica limit does not supply the missing node memory.

    CWhy not this: Surge allowance controls additional pods during updates, not the node capacity required to schedule them.

    DWhy this is right: Cluster Autoscaler detects unschedulable pods and can expand the node group within its configured limits.

    Cluster Autoscaler can increase node-group capacity when pods cannot be scheduled because of insufficient resources. Raising the Horizontal Pod Autoscaler's maximum creates more potential pods but does not add nodes to run them.

    Open this question
  31. Question 31

    Resilient Cloud Solutions

    Which AWS Lambda feature preinitializes execution environments to reduce cold-start latency?

    Show the answer

    Correct answerC. Provisioned concurrency

    AWhy not this: Reserved concurrency allocates concurrency capacity but does not keep execution environments initialized.

    BWhy not this: Ephemeral storage configures temporary disk capacity rather than execution-environment readiness.

    CWhy this is right: Provisioned concurrency prepares initialized execution environments before requests arrive.

    DWhy not this: Maximum event age limits how long asynchronous events remain eligible for processing.

    Provisioned concurrency keeps initialized execution environments ready to handle requests. Reserved concurrency reserves and limits concurrency for a function but does not preinitialize its environments.

    Open this question
  32. Question 32

    Resilient Cloud Solutions

    A company deploys a UDP application behind Network Load Balancers in two AWS Regions. Clients require fixed public IP addresses for allowlists and health-based routing across Regions; which solution BEST meets these requirements?

    Show the answer

    Correct answerA. AWS Global Accelerator with both load balancers as endpoints

    AWhy this is right: Global Accelerator supplies static anycast IP addresses and routes UDP traffic to healthy regional endpoints.

    BWhy not this: CloudFront serves HTTP and HTTPS workloads, not arbitrary UDP application traffic.

    CWhy not this: Latency records support regional selection through DNS but do not supply fixed global application IP addresses.

    DWhy not this: A Network Load Balancer is regional and does not provide this global frontend across regional load balancers.

    AWS Global Accelerator provides static anycast IP addresses and health-based routing to regional endpoints for UDP traffic. Route 53 latency routing uses DNS responses and does not provide a fixed global set of application IP addresses.

    Open this question
  33. Question 33

    Resilient Cloud Solutions

    A Lambda function processes two SQS standard queues through separate event source mappings. One queue must use at most 20 concurrent invocations without imposing that limit on the other queue; what should a DevOps engineer configure?

    Show the answer

    Correct answerD. Set the restricted mapping's maximum concurrency to 20

    AWhy not this: Batch size controls messages per invocation, not the number of simultaneous invocations.

    BWhy not this: Provisioned concurrency prepares environments but does not cap concurrent invocations from a particular queue.

    CWhy not this: Reserved concurrency limits the entire function, so both queues would share the limit.

    DWhy this is right: Maximum concurrency caps invocations from that mapping without placing the same cap on the other mapping.

    Maximum concurrency on an SQS event source mapping limits concurrent function invocations from that queue. Reserved concurrency applies to the entire function and would constrain invocations from both queues.

    Open this question
  34. Question 34

    Resilient Cloud Solutions

    Amazon ECS Service Auto Scaling increases a service's desired task count, but new tasks remain pending because the EC2 container instances lack resources. The service uses an Auto Scaling group capacity provider with managed scaling disabled; which change best enables automatic infrastructure expansion?

    Show the answer

    Correct answerA. Enable managed scaling on the service's capacity provider.

    AWhy this is right: Managed scaling adjusts the associated Auto Scaling group's capacity to support task placement.

    BWhy not this: A higher task limit permits greater task demand but does not scale the underlying container instances.

    CWhy not this: A lower utilization target requests more tasks without adding the EC2 capacity needed to place them.

    DWhy not this: Deployment maximum healthy percentage controls deployment overlap rather than provisioning container instances.

    Capacity provider managed scaling adjusts the associated Auto Scaling group's capacity to accommodate task demand. Service Auto Scaling changes the number of tasks, not the number of EC2 container instances, so adjusting its target cannot resolve exhausted host capacity.

    Open this question
  35. Question 35

    Resilient Cloud Solutions

    An AWS Lambda function processes an Amazon SQS queue and synchronous requests; available account concurrency is sufficient. Queue processing must use at most 40 concurrent invocations while leaving capacity for 20 synchronous invocations; which configuration meets these requirements?

    Show the answer

    Correct answerC. Set reserved concurrency to 60 and the SQS event source mapping maximum concurrency to 40.

    AWhy not this: A function-wide limit of 40 cannot support 40 queue invocations plus 20 synchronous invocations.

    BWhy not this: The mapping permits 60 queue invocations, and provisioned concurrency does not reserve separate capacity for synchronous traffic.

    CWhy this is right: The function has 60 reserved executions, and SQS can consume no more than 40, leaving capacity for synchronous requests.

    DWhy not this: Provisioned concurrency does not cap execution concurrency, and batch size does not limit simultaneous invocations.

    Reserved concurrency allocates 60 concurrent executions to the function, while the mapping limit prevents SQS from consuming more than 40. Provisioned concurrency prepares execution environments but does not impose a concurrency ceiling; batch size limits records per invocation, not simultaneous invocations.

    Open this question
  36. Question 36

    Resilient Cloud Solutions

    An API uses AWS Lambda, and initialization delays cause unacceptable latency at the start of a predictable daily traffic surge. Which change best reduces these delays before requests arrive?

    Show the answer

    Correct answerA. Schedule provisioned concurrency for the alias serving the API.

    AWhy this is right: Scheduled provisioned concurrency prepares execution environments before the expected surge.

    BWhy not this: Asynchronous event age controls event retention and does not address synchronous API initialization latency.

    CWhy not this: A higher API Gateway burst limit admits more requests but does not prepare Lambda execution environments.

    DWhy not this: Reserved concurrency allocates capacity and limits concurrency but does not initialize execution environments ahead of requests.

    Provisioned concurrency initializes execution environments before requests arrive and can be scheduled for predictable demand. Reserved concurrency allocates execution capacity but does not preinitialize environments.

    Open this question
  37. Question 37

    Resilient Cloud Solutions

    A team needs to run a stateless HTTP container service that scales with demand without managing worker operating systems. Which Amazon ECS deployment option best meets these requirements?

    Show the answer

    Correct answerA. An ECS service using AWS Fargate

    AWhy this is right: Fargate provides managed compute for ECS tasks without customer-managed worker operating systems.

    BWhy not this: External deployments use customer-managed infrastructure, so worker operating system responsibilities remain with the team.

    CWhy not this: Daemon services place a task on each eligible instance and still require management of the EC2 worker operating systems.

    DWhy not this: EC2-backed ECS services require the team to manage the operating systems on their container instances.

    AWS Fargate runs ECS tasks without requiring the team to provision or manage worker instances. ECS on EC2 also supports scalable services, but the team remains responsible for the worker operating systems.

    Open this question
  38. Question 38

    Resilient Cloud Solutions

    An S3 bucket contains existing objects and continuously receives new objects; all must be copied to another Region. The engineer enables versioning on both buckets and configures Cross-Region Replication for all objects; what additional action copies the existing objects?

    Show the answer

    Correct answerB. Run S3 Batch Replication for the existing objects

    AWhy not this: Transfer Acceleration speeds client transfers to S3; it does not replicate existing objects between buckets.

    BWhy this is right: Batch Replication can copy existing objects that were not replicated by the new live replication rule.

    CWhy not this: Same-Region Replication copies objects within one Region and does not backfill this cross-Region destination.

    DWhy not this: Replication Time Control does not make a new live replication rule process preexisting objects.

    S3 Batch Replication can replicate objects that existed before the replication rule was created. S3 Replication Time Control provides predictable replication times for eligible new objects, but does not initiate replication of the existing backlog.

    Open this question
  39. Question 39

    Resilient Cloud Solutions

    A payments ledger in Amazon DynamoDB must survive a Regional outage with a recovery point objective of zero, and applications in each participating Region must read the latest committed write. Which design meets these requirements?

    Show the answer

    Correct answerB. A global table using multi-Region strong consistency across three Regions

    AWhy not this: Replication is asynchronous in this mode, so writes not yet replicated can be lost; strongly consistent reads are only current within one Region.

    BWhy this is right: Writes are replicated to other Regions before they succeed, so no committed write is lost and strongly consistent reads see the latest write.

    CWhy not this: Hourly backup copies allow up to an hour of data loss and do not serve reads in a second Region.

    DWhy not this: Stream-driven replication is asynchronous, so writes that have not been copied yet can be lost.

    Global tables in multi-Region strong consistency mode replicate writes synchronously before acknowledging them, giving an RPO of zero, and strongly consistent reads return the latest write from any Region. They use three Regions: three replicas, or two replicas and a witness. Eventually consistent global tables replicate asynchronously, so recent writes can be lost in a Regional failure.

    Open this question
  40. Question 40

    Resilient Cloud Solutions

    A Network Load Balancer has cross-zone balancing disabled and three targets per zone; a degraded zone must leave DNS when only one healthy target remains, while cached clients continue using that healthy target. Using count-based target-group health thresholds, which configuration delays routing to unhealthy targets until no healthy targets remain?

    Show the answer

    Correct answerA. DNS failover minimum: 2; unhealthy-state routing minimum: 1

    AWhy this is right: The DNS threshold removes the zone at one healthy target, while routing remains health-filtered until zero remain.

    BWhy not this: Disabling DNS failover retains the degraded zone, and a routing minimum of 2 triggers fail-open too early.

    CWhy not this: A routing minimum of 2 triggers routing to unhealthy targets when one healthy target remains.

    DWhy not this: A DNS minimum of 1 retains the zone in DNS while one healthy target remains.

    A DNS failover minimum of 2 removes the zone's address when its healthy count drops to 1. An unhealthy-state routing minimum of 1 triggers fail-open routing only below 1 healthy target; setting both thresholds to 2 would route cached clients to unhealthy targets too early.

    Open this question
  41. Question 41

    Resilient Cloud Solutions

    An Application Load Balancer serves equal-capacity instances: two in one Availability Zone and eight in another; each zone receives approximately half the requests. Its target group explicitly disables cross-zone load balancing, overloading the smaller group; which change distributes requests across all ten instances?

    Show the answer

    Correct answerC. Enable cross-zone load balancing on the target group

    AWhy not this: Additional zones without targets do not allow existing nodes to distribute requests across the ten instances.

    BWhy not this: ALB already enables this at the load balancer level; the explicit target-group override still disables it.

    CWhy this is right: The target-group setting lets each ALB node use healthy targets across enabled Availability Zones.

    DWhy not this: Stickiness preserves client-to-target affinity and does not correct the zonal distribution constraint.

    Enabling cross-zone load balancing on the target group lets ALB nodes distribute requests to targets across enabled Availability Zones. ALB already enables cross-zone balancing at the load balancer level; an explicit target-group override must be changed.

    Open this question
  42. Question 42

    Resilient Cloud Solutions

    A web application has a multi-AZ ALB, EC2 instances in one Availability Zone, a Single-AZ RDS database, and sessions stored in instance memory. Which changes support continued service after an Availability Zone failure without losing committed database writes or active sessions? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Place application instances in an Auto Scaling group spanning multiple Availability Zones.C. Store session state in a DynamoDB table instead of instance memory.E. Convert the database to an RDS Multi-AZ DB instance deployment.

    AWhy this is right: Instances in multiple zones provide serving capacity when one Availability Zone fails.

    BWhy not this: EC2 automatic recovery does not provide replacement capacity in another Availability Zone during a zonal outage.

    CWhy this is right: DynamoDB stores session state independently of application instances and replicates data across Availability Zones.

    DWhy not this: A cross-Region RDS read replica uses asynchronous replication and can lose recent committed writes during promotion.

    EWhy this is right: RDS Multi-AZ synchronously replicates to a standby in another zone and supports automatic failover.

    FWhy not this: Stickiness cannot recover in-memory session state from an unavailable instance.

    Multi-AZ application capacity, synchronous RDS standby replication, and external session storage remove the workload's zonal compute and state dependencies. ALB stickiness cannot preserve sessions when the instance holding them becomes unavailable.

    Open this question
  43. Question 43

    Resilient Cloud Solutions

    An ALB listener forwards to primary and standby target groups with weights of 100 and 0; the standby has sufficient healthy capacity, but a drill shows traffic does not shift when every primary target becomes unhealthy. Which changes together implement automatic failover between these groups? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Configure the alarm to notify an SNS topic that invokes a recovery Lambda function.C. Have the recovery function change listener weights to primary 0 and standby 100.E. Create a CloudWatch alarm when the primary group's HealthyHostCount remains below 1.

    AWhy this is right: CloudWatch alarm notifications through SNS can invoke Lambda to perform recovery actions.

    BWhy not this: Stickiness maintains target group affinity; it does not select another group based on target health.

    CWhy this is right: Changing listener weights explicitly directs new routing decisions to the healthy standby group.

    DWhy not this: Cross-zone load balancing does not reassign listener weights between target groups.

    EWhy this is right: A primary-group HealthyHostCount below 1 detects that no healthy primary targets remain.

    Weighted ALB target groups do not automatically transfer traffic when one group has only unhealthy targets. A HealthyHostCount alarm can invoke Lambda through SNS to change the listener weights; cross-zone load balancing distributes traffic across zones, not between weighted target groups.

    Open this question
  44. Question 44

    Resilient Cloud Solutions

    An Application Load Balancer continues routing requests to an instance whose application is failing because its health check requests a static page that still returns HTTP 200. Which change best allows the load balancer to route around this failure?

    Show the answer

    Correct answerA. Point the health check at an application readiness endpoint.

    AWhy this is right: A readiness endpoint can return failure when the application cannot serve requests, allowing the ALB to exclude that target.

    BWhy not this: Deregistration delay controls connection draining, not whether health checks detect application failure.

    CWhy not this: Stickiness preserves client affinity and does not improve application failure detection.

    DWhy not this: DNS caching affects resolution of the load balancer name, not its selection of backend targets.

    An application readiness endpoint lets the ALB detect application failure and stop routing to the unhealthy target while healthy targets remain. Deregistration delay controls draining after deregistration; it does not make a static health check detect application failure.

    Open this question
  45. Question 45

    Resilient Cloud Solutions

    A company already copies Amazon EBS recovery points to a disaster recovery Region through AWS Backup. It needs scheduled, automated evidence that restored volumes contain usable data and can be recovered within its RTO; which solution best meets this requirement?

    Show the answer

    Correct answerB. Configure destination-Region restore testing with automated data validation and recovery timing.

    AWhy not this: Copy duration measures backup transfer, not the time needed to restore usable data.

    BWhy this is right: Destination-Region restore tests exercise recovery where it is needed and can include automated data validation.

    CWhy not this: Source-Region tests do not exercise destination-Region permissions, resources, or recovery conditions.

    DWhy not this: Inventory and timestamps establish backup availability and age, not successful restoration or data usability.

    AWS Backup restore testing can schedule restores from destination-Region recovery points, with automated validation to verify recovered data and timing to assess the RTO. Successful copy jobs establish that backups were copied, not that usable data can be recovered within the required time.

    Open this question