4 of the 5 questions we have for this objective, shown with the answer and the reasoning.
Design architectures based on AWS pricing models
Ingleby Retail runs 3,000 Amazon EC2 instances across 30 accounts in AWS Organizations. Finance believes many are oversized, but application owners refuse to downsize based on CPU data alone because several applications are memory-bound. Owners also want recommendations to reflect a quarterly sales cycle, so at least three months of utilization history must be considered. The cloud team wants a repeatable, organization-wide process with the least custom tooling.
Which approach should the solutions architect recommend?
- AOpt the organization in to Compute Optimizer from the management account, activate enhanced infrastructure metrics, and install the CloudWatch agent to publish memory utilization.Compute Optimizer analyzes utilization across all member accounts. Enhanced infrastructure metrics extend the lookback period to about three months, and memory metrics from the CloudWatch agent let recommendations account for memory-bound workloads.
- BUse AWS Trusted Advisor low utilization checks in each account and downsize every flagged instance by one size.Trusted Advisor flags low-utilization instances but does not consider memory or a three-month window, and blindly downsizing one size ignores instance family changes such as moving to a memory-optimized type.
- CUse the default Compute Optimizer settings and accept only recommendations rated as low performance risk.The default lookback period is 14 days, which misses the quarterly cycle, and without the CloudWatch agent memory utilization is not considered.
- DExport 90 days of CloudWatch CPU and network metrics for every account to Amazon S3 and build an Amazon Athena query that flags instances with average CPU below 20 percent for downsizing.This is custom tooling that ignores memory, and an average CPU threshold does not produce instance type recommendations or performance risk assessments.
Why: A sound rightsizing strategy uses complete utilization data over a period that reflects the business cycle and makes recommendations repeatable. AWS Compute Optimizer provides organization-wide EC2 recommendations with performance risk ratings, and enabling enhanced infrastructure metrics extends the analysis window to about three months. Publishing memory metrics through the CloudWatch agent addresses the owners' main objection. The distractors use shorter windows, ignore memory or require custom analysis.
Design architectures based on AWS pricing models
Wrexley Software runs Java 21 microservices on Amazon ECS on EC2 using m5.2xlarge instances that run at a steady 60 percent CPU around the clock and use about 3 GiB of memory per vCPU. The container images are already built for both x86_64 and arm64 in the CI pipeline, and load tests show no architecture-specific dependencies. The company wants the best price-performance for this workload without changing application code.
Which instance family should the solutions architect recommend for the ECS capacity provider?
- AMemory optimized r7i instances.R-family instances provide 8 GiB per vCPU, which is more memory than needed, so the company would pay for unused capacity.
- BGeneral purpose m8g instances powered by AWS Graviton4.M-family instances offer 4 GiB per vCPU, which fits the memory profile, and Graviton-based instances generally provide better price-performance than comparable x86 instances. The multi-architecture images allow the move without code changes.
- CCompute optimized c8g instances powered by AWS Graviton4.C-family instances provide 2 GiB of memory per vCPU, which is less than the 3 GiB per vCPU the services use, so they would run out of memory or require more instances.
- DBurstable t3.2xlarge instances.Burstable instances are cost-effective only when average CPU stays below the baseline. A steady 60 percent load would exhaust CPU credits or incur unlimited mode surcharges.
Why: Selecting cost-effective infrastructure means matching the instance family to the workload's resource ratio and then choosing the processor that gives the best price-performance. The workload needs roughly 3 to 4 GiB per vCPU with sustained CPU use, which points to the general purpose family rather than compute optimized, memory optimized or burstable families. Because the images are already multi-architecture and tests show no dependencies, AWS Graviton instances provide a straightforward price-performance improvement. The stated memory ratio and steady CPU are the deciding details.
Design architectures based on AWS pricing models
Merriton Software spends a steady $60 per hour on compute across 120 accounts: EC2 instances in the C6i and M6i families in us-east-1 and eu-west-1, Amazon ECS tasks on AWS Fargate, and AWS Lambda functions. Over the next year the company plans to move most EC2 workloads to Graviton-based C7g and M7g instances and to shift some services from EC2 to Fargate. It wants a three-year commitment that maximizes savings on this steady baseline without restricting these migrations, and it wants the discount to apply across all accounts.
Which purchasing approach should the solutions architect recommend?
- APurchase EC2 Instance Savings Plans for the C6i and M6i families in each Region.EC2 Instance Savings Plans are tied to an instance family in a Region, so the discount would stop applying when workloads move to C7g and M7g or to Fargate.
- BPurchase Compute Savings Plans for the baseline hourly commitment and keep RI and Savings Plans discount sharing turned on across the organization.Compute Savings Plans apply to EC2 in any family, size, Region and operating system, and to Fargate and Lambda. With discount sharing on, the commitment benefits usage in all accounts of the organization.
- CPurchase three-year Convertible Reserved Instances for the current C6i and M6i instances in both Regions and exchange them for C7g and M7g when workloads move to Graviton.Convertible RIs can be exchanged, but they apply only to EC2, so Fargate and Lambda usage would get no discount, and each exchange is an operational task.
- DPurchase Standard Reserved Instances for the current instances because they offer the highest discount.Standard RIs cannot be exchanged for other families, so they would be stranded after the Graviton migration, and they do not cover Fargate or Lambda.
Why: Purchasing options trade discount depth for flexibility. EC2 Instance Savings Plans and Standard RIs give the highest discounts but lock in a family and Region, which conflicts with planned migrations. Compute Savings Plans give a slightly lower discount but apply automatically across EC2 families, Regions, Fargate and Lambda, so they keep saving money while the architecture changes. In an organization with discount sharing enabled, a commitment bought in one account applies to eligible usage in other accounts.
Design architectures based on AWS pricing models
Larkspur Telecom uses Amazon Bedrock for two workloads. Every night it summarizes about 2 million closed support tickets, and the summaries are needed by 8 AM. During the day a support chatbot sends each question together with the same 20,000-token system prompt and product manual, and only the user's question changes between calls. Finance has asked for the largest cost reduction without changing models.
Which two actions should the solutions architect take? Each correct answer presents part of the solution.
- ASet the service_tier parameter to priority for the chatbot requests.The Priority tier gives faster responses at a premium over standard pricing, so it raises cost.
- BBuy a Reserved tier reservation sized to the nightly peak in tokens per minute and route the batch through it.Reserved capacity is billed monthly for the reserved tokens per minute even when idle, which suits steady mission-critical traffic, not a few hours of batch work.
- CSplit each nightly ticket into several smaller InvokeModel calls run in parallel from AWS Lambda.More on-demand calls do not lower the token price, and the Lambda fan-out adds its own cost and throttling risk.
- DRun the nightly summaries as an Amazon Bedrock batch inference job with JSONL input and output in Amazon S3.Batch inference processes large sets of prompts asynchronously at a lower price than on-demand calls, and the overnight window tolerates its turnaround.
- EPut a prompt cache checkpoint after the system prompt and product manual in the chatbot requests.The repeated 20,000-token prefix can then be read from cache at the cache-read rate, which costs less than reprocessing it and also reduces latency.
Why: AI cost optimization on Bedrock uses the same levers as other services: match the purchase option to the traffic. Large offline jobs with a deadline fit batch inference, which costs less than on-demand calls. Repeated long prefixes fit prompt caching, where cached tokens are billed at a lower cache-read rate (prompt caching is not available for batch jobs, which is why the two workloads get different levers). Service tiers trade price for speed: Flex is cheaper and slower, Priority is faster and more expensive, and Reserved is for steady critical capacity.