AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A solutions architect is designing a large multi-tenant SaaS application on AWS. The application uses a fleet of EC2 instances in an Auto Scaling group to process asynchronous jobs from an Amazon SQS queue. A single job from one tenant, known as a 'poison pill', could potentially cause a worker instance to crash repeatedly. This could lead to a rapid succession of instance terminations and launches, consuming resources and impacting the job processing capability for all tenants sharing the fleet. The architect needs to design a solution that minimizes the blast radius of such a failure, ensuring a problem caused by a single tenant affects the fewest other tenants possible. Which approach provides the most effective failure isolation for this scenario?

  • Implement a strict bulkhead pattern by provisioning a dedicated Auto Scaling group and SQS queue for each tenant.

  • Configure the Auto Scaling group to span multiple Availability Zones and place an Application Load Balancer in front of the EC2 instances to distribute jobs.

  • Configure a dead-letter queue (DLQ) on the main SQS queue to automatically isolate messages that fail processing multiple times.

  • Implement shuffle sharding by creating multiple target groups (virtual shards) from the total worker fleet and mapping each tenant to a unique combination of target groups.

AWS Certified Solutions Architect Professional SAP-C02
Design for New Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot