AWS Certified Solutions Architect - Professional Practice Questions

AWS Certified Solutions Architect - Professional (SAP-C03) exam preparation

AWS Certified Solutions Architect - Professional practice questions in English: 180 questions with explanations. The mock exam has 75 questions and 180 minutes.

AWS Certified Solutions Architect - Professional free question 5 / 10 · Domain 3: Cost-Optimized Architecture Design

You run a stateless web tier and batch processing on hundreds of Spot Instances through an EC2 Fleet. You want to cut cost as much as possible while keeping the probability of interruption in the near future low. Which Spot allocation strategy is recommended?

  1. capacity-optimized, which puts spare capacity above price and launches from the pool with the most spare capacity
  2. diversified, which launches evenly across all matching Spot pools and avoids concentrating on a particular pool
  3. price-capacity-optimized, which launches from the lowest-priced pool among the pools that have spare capacity
  4. lowest-price, which puts price above spare capacity and launches from the pool with the lowest price
Show the answer and explanation

Answer: C

Why this is correct
price-capacity-optimized chooses the pools with the highest capacity availability for the number of instances that you launch, which means pools with a lower chance of near-term interruption, and then requests Spot Instances from the lowest priced of them. AWS recommends it for stateless containerized workloads, microservices, web applications, data and analytics jobs, and batch processing. Because it looks at both price and capacity, it balances cost and interruptions.

Why the other options are wrong
"lowest-price, which puts price above spare capacity and launches from the pool with the lowest price" … AWS warns that lowest-price has the highest risk of interruption and does not recommend it. It is also the default when you use the AWS CLI, so specify the strategy explicitly to override it.
"capacity-optimized, which puts spare capacity above price and launches from the pool with the most spare capacity" … capacity-optimized prioritizes fewer interruptions and does not look at price. It suits workloads, such as long-running jobs, for which an interruption is costly. For the goal of cutting cost, price-capacity-optimized fits.
"diversified, which launches evenly across all matching Spot pools and avoids concentrating on a particular pool" … diversified distributes across all pools without looking at price or capacity availability. It only spreads; it does not choose pools with a low chance of interruption.

Key point
When in doubt, use price-capacity-optimized for Spot allocation. For workloads where an interruption is especially costly, consider capacity-optimized. Avoid lowest-price.

Go to the AWS Certified Solutions Architect - Professional practice app (10 free questions; purchase unlocks all questions)

See the full practice set