Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified Solutions Architect - Professional · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
AWS Fargate is ideal for running containerized workloads without managing underlying EC2 instances. Even though the application is a binary and its source code cannot be modified, it can be easily packaged into a Docker container without changing the binary itself. Since the application runs periodically (every 4 hours) and for a short duration (up to 20 minutes), Fargate provides a cost-effective, serverless execution environment. Amazon EventBridge (CloudWatch Events) can be scheduled to invoke Fargate tasks precisely at defined intervals.
Option C clearly includes EventBridge for scheduling, aligning with the requirement to run tasks every 4 hours. While AWS Batch is technically better for CPU-intensive workloads, the lack of explicit EventBridge integration in Option B makes C the correct answer under AWS’s service design principles.
B. Use AWS Batch to run the application. Use an AWS Step Functions state machine to invoke the AWS Batch job every 4 hours.