Unofficial practice for the AWS Certified Solutions Architect – Associate exam, not affiliated with Amazon Web Services.

Practice · Design Resilient Architectures

Highly available, fault-tolerant architectures

Remove the single point of failure the scenario names: spread across Availability Zones, decouple with a queue, and let a managed service fail over for you.

The lesson for this topic

Question 1

A company uses Route 53 failover routing with alias records that point to an Application Load Balancer in each of two AWS Regions. Last week every target behind the primary load balancer failed its health checks, yet Route 53 kept sending users to the primary Region. The load balancer itself stayed up. Which change makes Route 53 fail over in this situation?

Question 2

An application uses an Amazon Aurora MySQL DB cluster that has one writer instance and no replicas. The company wants the database to recover faster when the writer instance fails, and it wants read traffic spread over extra capacity. Which solution meets these requirements?

Question 3

A company runs its web application in two AWS Regions, each behind an Application Load Balancer. The primary Region serves all traffic. If the primary Region's application becomes unhealthy, users must be sent to the secondary Region automatically. Which Amazon Route 53 configuration meets this requirement?

Question 4

A payment worker reads orders from an Amazon SQS standard queue and calls a payment provider. Sometimes the provider charges the card but times out before replying, so the worker retries and the customer is charged twice. The provider accepts an idempotency key with each charge. The company wants no duplicate charges from either source of retries. Which solution meets these requirements?

Question 5

A company's order system runs on Amazon EC2 instances and an Amazon Aurora MySQL DB cluster in one AWS Region. For a Regional outage, leadership sets a recovery time objective (RTO) of 2 hours and a recovery point objective (RPO) of 1 minute, and wants the lowest-cost disaster recovery approach that meets both. Which approach meets these requirements?

Question 6

A company runs a self-managed database on an Amazon EC2 instance, with its data on an Amazon EBS volume. It needs a snapshot every 12 hours, kept for 14 days, with a copy in another AWS Region, and it does not want to write or maintain any scripts. Which solution meets these requirements?

Question 7

A web application runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer. Sometimes the application process hangs while the instance keeps running. The load balancer marks that target unhealthy and stops sending it traffic, but the instance is never replaced, so capacity shrinks until an engineer steps in. Which change fixes this?

Question 8

An Amazon Aurora MySQL DB cluster has a writer on a large instance class and two Aurora Replicas: a small replica that analysts use for reports, in failover priority tier 0, and a replica the same size as the writer, in tier 1. After a failure, Aurora promoted the small replica, and the application slowed badly. The company wants the large replica promoted next time without adding cost. Which change meets these requirements?

Question 9

A company patches its Amazon EC2 web servers by logging in to each instance and running updates. Over time the servers have drifted apart, and one bad patch took down half the fleet. The company wants every server to be identical, changes to be easy to roll back, and nobody to log in to production servers. Which approach meets these requirements?

Question 10

A company runs a legacy reporting application on a single Amazon EC2 instance with EBS volumes. The vendor no longer exists, so the code cannot change, and only one copy can run at a time because it keeps a lock file on its own volume. The company wants the instance to come back on new hardware automatically if the underlying host fails, keeping its private IP address and its EBS volumes. Which solution meets these requirements with the least effort?

Question 11

A company uses AWS Backup to back up its Amazon EBS volumes and Amazon RDS databases every day into a backup vault. An auditor warns that an attacker with administrator access could delete both the resources and their backups. The company needs every backup to be impossible to delete for 35 days by anyone, including administrators and the root user. Which solution meets this requirement?

Question 12

A call center application turns written prompts into spoken audio with open-source software on a single Amazon EC2 instance, which has become a single point of failure. The company wants speech generation that stays available without managing servers. Which solution meets these requirements?

Question 13

A company runs a serverless application on AWS Lambda, Amazon DynamoDB, and Amazon S3 in one AWS Region. It must serve users from two Regions at once, keep both Regions writable, send each user to the closer healthy Region, and lose at most a few minutes of data if a Region fails. Which steps meet these requirements? (Choose three.)

Question 14

A company runs identical copies of an HTTPS application in two AWS Regions. It wants user traffic to move to the healthy Region automatically if the application in one Region stops responding. Which services can provide this failover across Regions? (Choose two.)

Question 15

A company runs a web application on Amazon EC2 instances with an Amazon Aurora PostgreSQL database in one AWS Region. It must be able to move to a second Region during a Regional outage with an RPO of seconds, and users must be directed to the second Region automatically when the primary Region's application fails its health checks. Which steps meet these requirements? (Choose two.)

Question 16

A company runs a web application on Amazon EC2 instances in an Auto Scaling group across two Availability Zones behind an Application Load Balancer that has subnets in both zones. Static files are in Amazon S3. The application stores data in a MySQL database that the company runs on one EC2 instance, and both private subnets send internet traffic through one NAT gateway in the first zone. Which components are single points of failure? (Choose two.)

Question 17

A ride-sharing company stores trip state in an Amazon DynamoDB table in one AWS Region. It wants riders near each of two Regions to write to their nearer Region during normal operation, and if one Region fails, the other must keep accepting writes within seconds with almost no data loss. Which solution meets these requirements?

Question 18

Each Amazon EC2 instance of an application can serve 100 requests per second, and the peak load is 600 requests per second. The instances run in an Auto Scaling group across three Availability Zones. If any one of the three zones fails, the instances left in the other two zones must still serve the full 600 requests per second, without waiting for new instances. What is the smallest number of instances that meets these requirements?

Question 19

A company's application runs on Amazon EC2 instances in private subnets in three Availability Zones and calls a partner's payment API on the internet. All three private subnets route internet-bound traffic to one NAT gateway in the first Availability Zone. The calls must keep working if any single Availability Zone fails. Which change meets this requirement?

Question 20

A company runs an Amazon RDS for PostgreSQL Single-AZ DB instance for its payroll application. The database must recover automatically from the failure of its Availability Zone within a few minutes, with no loss of committed transactions and no change to the application's connection string. Which solution meets these requirements?

Question 21

A company's AWS Lambda functions connect to an Amazon RDS for MySQL Multi-AZ DB instance. During a recent failover, the functions kept trying the old primary for more than a minute, and bursts of new connections then hit the database's connection limit. The company wants faster recovery from failovers and protection from connection surges without changing the database engine. Which solution meets these requirements?

Question 22

A company keeps shared configuration files for an application that runs in three Availability Zones. The files must stay readable and writable by every instance even if one Availability Zone fails. Which storage meets this requirement?

Question 23

A company runs a 6 TB Amazon RDS for PostgreSQL DB instance in one AWS Region. For a Regional outage it needs a recovery time objective of 30 minutes and a recovery point objective of 5 minutes, at the lowest cost, and it does not want to change the database engine. Which solution meets these requirements?

Question 24

A company stores medical images in an Amazon S3 bucket in one AWS Region. A compliance rule requires a copy of every new object in a second Region, and the disaster recovery plan needs 99.99% of new objects copied within 15 minutes, backed by a service level agreement. Which solution meets these requirements?

Question 25

A company's disaster recovery plan states that after a disaster the order application must be running again within 4 hours, and that losing more than 15 minutes of orders is not acceptable. Which statement describes these targets correctly?

Question 26

A company runs a self-managed database cluster on five Amazon EC2 instances in one Availability Zone to keep latency between nodes low. The cluster survives the loss of one node but not two. The company wants each instance on separate underlying hardware so that a single hardware failure can affect at most one instance. Which solution meets these requirements?

Question 27

A company keeps a warm standby environment in a second AWS Region, with a small Amazon EC2 Auto Scaling group that is meant to grow to full production size during a failover. In a disaster recovery test, the group could not grow because the account's On-Demand instance quota in that Region was too low. Which action prevents this in a real failover?

Question 28

A checkout request passes through Amazon API Gateway, three AWS Lambda functions, and an Amazon DynamoDB table. Some requests take 8 seconds instead of the usual 300 milliseconds, and the team cannot tell which component causes the delay. Which solution shows how long each component takes for an individual request?

Question 29

A gaming company runs UDP game servers behind Network Load Balancers in two AWS Regions. Players' game clients connect to fixed IP addresses that are built into the client. If one Region becomes unhealthy, players must be moved to the other Region within seconds, without waiting for DNS caches to expire. Which solution meets these requirements?

Guides: Exam format · Exam domains · Passing score · Services in scope

Unofficial practice for the AWS Certified Solutions Architect – Associate exam, not affiliated with Amazon Web Services. AWS and AWS Certified Solutions Architect are trademarks of Amazon.com, Inc. or its affiliates. UniGenius is not affiliated with or endorsed by Amazon Web Services; every question is original practice written for the exam, not exam content.

Questions? support@unigenius.co.uk

Privacy · Terms