AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A financial analytics company is migrating its legacy market simulation platform to AWS. The platform runs a critical, monolithic application every night to perform complex risk calculations. The core simulation component is single-threaded and requires over 512 GiB of RAM to hold the entire dataset in memory for the duration of the run. The entire process, including data loading and result aggregation, must complete within a 4-hour window. The company wants a highly reliable and performant solution on AWS that minimizes manual intervention.
Which architecture should a solutions architect recommend to meet these requirements?
Launch the application on a single, large memory-optimized EC2 instance in one Availability Zone. Create an AMI from the configured instance as a backup for manual recovery in another AZ.
Use AWS Batch with AWS Fargate as the compute environment. Define a job that requests the required vCPU and memory, and allow AWS Batch to manage the execution.
Refactor the application into microservices and deploy it on a fleet of general-purpose EC2 instances managed by an Auto Scaling group. Use an Application Load Balancer to distribute the workload.
Deploy the application on a memory-optimized EC2 instance within an Auto Scaling group configured with a minimum, maximum, and desired capacity of 1. Configure the Auto Scaling group to span multiple Availability Zones.
The correct answer is to use a high-memory EC2 instance within an Auto Scaling group with a fixed size of one. This architecture directly addresses the core constraints of the workload. The single-threaded, high-memory nature of the application necessitates a scale-up approach, which is satisfied by using a memory-optimized EC2 instance type (such as the 'u', 'x', or 'r' families) that can provide more than 512 GiB of RAM. Placing this single instance in an Auto Scaling group configured with a minimum, maximum, and desired capacity of 1 provides high reliability. If the instance or its underlying Availability Zone fails, the Auto Scaling group will automatically terminate the unhealthy instance and launch a new one in a healthy Availability Zone, ensuring the job can restart and meet its SLA without manual intervention.
Using a fleet of smaller EC2 instances with a load balancer is incorrect because the core application is monolithic and single-threaded, meaning it cannot be distributed across multiple instances to scale out. This approach would require a complete re-architecture of the application itself.
Using AWS Batch with Fargate is incorrect due to a specific service limitation. AWS Fargate tasks have a maximum memory limit of 120 GiB, which is insufficient for the application's requirement of over 512 GiB.
Launching a single instance without an automated recovery mechanism is incorrect because it introduces a single point of failure and does not meet the 'highly reliable' requirement. Relying on a manual process for failover is slow, error-prone, and not a resilient architecture.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why is a memory-optimized EC2 instance recommended for this workload?
Open an interactive chat with Bash
What is an Auto Scaling group, and how does it improve reliability?
Open an interactive chat with Bash
Why are AWS Batch and Fargate unsuitable for this application?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Design Solutions for Organizational Complexity
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .