Curated

Design Resilient Architectures (2.1–2.2)

0 votes

Questions83

  1. Question 51

    Design Resilient Architectures

    A company accepts a day-long recovery and several hours of data loss to minimize ongoing DR costs. Which strategy is MOST appropriate?

    Show the answer

    Correct answerB. Backup and restore

    AWhy not this: Pilot light incurs ongoing costs for running essential infrastructure to enable faster recovery.

    BWhy this is right: Backup and restore generally has the lowest ongoing cost and suits relaxed recovery requirements.

    CWhy not this: Multi-site active-active operates production infrastructure in multiple Regions and prioritizes rapid continuity over minimum cost.

    DWhy not this: Warm standby maintains a running application environment at reduced capacity, increasing ongoing costs.

    Backup and restore minimizes ongoing infrastructure costs when long recovery times and some data loss are acceptable. Pilot light keeps essential infrastructure running, increasing ongoing costs to support faster recovery.

    Open this question
  2. Question 52

    Design Resilient Architectures

    A company continuously replicates its database to a recovery Region but keeps its application servers undeployed there to reduce costs. During a disaster, it can deploy those servers from prepared templates; which DR strategy does this describe?

    Show the answer

    Correct answerD. Pilot light

    AWhy not this: Backup and restore recovers infrastructure and data from backups rather than maintaining a running replicated database.

    BWhy not this: Warm standby maintains a functional, scaled-down application stack, not just the essential data tier.

    CWhy not this: Multi-site active-active serves production requests from multiple Regions during normal operation.

    DWhy this is right: Pilot light keeps essential components running and provisions the remaining application infrastructure during recovery.

    Pilot light keeps essential data infrastructure running while other application components are deployed during recovery. Warm standby maintains a complete, reduced-capacity application environment that is already running.

    Open this question
  3. Question 53

    Design Resilient Architectures

    A company must retain AWS Backup recovery points for seven years, preventing even the root user from deleting them early. Administrators need an initial evaluation period, after which the protection must be irreversible; which configuration meets these requirements?

    Show the answer

    Correct answerC. Use AWS Backup Vault Lock in compliance mode, with a changeable period and a seven-year minimum retention.

    AWhy not this: Governance mode permits authorized overrides, so it does not satisfy the root-user restriction.

    BWhy not this: A vault access policy remains changeable by sufficiently privileged identities and does not provide irreversible protection.

    CWhy this is right: Compliance mode provides an evaluation period followed by immutable retention enforcement, including protection against root-user deletion.

    DWhy not this: A lifecycle rule sets retention, but an IAM restriction on application administrators does not prevent root-user deletion.

    Vault Lock compliance mode becomes immutable after its changeable period, preventing even the root user from deleting protected recovery points early. Governance mode allows appropriately privileged users to override the protection.

    Open this question
  4. Question 54

    Design Resilient Architectures

    A company stores application data on Amazon EBS volumes and requires daily recovery points that remain available if the source AWS Region fails. Which actions meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Configure cross-Region copying for the scheduled snapshots.D. Schedule daily EBS snapshots with Amazon Data Lifecycle Manager.

    AWhy not this: Encryption protects data confidentiality but does not create recovery points or regional copies.

    BWhy this is right: Cross-Region snapshot copies remain available independently of the source Region.

    CWhy not this: EBS volumes cannot be attached to instances across Availability Zones.

    DWhy this is right: Scheduled snapshots create the required daily recovery points for EBS volume data.

    EWhy not this: Detailed monitoring provides metrics, not recoverable copies of volume data.

    FWhy not this: An Auto Scaling group replaces compute capacity but does not preserve the volumes' application data.

    Scheduled EBS snapshots provide daily recovery points, and cross-Region copies preserve recovery points outside the failed Region. Multi-AZ compute deployment improves application availability but does not back up EBS data.

    Open this question
  5. Question 55

    Design Resilient Architectures

    A TCP service on EC2 requires a fixed public IP address in each enabled Availability Zone and must inspect the original client IP. Its instances must terminate client TLS connections themselves for certificate-based client authentication. Which configuration meets all requirements?

    Show the answer

    Correct answerA. A Network Load Balancer with TCP listeners, Elastic IP addresses, and instance targets

    AWhy this is right: TCP listeners pass TLS through, Elastic IP addresses provide fixed ingress addresses, and TCP instance targets preserve client IPs.

    BWhy not this: Application Load Balancers do not support assigning Elastic IP addresses and terminate TLS at HTTPS listeners.

    CWhy not this: An Application Load Balancer terminates client TLS and does not provide fixed public IP addresses per Availability Zone.

    DWhy not this: A TLS listener terminates the client's TLS connection rather than passing it unchanged to the instance.

    A Network Load Balancer supports an Elastic IP address per enabled Availability Zone, preserves client IP addresses for TCP instance targets, and passes TLS through a TCP listener. A TLS listener terminates the client TLS connection at the load balancer.

    Open this question
  6. Question 56

    Design Resilient Architectures

    An Application Load Balancer serves several HTTP services through one HTTPS endpoint. Each service needs its own URL path, and requests must avoid unhealthy instances. Which configurations meet these requirements? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Configure path-based listener rules.C. Create a target group for each service.D. Configure health checks for each target group.

    AWhy not this: Latency-based DNS routing selects regional endpoints, not services by HTTP URL path.

    BWhy this is right: Path-based rules select a destination target group from the request URL path.

    CWhy this is right: Separate target groups provide distinct destinations for the services' routing rules.

    DWhy this is right: Health checks let the load balancer avoid unhealthy targets when healthy targets are available.

    EWhy not this: Stickiness maintains client affinity; it does not route requests by service path.

    FWhy not this: Data replication does not configure request routing or target health checks.

    Path-based rules forward requests to service-specific target groups, whose health checks identify eligible targets. Stickiness maintains client affinity but does not distinguish services by URL path.

    Open this question
  7. Question 57

    Design Resilient Architectures

    Billing and fulfillment must each receive every order event, but either service can be offline for several hours without delaying the other. Events need no ordering, and consumers handle duplicates. Which design meets these requirements with the LEAST operational overhead?

    Show the answer

    Correct answerA. Publish to one SNS standard topic with a separate SQS standard queue for each service.

    AWhy this is right: SNS provides fanout, and separate SQS queues independently retain each service's messages during outages.

    BWhy not this: Competing consumers divide messages; each service would not receive every order event.

    CWhy not this: HTTP subscriptions do not provide the durable, independently consumed backlog that each service requires.

    DWhy not this: Message groups control ordering and concurrency; they do not create a copy of each message for each service.

    SNS fans out each event to separate SQS queues, which buffer messages independently during consumer outages. Consumers sharing one queue compete for messages rather than each receiving every event.

    Open this question
  8. Question 58

    Design Resilient Architectures

    In a three-tier architecture, which tier evaluates business rules before storing an order?

    Show the answer

    Correct answerB. Application tier

    AWhy not this: The data tier persists and retrieves application data.

    BWhy this is right: The application tier executes business rules and coordinates access to stored data.

    CWhy not this: The presentation tier handles user interaction and displays results.

    DWhy not this: A caching layer accelerates access to reusable data rather than owning business-rule execution.

    The application tier executes business logic, including order validation. The presentation tier handles user interaction rather than enforcing the application's core business rules.

    Open this question
  9. Question 59

    Design Resilient Architectures

    A three-tier application has web instances, application instances, and an RDS database in separate security groups. Only application instances should connect to the database. Which database security group rule BEST enforces this boundary?

    Show the answer

    Correct answerA. Allow the database port from the application tier's security group.

    AWhy this is right: A source security group reference permits database connections from instances in the application tier.

    BWhy not this: Allowing web instances to connect directly bypasses the application tier.

    CWhy not this: Application instances initiate database connections; their load balancer's security group does not identify those connections.

    DWhy not this: The VPC CIDR includes resources outside the application tier.

    Referencing the application instances' security group restricts database access to the intended tier without tracking individual instance addresses. Allowing the VPC CIDR also permits other tiers and weakens the boundary.

    Open this question
  10. Question 60

    Design Resilient Architectures

    Which load balancer feature detects unhealthy application targets so that new requests can be directed to healthy targets?

    Show the answer

    Correct answerA. Health checks

    AWhy this is right: Health checks test targets and identify which are healthy enough to receive requests.

    BWhy not this: Deregistration delay supports connection draining when a target is removed.

    CWhy not this: Access logs record request information but do not determine target health.

    DWhy not this: Listener certificates support encrypted connections rather than determining target health.

    Health checks periodically test targets and determine their health status. Deregistration delay gives in-flight requests time to finish when a target is removed; it does not detect application failures.

    Open this question
  11. Question 61

    Design Resilient Architectures

    An application serves images and API requests through one HTTPS hostname. Each request type must reach a separate group of EC2 instances based on its URL path. Which configuration meets this requirement?

    Show the answer

    Correct answerB. An Application Load Balancer with path-based listener rules

    AWhy not this: Target stickiness maintains client affinity rather than routing requests by URL path.

    BWhy this is right: Path-based listener rules forward requests to target groups according to the requested URL path.

    CWhy not this: Weighted DNS records distribute DNS responses without inspecting request paths.

    DWhy not this: TCP listeners do not inspect HTTP URL paths to select a target group.

    An Application Load Balancer can inspect URL paths and route requests to different target groups. Target stickiness keeps a client's requests associated with a target; it does not select target groups by URL path.

    Open this question
  12. Question 62

    Design Resilient Architectures

    A Lambda application opens many short-lived connections to an Amazon RDS database during traffic bursts. Connection establishment is exhausting database resources. Which change BEST addresses this problem?

    Show the answer

    Correct answerB. Connect the functions through Amazon RDS Proxy

    AWhy not this: Multi-AZ deployment provides database availability rather than connection pooling.

    BWhy this is right: RDS Proxy reuses pooled database connections across application connections.

    CWhy not this: More frequent retries can increase connection pressure rather than reduce it.

    DWhy not this: An Application Load Balancer handles HTTP traffic, not database connection pooling.

    RDS Proxy pools and reuses database connections, reducing connection establishment overhead during bursts. A Multi-AZ deployment improves availability but does not pool application connections.

    Open this question
  13. Question 63

    Design Resilient Architectures

    Before regional failover, what should an architect do to ensure service quotas permit a standby environment to scale to full production capacity?

    Show the answer

    Correct answerB. Review standby Region quotas and request needed increases

    AWhy not this: Subnet routes control network paths rather than permitted resource capacity.

    BWhy this is right: Reviewing regional quotas and obtaining increases removes quota-related barriers before failover.

    CWhy not this: Retries cannot increase quotas and may add pressure during failover.

    DWhy not this: Resource tags do not establish or increase regional service quotas.

    Relevant quotas must support full failover capacity in the standby Region, and increases should be requested beforehand. Retrying requests does not raise a service quota.

    Open this question
  14. Question 64

    Design Resilient Architectures

    An order service uses Amazon RDS Proxy with an RDS Multi-AZ database. A database failover interrupts an open transaction, and the service cannot determine whether its commit succeeded. Which recovery design is MOST appropriate?

    Show the answer

    Correct answerC. Retry through the proxy using a unique order identifier to prevent duplicates

    AWhy not this: Bypassing the proxy does not restore an interrupted transaction or determine its commit outcome.

    BWhy not this: An unpromoted read replica cannot accept the order write or recover the interrupted transaction.

    CWhy this is right: A unique order identifier lets application retry logic avoid duplicate orders when the original commit outcome is unknown.

    DWhy not this: RDS Proxy does not automatically replay interrupted database transactions.

    RDS Proxy improves connection resilience but does not replay interrupted transactions or resolve uncertain commits. Retrying through the proxy with application-level duplicate protection handles an unknown outcome safely.

    Open this question
  15. Question 65

    Design Resilient Architectures

    A legacy application runs on a supported EBS-backed EC2 instance and must retain its instance ID and private IP address after an underlying host failure. Which action should a CloudWatch alarm initiate to restore service automatically?

    Show the answer

    Correct answerA. Recover the affected EC2 instance

    AWhy this is right: EC2 recovery restores the instance on healthy hardware while preserving its instance ID and private IP address.

    BWhy not this: Auto Scaling replacement creates a new instance with a different instance ID.

    CWhy not this: Restoring a backup creates a new instance rather than preserving the original instance identity.

    DWhy not this: A reboot ordinarily keeps the instance on the same host and does not resolve an underlying host failure.

    EC2 recovery moves a supported instance to healthy hardware while retaining its instance ID, private IP address, and attached EBS volumes. Auto Scaling replacement launches a different instance and does not preserve the original instance identity.

    Open this question
  16. Question 66

    Design Resilient Architectures

    Which AWS service provides a durable message queue that lets application producers continue submitting work while consumers are temporarily unavailable?

    Show the answer

    Correct answerA. Amazon SQS

    AWhy this is right: SQS retains queued messages so producers and consumers can operate independently.

    BWhy not this: AWS Backup protects supported resource data through recovery points, not application message queues.

    CWhy not this: Route 53 provides DNS routing, not durable storage of application work.

    DWhy not this: Elastic Load Balancing routes requests but does not durably queue them for unavailable consumers.

    Amazon SQS durably queues messages until consumers can process them, decoupling producers from consumer availability. Elastic Load Balancing distributes requests to healthy targets but does not durably retain work when consumers are unavailable.

    Open this question
  17. Question 67

    Design Resilient Architectures

    A legacy Windows application requires shared SMB storage with Windows file locking and Active Directory authentication, and its code cannot change. Which storage solution provides automatic failover during an Availability Zone outage?

    Show the answer

    Correct answerA. Amazon FSx for Windows File Server with a Multi-AZ deployment

    AWhy this is right: A Multi-AZ deployment provides compatible Windows file storage with automatic failover to another Availability Zone.

    BWhy not this: Daily backups support restoration but do not provide automatic failover during an Availability Zone outage.

    CWhy not this: Redundant cache disks do not protect the gateway against an Availability Zone outage or provide automatic gateway failover.

    DWhy not this: EFS provides NFS rather than the SMB protocol required by the unchanged Windows application.

    FSx for Windows File Server Multi-AZ provides native SMB, Active Directory integration, and automatic failover across Availability Zones. S3 File Gateway supports SMB access but does not provide managed cross-AZ failover for the gateway.

    Open this question
  18. Question 68

    Design Resilient Architectures

    A company is migrating an application that uses Apache ActiveMQ-specific messaging features and cannot change its messaging code. Which managed configuration preserves compatibility and provides automatic broker failover during an Availability Zone outage?

    Show the answer

    Correct answerB. Amazon MQ for ActiveMQ with an active/standby broker pair across Availability Zones

    AWhy not this: A single-instance broker lacks a standby in another Availability Zone for automatic broker failover.

    BWhy this is right: The managed ActiveMQ broker pair preserves compatibility and supports automatic failover to a standby in another Availability Zone.

    CWhy not this: SQS is not a drop-in replacement for applications that depend on ActiveMQ-specific interfaces and features.

    DWhy not this: Kinesis is a streaming service, not an ActiveMQ-compatible message broker.

    Amazon MQ for ActiveMQ preserves ActiveMQ compatibility, and an active/standby deployment supports automatic failover across Availability Zones. SQS provides resilient queues but does not preserve ActiveMQ-specific messaging interfaces and features.

    Open this question
  19. Question 69

    Design Resilient Architectures

    A database on one EC2 instance requires a low-latency block device with in-place updates. Its data must survive stopping and starting the instance. Which storage option BEST fits?

    Show the answer

    Correct answerC. Amazon EBS volume

    AWhy not this: EFS provides a shared NFS file system rather than an attached block device.

    BWhy not this: S3 provides object storage rather than a block device with in-place updates.

    CWhy this is right: EBS provides a block device whose data persists independently of instance stop/start cycles.

    DWhy not this: Instance store is local block storage, but stopping the instance loses its stored data.

    Amazon EBS provides persistent block storage that survives instance stop/start cycles. Instance store provides local block storage, but its data does not survive an instance stop.

    Open this question
  20. Question 70

    Design Resilient Architectures

    A latency-sensitive API uses a Lambda function with slow initialization, and traffic rises sharply at a predictable time each morning. Which change BEST prevents initialization delays during that rise without changing the function code?

    Show the answer

    Correct answerD. Schedule provisioned concurrency before the rise

    AWhy not this: Reserved concurrency guarantees and caps concurrency capacity but does not preinitialize execution environments.

    BWhy not this: More ephemeral storage provides additional temporary disk space, not preinitialized execution environments.

    CWhy not this: A longer timeout allows longer executions; it does not prevent initialization delays.

    DWhy this is right: Scheduling sufficient provisioned concurrency prepares execution environments before the predictable traffic increase.

    Provisioned concurrency initializes execution environments before requests arrive, reducing startup latency when sized for demand. Reserved concurrency reserves concurrency capacity but does not preinitialize execution environments.

    Open this question
  21. Question 71

    Design Resilient Architectures

    A company is assigning storage to an image archive accessed through object APIs, a shared Windows directory requiring SMB, and disposable processing scratch space. Which pairings match these access and durability requirements? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Image archive: Amazon S3B. Windows directory: Amazon FSx for Windows File ServerE. Processing scratch space: EC2 instance store

    AWhy this is right: S3 stores images as objects accessed through object APIs.

    BWhy this is right: FSx for Windows File Server provides managed Windows file systems accessible through SMB.

    CWhy not this: Glacier Deep Archive is intended for rarely accessed archives and requires restoration before reading data.

    DWhy not this: S3 does not provide a native SMB file share for a shared Windows directory.

    EWhy this is right: Instance store provides temporary local storage suitable for scratch data that can be discarded.

    FWhy not this: EFS provides NFS file access, not the object API required by the archive.

    S3 supports object access, FSx for Windows File Server provides SMB shares, and instance store suits disposable scratch data. EFS provides NFS file access rather than the object interface required by the image archive.

    Open this question
  22. Question 72

    Design Resilient Architectures

    A team wants to run Amazon ECS containers without provisioning or managing host instances. Which compute option should it choose?

    Show the answer

    Correct answerB. AWS Fargate

    AWhy not this: Dedicated Hosts provide dedicated physical capacity but do not remove host-management responsibilities.

    BWhy this is right: Fargate runs ECS tasks without requiring the team to provision or manage underlying host instances.

    CWhy not this: On-Demand pricing changes how instances are purchased, but the team still manages the ECS hosts.

    DWhy not this: Spot Instances provide discounted capacity, but the team still manages hosts and handles capacity interruptions.

    AWS Fargate provides serverless compute for ECS containers without requiring management of host instances. EC2 On-Demand Instances still require the team to manage the container hosts.

    Open this question
  23. Question 73

    Design Resilient Architectures

    Workers processing an Amazon SQS standard queue take up to 90 seconds per message, but the visibility timeout is 30 seconds. Other workers frequently receive messages still being processed. Which change BEST addresses this problem?

    Show the answer

    Correct answerC. Increase the visibility timeout to two minutes

    AWhy not this: Message retention controls how long undeleted messages remain in the queue, not how long received messages stay hidden.

    BWhy not this: Long polling reduces empty receive responses; it does not extend the period that received messages remain hidden.

    CWhy this is right: Two minutes exceeds the stated processing time and reduces redelivery while a worker is still processing a message.

    DWhy not this: A delivery delay postpones initial message availability, not redelivery after the visibility timeout expires.

    A visibility timeout longer than normal processing keeps received messages hidden while workers process them. A delivery delay postpones initial availability rather than protecting messages already being processed; standard queues can still occasionally deliver duplicates.

    Open this question
  24. Question 74

    Design Resilient Architectures

    A regional failover will require 2,000 concurrent Lambda executions in a standby Region whose regional concurrency quota is 1,000. The primary Region already has an approved quota of 3,000; what should the architect do before failover testing?

    Show the answer

    Correct answerD. Request a concurrency quota increase in the standby Region.

    AWhy not this: Route 53 routing policies cannot transfer service quotas between Regions.

    BWhy not this: Reserved concurrency cannot allocate more concurrency than the regional quota permits.

    CWhy not this: Provisioned concurrency prepares execution environments but remains subject to concurrency quotas.

    DWhy this is right: The standby Region needs its own approved quota sufficient for the failover workload.

    Lambda concurrency quotas apply independently in each Region, so the standby Region needs its own approved increase. Reserved concurrency allocates existing regional concurrency; it does not increase the regional quota.

    Open this question
  25. Question 75

    Design Resilient Architectures

    An instrumented API uses AWS X-Ray's default sampling rule, but rare checkout failures seldom appear in traces. The team must capture every checkout request during a short investigation without increasing tracing for other API paths; which change should it make?

    Show the answer

    Correct answerC. Add a higher-priority checkout sampling rule with a 100% fixed rate.

    AWhy not this: A default-rule change would increase tracing for other paths as well as checkout.

    BWhy not this: Detailed metrics provide aggregate measurements, not complete per-request traces.

    CWhy this is right: A matching higher-priority rule targets checkout requests and selects all of them for tracing.

    DWhy not this: Longer log retention preserves existing logs but does not change which requests are traced.

    A higher-priority sampling rule matching the checkout path with a 100% fixed rate selects every matching request for tracing. Changing the default rule would also increase tracing for unrelated API paths.

    Open this question
  26. Question 76

    Design Resilient Architectures

    What information can AWS X-Ray provide for an instrumented distributed application? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Errors recorded in request tracesB. Request paths across servicesC. Latency of traced downstream calls

    AWhy this is right: Trace data can include errors, faults, and exceptions recorded by instrumented services.

    BWhy this is right: Trace segments show how sampled requests travel across instrumented services.

    CWhy this is right: Traces show timing information for instrumented downstream operations.

    DWhy not this: Observability helps diagnose failures but cannot guarantee disaster recovery times.

    EWhy not this: Approved service quotas are available through Service Quotas, not request traces.

    AWS X-Ray traces requests across instrumented services, showing downstream timing and recorded errors. Service quotas are managed separately, and tracing does not guarantee recovery times.

    Open this question
  27. Question 77

    Design Resilient Architectures

    An application overwrites objects in an S3 bucket when users upload revised documents. The company must recover earlier document contents after accidental overwrites; which feature should the architect enable before uploads occur?

    Show the answer

    Correct answerC. S3 Versioning

    AWhy not this: Transfer Acceleration improves transfer performance over long distances, not recovery from overwrites.

    BWhy not this: Lifecycle expiration deletes objects or versions and does not itself preserve overwritten data.

    CWhy this is right: Versioning preserves earlier object versions when an object with the same key is uploaded.

    DWhy not this: Server-side encryption protects stored data but does not preserve previous object contents.

    S3 Versioning preserves previous object versions so earlier contents can be recovered after an overwrite. S3 Lifecycle expiration removes objects or versions according to rules rather than preserving overwritten contents.

    Open this question
  28. Question 78

    Design Resilient Architectures

    Linux application servers in multiple Availability Zones need concurrent access to a shared file system that remains available if one Availability Zone fails. Which storage option meets these requirements?

    Show the answer

    Correct answerA. Amazon EFS Regional file system

    AWhy this is right: EFS Regional supports shared file access with data stored redundantly across multiple Availability Zones.

    BWhy not this: Instance store is local to an instance and does not provide a resilient shared file system.

    CWhy not this: An EBS volume is tied to one Availability Zone and gp3 does not support concurrent attachment to multiple instances.

    DWhy not this: EFS One Zone stores data in one Availability Zone and does not meet the zone-failure requirement.

    Amazon EFS Regional provides shared file access and stores data redundantly across multiple Availability Zones. EFS One Zone supports shared access but stores data within a single Availability Zone.

    Open this question
  29. Question 79

    Design Resilient Architectures

    An Amazon ECS web application must maintain six running tasks and automatically replace failed tasks. Deployments must retain at least six healthy tasks while allowing up to twelve tasks; which configuration meets these requirements?

    Show the answer

    Correct answerB. Create an ECS service with desired count 6, minimum healthy percent 100, and maximum percent 200.

    AWhy not this: A load balancer checks health and routes traffic but does not restart standalone ECS tasks.

    BWhy this is right: The service maintains six tasks, while the deployment percentages permit six healthy tasks and twelve total.

    CWhy not this: Scheduled launches do not continuously maintain a desired number of running tasks.

    DWhy not this: A 50% minimum healthy setting permits only three healthy tasks during deployment.

    An ECS service maintains the desired task count and replaces failed tasks. For rolling deployments, 100% minimum healthy and 200% maximum allow six healthy tasks and up to twelve total; a 50% minimum permits the healthy count to fall below six.

    Open this question
  30. Question 80

    Design Resilient Architectures

    Reports are overloading an Amazon RDS for PostgreSQL database that also processes orders. Reports can tolerate several seconds of stale data; which change BEST reduces load on the primary database?

    Show the answer

    Correct answerC. Create a read replica and send reporting queries to its endpoint.

    AWhy not this: An RDS for PostgreSQL read replica does not accept application writes while operating as a replica.

    BWhy not this: The standby in a Multi-AZ DB instance deployment does not serve read queries.

    CWhy this is right: A read replica serves reporting reads separately from the primary, with possible replication lag.

    DWhy not this: Snapshots are backups, not running databases with query endpoints.

    A read replica offloads read-only reporting queries using asynchronously replicated data, so some staleness is expected. A standby in a Multi-AZ DB instance deployment provides failover capacity but cannot serve reporting queries.

    Open this question
  31. Question 81

    Design Resilient Architectures

    Which AWS Step Functions state selects the next workflow step by evaluating conditions in its input?

    Show the answer

    Correct answerD. Choice

    AWhy not this: A Wait state delays execution for a specified duration or until a timestamp.

    BWhy not this: A Map state processes items in a dataset rather than selecting a conditional path.

    CWhy not this: A Parallel state runs multiple branches concurrently rather than selecting a conditional path.

    DWhy this is right: A Choice state evaluates conditions and routes execution to the matching next state.

    A Choice state evaluates rules to select the next state. A Parallel state executes branches concurrently rather than choosing a branch based on conditions.

    Open this question
  32. Question 82

    Design Resilient Architectures

    Which AWS services provide managed container orchestration? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Amazon ECSC. Amazon EKS

    AWhy this is right: Amazon ECS provides managed scheduling and lifecycle management for containerized workloads.

    BWhy not this: Amazon SQS queues messages between components; it does not manage container execution.

    CWhy this is right: Amazon EKS provides managed Kubernetes for orchestrating containerized workloads.

    DWhy not this: Amazon API Gateway creates and manages APIs, rather than scheduling containers.

    EWhy not this: Application Load Balancer distributes requests to targets; it does not schedule containers.

    FWhy not this: Amazon ECR stores and distributes container images; it does not run or schedule them.

    Amazon ECS and Amazon EKS orchestrate containerized workloads, including scheduling and managing their execution. Amazon ECR stores container images but does not orchestrate running containers.

    Open this question
  33. Question 83

    Design Resilient Architectures

    An approval workflow must retain execution history, wait up to 48 hours for an external reviewer, and retry transient service errors. Which design meets these requirements with the LEAST custom orchestration code and no polling?

    Show the answer

    Correct answerD. Use a Standard Workflow with a callback task and configured retry policies.

    AWhy not this: Express Workflows have a five-minute limit, and checking after a wait introduces polling.

    BWhy not this: A polling Lambda task violates the no-polling requirement and cannot run continuously for 48 hours.

    CWhy not this: Express Workflows cannot run for 48 hours and do not support callback tasks.

    DWhy this is right: A Standard Workflow can wait for an external callback, retain history, and retry transient task failures.

    A Standard Workflow supports long-running executions, retained execution history, retries, and callback tasks that pause until a task token is returned. Express Workflows have a five-minute execution limit and do not support the callback integration pattern.

    Open this question