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

Practice · Design Resilient Architectures

Scalable, loosely coupled 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'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 2

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 3

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 4

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 5

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 6

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 7

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 8

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 9

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 10

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 11

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 12

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 13

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 14

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 15

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 16

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 17

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 18

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 19

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 20

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 21

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 22

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 23

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 24

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 25

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 26

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 27

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 28

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 29

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?

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