nerdexam
AmazonAmazon

DVA-C02 · Question #639

DVA-C02 Question #639: Real Exam Question with Answer & Explanation

The correct answer is C: Define a task definition with an AWS Fargate launch type.. Running a containerized application on a scheduled hourly basis in ECS with minimal infrastructure management requires AWS Fargate, which eliminates the need to provision or manage EC2 instances.

Submitted by cyberguy42· Mar 5, 2026Development with AWS Services

Question

A developer built an application that calls an external API to obtain data, processes the data, and saves the result to Amazon S3. The developer built a container image with all of the necessary dependencies to run the application as a container. The application runs locally and requires minimal CPU and RAM resources. The developer has created an Amazon ECS cluster. The developer needs to run the application hourly in Amazon ECS. Which solution will meet these requirements with the LEAST amount of infrastructure management overhead?

Options

  • AAdd a capacity provider to manage instances.
  • BAdd an Amazon EC2 instance that runs the application.
  • CDefine a task definition with an AWS Fargate launch type.
  • DCreate an Amazon ECS cluster and add the managed node groups feature to run the application.

Explanation

Running a containerized application on a scheduled hourly basis in ECS with minimal infrastructure management requires AWS Fargate, which eliminates the need to provision or manage EC2 instances.

Common mistakes.

  • A. Adding a capacity provider to manage EC2 instances requires provisioning, patching, and maintaining the underlying servers, which adds significant infrastructure management overhead.
  • B. Running an Amazon EC2 instance directly involves ongoing server management including patching, monitoring, and scaling, increasing operational burden for what should be a simple scheduled task.
  • D. Managed node groups are an Amazon EKS (Kubernetes) feature, not an ECS concept, and introducing Kubernetes adds substantial complexity and management overhead for a simple scheduled container workload.

Concept tested. ECS Fargate launch type for serverless scheduled containers

Reference. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions