nerdexam
AmazonAmazon

SAA-C03 · Question #562

SAA-C03 Question #562: Real Exam Question with Answer & Explanation

The correct answer is B: Copy the code into an AWS Lambda function that has 1 GB of memory. Create an Amazon. AWS Lambda is event driven and "scales automatically with the number of requests," charging per request and compute duration in milliseconds; you can schedule with Amazon EventBridge Allocating 1 GB memory proportionally increases available CPU, which suits short CPU bursts. For

Submitted by manish99· Mar 4, 2026Design Cost-Optimized Architectures

Question

A company runs a Java-based job on an Amazon EC2 instance. The job runs every hour and takes 10 seconds to run. The job runs on a scheduled interval and consumes 1 GB of memory. The CPU utilization of the instance is low except for short surges during which the job uses the maximum CPU available. The company wants to optimize the costs to run the job. Which solution will meet this requirement?

Options

  • AUse AWS App2Container (A2C) to containerize the job. Run the job as an Amazon Elastic
  • BCopy the code into an AWS Lambda function that has 1 GB of memory. Create an Amazon
  • CUse AWS App2Container (A2C) to containerize the job. Install the container in the existing
  • DConfigure the existing schedule to stop the EC2 instance at the completion of the job and restart

Explanation

AWS Lambda is event driven and "scales automatically with the number of requests," charging per request and compute duration in milliseconds; you can schedule with Amazon EventBridge Allocating 1 GB memory proportionally increases available CPU, which suits short CPU bursts. For a 10-second, once-per-hour job, Lambda eliminates instance idle time, providing the lowest cost and no servers to manage. Fargate tasks (A) bill per-second with a 1-minute minimum and require container packaging; for a 10-second job, costs are higher than Lambda. Options C and D keep EC2 management overhead and either maintain instances or add start/stop orchestration complexity; EC2 costs dominate because the instance sits idle for 59+ minutes each hour. Therefore, Lambda + EventBridge is the most cost-effective and operationally simple solution.

Community Discussion

No community discussion yet for this question.

Full SAA-C03 PracticeBrowse All SAA-C03 Questions