Cloud Concepts
An EC2 workload consistently uses little CPU but nearly all available memory. Which change BEST reduces wasted compute capacity while preserving its performance?
Show the answer
Correct answerB. Choose a memory-optimized instance with less CPU and sufficient memory
AWhy not this: Changing the licensing model does not address the workload's CPU-to-memory mismatch.
BWhy this is right: A suitable memory-optimized instance can preserve needed memory while reducing excess CPU capacity.
CWhy not this: Reducing memory when it is already nearly fully used risks degrading workload performance.
DWhy not this: A pricing commitment may lower rates but leaves the CPU-to-memory mismatch unchanged.
Rightsizing can involve changing instance families to match the workload's resource balance. Simply shrinking the existing instance could create a memory shortage; a pricing commitment does not remove unused CPU capacity.