AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A solutions architect is tasked with optimizing a large fleet of m5.4xlarge EC2 instances running a legacy, monolithic, stateful .NET Framework application on Windows Server. The application serves critical business functions and experiences unpredictable, spiky traffic patterns. An analysis using Amazon CloudWatch shows that the average CPU utilization is consistently below 20%, but the memory utilization is consistently high, between 80-90%. The company wants to significantly reduce costs without compromising performance or availability during peak loads. Any proposed solution must provide a systematic way to apply recommendations across a multi-account organization.
Which strategy should the solutions architect recommend to meet these requirements?
Implement an Amazon EC2 Auto Scaling group with a step scaling policy based on CPU utilization, setting the minimum size to a smaller instance like m5.large.
Use AWS Compute Optimizer to get data-driven recommendations and begin migrating the fleet to an appropriate memory-optimized (R-series) instance type.
Refactor the monolithic application into containerized microservices on .NET Core and deploy it to an Amazon EKS cluster with Cluster Autoscaler.
Use AWS Cost Explorer Rightsizing recommendations to identify underutilized instances and manually downsize them to m5.2xlarge instances.
The correct answer is to use AWS Compute Optimizer to generate recommendations and migrate the instances to a memory-optimized instance family. The workload is clearly memory-bound, not CPU-bound, as indicated by the high memory utilization and low CPU utilization. The m5 instance family is general-purpose. A memory-optimized family, such as the R-series, is better suited for this workload. AWS Compute Optimizer is the ideal tool for this scenario because it analyzes historical utilization data (including memory, if the CloudWatch agent is configured) and recommends optimal instance types, often suggesting changes across instance families (e.g., M to R) and to Graviton-based instances for further cost savings. It also supports cross-account recommendations, which fulfills the requirement for a systematic approach across the organization.
Using Cost Explorer Rightsizing recommendations to downsize to m5.2xlarge is incorrect because it keeps the instance within the same general-purpose family, failing to address the core issue of the workload being memory-bound. While Cost Explorer provides rightsizing recommendations, Compute Optimizer offers more detailed performance-oriented analysis and is the superior tool for this specific optimization task.
Implementing an Auto Scaling group is not suitable for a stateful, monolithic application without significant re-architecture. Furthermore, a scaling policy based on CPU utilization would be ineffective since the application's bottleneck is memory, not CPU.
Refactoring the application to a containerized microservices architecture on Amazon EKS is a major modernization project, not a rightsizing strategy. While it could be a valid long-term goal, it does not address the immediate requirement to optimize the existing fleet for cost and performance.
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.
What is AWS Compute Optimizer?
Open an interactive chat with Bash
Why are R-series instances better for memory-bound workloads?
Open an interactive chat with Bash
What data does AWS Compute Optimizer analyze to provide recommendations?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access