اختبار شهادة AWS Solutions Architect Associate

السؤال 440 من 539

كل الأسئلة

A company runs a Java-based job on an Amazon EC2 instance. The job runs every hour and takes 10 seconds to run, using 1 GB of memory. CPU usage spikes briefly, but otherwise remains low. The company wants to optimize cost. Which solution will meet these requirements?

الخيارات

  • A Use AWS App2Container (A2C) to containerize the job. Run the job as an Amazon Elastic Container Service (Amazon ECS) task on AWS Fargate with 0.5 virtual CPU (vCPU) and 1 GB of memory.
  • B Copy the code into an AWS Lambda function that has 1 GB of memory. Create an Amazon EventBridge scheduled rule to run the code each hour.
  • C Use AWS App2Container (A2C) to containerize the job. Install the container in the existing Amazon Machine Image (AMI). Ensure that the schedule stops the container when the task finishes.
  • D Configure the existing schedule to stop the EC2 instance at the completion of the job and restart the EC2 instance when the next job starts.

النقاشات

لا توجد نقاشات منشورة لهذا السؤال حالياً.