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

Practice

Design Resilient 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.

A lesson for this domain

Question 1Scalable, loosely coupled architectures

A company's image-processing workers run in an Amazon EC2 Auto Scaling group and pull jobs from an Amazon SQS queue. Jobs arrive at unpredictable times. Each worker finishes about 10 jobs a minute, and every job must start within 5 minutes of arriving. CPU utilization stays near 30% even when the queue grows, because the work mostly waits on downloads. Which scaling approach meets the requirement?

Question 2Scalable, loosely coupled architectures

An Amazon SQS queue triggers an AWS Lambda function that writes to a database. During bursts, Lambda scales to hundreds of concurrent invocations and the database runs out of connections. The company wants at most 20 concurrent invocations for this queue, and it does not want throttled invocations to push good messages into the queue's dead-letter queue. Which solution meets these requirements?

Question 3Scalable, loosely coupled architectures

An insurance company handles each claim in four steps: validate the claim, check it with an external fraud service that sometimes times out, wait for a human adjuster's approval that can take up to five days, and issue payment. Each step is an AWS Lambda function. The company needs automatic retries with backoff for the fraud check, a visual history of each claim's progress, and the least custom code. Which solution meets these requirements?

Question 4Scalable, loosely coupled architectures

An online learning platform runs its web tier in an Amazon EC2 Auto Scaling group. Traffic rises and falls gradually through the day, and the pattern changes from week to week. The company wants the group to keep average CPU utilization near 50% without engineers tuning alarms and step sizes. Which scaling configuration meets these requirements?

Question 5Scalable, loosely coupled architectures

An Amazon SQS queue occasionally receives a malformed order message that makes the consumer fail every time it processes it. The message keeps returning to the queue until it expires, wasting processing time, and engineers cannot see which messages failed. The company wants failing messages set aside after a few attempts so engineers can inspect them. Which solution meets these requirements with the least effort?

Question 6Scalable, loosely coupled architectures

A logistics company's microservices emit shipment events. Events for refrigerated shipments must reach a temperature monitoring service, and events with a delivery exception must call a third-party help desk's HTTPS API to open a ticket. The company wants to add new consumers later without changing the producers, and it wants the least custom code. Which solution meets these requirements?

Question 7Scalable, loosely coupled architectures

A payments company validates each card transaction with a five-step workflow that finishes in under a second. It runs tens of thousands of executions per second at peak. Every step is idempotent, and the company wants a visual workflow definition with built-in retries at the lowest cost. Which solution meets these requirements?

Question 8Scalable, loosely coupled architectures

A company is moving a set of Java web services from on-premises virtual machines into containers on AWS. The operations team is small and does not want to patch, scale, or manage the servers that run the containers. The services are long-running HTTP servers and do not need Kubernetes. Which solution meets these requirements?

Question 9Scalable, loosely coupled architectures

A bank processes account instructions that customers submit through a web application. Instructions for the same account must be processed in the order they were sent, and each instruction must be processed exactly once. Instructions for different accounts should be processed in parallel so the system keeps up with volume. Which solution meets these requirements?

Question 10Scalable, loosely coupled architectures

A software company runs its microservices on a self-managed Kubernetes cluster in its data center and deploys them with Helm charts and Kubernetes manifests that its engineers know well. It wants to move to AWS, keep the same manifests and tooling, and stop operating the Kubernetes control plane itself. Which solution meets these requirements?

Question 11Scalable, loosely coupled architectures

A mobile game needs a shared store for player sessions and live leaderboards. Reads must return in under a millisecond, the leaderboards need ranked sorted sets, and the data must survive the failure of a cache node or an Availability Zone with automatic failover. Which solution meets these requirements?

Question 12Scalable, loosely coupled architectures

A product catalog in an Amazon DynamoDB table is read two ways: customers call an Amazon API Gateway REST API whose Lambda functions read the table, and a separate pricing service on Amazon ECS reads the same items from the table directly, without going through the API. Both paths make tens of thousands of reads per second, mostly for a small set of popular items. Item data changes a few times a day, and reads may be up to 60 seconds stale. The company wants to cut read latency and read cost on both paths without redesigning the table. Which steps meet these requirements? (Choose two.)

Question 13Scalable, loosely coupled architectures

A company will run its web application as many AWS Fargate tasks behind an Application Load Balancer and scale the task count with load. Today the single server keeps user sessions in memory, writes shared uploads to a local folder that other requests read back, and runs a nightly billing job from a cron entry inside the same container. Which changes must the company make before scaling out? (Choose three.)

Question 14Scalable, loosely coupled architectures

A company plans to run its web application on many small Amazon EC2 instances behind an Application Load Balancer instead of on one large instance. Today the application keeps user sessions in local memory and writes uploaded files to the instance's local disk. Which changes must the company make so that any instance can serve any request? (Choose two.)

Question 15Scalable, loosely coupled architectures

A company's order system sends events to a fulfillment application that is sometimes taken offline for up to two days for upgrades. The order system must keep sending events during that time, and the fulfillment application must receive every event when it returns. Which services can sit between the two applications to meet these requirements? (Choose two.)

Question 16Scalable, loosely coupled architectures

A startup is building a REST API for its mobile app. Traffic is near zero overnight and spikes unpredictably after marketing campaigns. The team wants no servers to manage, wants to pay nothing for compute or capacity when there is no traffic, and needs to store user profiles that are looked up by user ID with single-digit millisecond reads. Which combination of services meets these requirements? (Choose two.)

Question 17Scalable, loosely coupled architectures

An online retailer's order service must notify three systems when an order is placed: billing, inventory, and a loyalty points service. Each system processes events at its own pace, and any one of them can be offline for several hours during maintenance. An outage in one system must not make the others miss events or make the order service fail. Which solution meets these requirements with the least operational overhead?

Question 18Scalable, loosely coupled architectures

A brokerage publishes trade events for each account. Two consumers, a ledger service and a tax service, must each receive every event, process the events for any one account in the order they were published, and never process an event twice, with no deduplication code of their own. Each consumer works at its own pace. Which solution meets these requirements?

Question 19Scalable, loosely coupled architectures

A company is splitting its web application into three microservices on Amazon ECS: orders, catalog, and accounts. Clients must keep using one domain name, and each request must reach the right service based on its URL path, such as /orders/ or /catalog/. Which solution meets these requirements with the least cost and operational overhead?

Question 20Scalable, loosely coupled architectures

A company's Amazon RDS for MySQL DB instance serves an order-entry application. Analysts run long ad hoc reporting queries against the same instance during business hours, and order entry slows down while they run. The reports can use data that is a few seconds old. The company wants to isolate the reporting load from order entry with the least change to the application. Which solution meets these requirements?

Question 21Scalable, loosely coupled architectures

A content management system runs on Amazon EC2 Linux instances in an Auto Scaling group across three Availability Zones. Every instance must read and write the same uploaded files at the same time through a standard file system interface, and the storage must grow automatically as files are added. Which storage meets these requirements?

Question 22Scalable, loosely coupled architectures

Twelve microservices on Amazon ECS connect to the same Amazon RDS for PostgreSQL database. The database password is stored in each service's environment variables. A new security policy requires the password to change every 30 days without engineers updating and redeploying the services by hand. Which solution meets these requirements with the least operational overhead?

Question 23Scalable, loosely coupled architectures

A ticketing company's web tier writes each purchase directly to an Amazon RDS for PostgreSQL DB instance. During ticket releases, writes spike to ten times normal for about 20 minutes, the database runs out of connections, and purchases fail. Buyers can receive their confirmation by email a few minutes later. The company wants to stop losing purchases without paying for a database sized for the peak. Which solution meets these requirements?

Question 24Scalable, loosely coupled architectures

A shopping site runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer. Shopping carts are held in each instance's memory, and the load balancer uses sticky sessions. When the group scales in or an instance fails, customers lose their carts. The company wants instances to be replaceable at any time without losing carts, and it wants load spread evenly across instances. Which solution meets these requirements?

Question 25Scalable, loosely coupled architectures

A media company stores the images, style sheets, and scripts for its news website in an Amazon S3 bucket in one AWS Region. Readers on other continents report slow page loads, and the bucket's request charges keep rising as readership grows. Which solution improves load times for distant readers with the least operational effort?

Question 26Scalable, loosely coupled architectures

A pharmacy chain receives daily inventory files from 300 suppliers whose systems can send files only over SFTP, and the suppliers cannot change that. The files must land in an Amazon S3 bucket, where an existing process picks them up. The chain does not want to run or patch any file servers. Which solution meets these requirements?

Question 27Scalable, loosely coupled architectures

A photo-sharing app stores user uploads in an Amazon S3 bucket. Each upload needs a thumbnail created within a few seconds. Uploads arrive in unpredictable bursts, and some hours have none at all. Which solution meets these requirements most cost-effectively?

Question 28Scalable, loosely coupled architectures

A weather data company sells access to a REST API whose backend runs on AWS Lambda. Each paying customer must get its own request rate limit and monthly request quota, set by its subscription tier, and no single customer may overwhelm the backend. Which solution meets these requirements?

Question 29Scalable, loosely coupled architectures

A video company's workers poll an Amazon SQS standard queue for transcoding jobs. Each job takes about 6 minutes, and the queue still has its default settings. The company finds that many videos are transcoded two or three times, which wastes compute. Which change most directly reduces the duplicate processing?

Question 30Highly available, fault-tolerant architectures

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 31Highly available, fault-tolerant architectures

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 32Highly available, fault-tolerant architectures

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 33Highly available, fault-tolerant architectures

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 34Highly available, fault-tolerant architectures

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 35Highly available, fault-tolerant architectures

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 36Highly available, fault-tolerant architectures

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 37Highly available, fault-tolerant architectures

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 38Highly available, fault-tolerant architectures

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 39Highly available, fault-tolerant architectures

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 40Highly available, fault-tolerant architectures

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 41Highly available, fault-tolerant architectures

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 42Highly available, fault-tolerant architectures

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 43Highly available, fault-tolerant architectures

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 44Highly available, fault-tolerant architectures

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 45Highly available, fault-tolerant architectures

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 46Highly available, fault-tolerant architectures

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 47Highly available, fault-tolerant architectures

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 48Highly available, fault-tolerant architectures

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 49Highly available, fault-tolerant architectures

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 50Highly available, fault-tolerant architectures

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 51Highly available, fault-tolerant architectures

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 52Highly available, fault-tolerant architectures

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 53Highly available, fault-tolerant architectures

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 54Highly available, fault-tolerant architectures

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 55Highly available, fault-tolerant architectures

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 56Highly available, fault-tolerant architectures

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 57Highly available, fault-tolerant architectures

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 58Highly available, fault-tolerant architectures

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