AWS Certified Cloud Practitioner — Question 651
A company has an application that runs periodically in an on-premises environment. The application runs for a few hours most days, but runs for 8 hours a day for a week at the end of each month.
Which AWS service or feature should be used to host the application in the AWS Cloud?
Answer options
- A. Amazon EC2 Standard Reserved Instances
- B. Amazon EC2 On-Demand Instances
- C. AWS Wavelength
- D. Application Load Balancer
Correct answer: B
Explanation
Amazon EC2 On-Demand Instances are ideal for short-term, irregular workloads because you pay only for the compute capacity you consume with no long-term commitments. Amazon EC2 Standard Reserved Instances are unsuitable because they require a 1- or 3-year commitment, which is inefficient for an application that runs only sporadically. AWS Wavelength is meant for mobile edge computing, and an Application Load Balancer is a load balancing service rather than a hosting platform.