AWS Certified Developer – Associate (DVA-C02) — Question 138

Users are reporting errors in an application. The application consists of several microservices that are deployed on Amazon Elastic Container Service (Amazon ECS) with AWS Fargate.

Which combination of steps should a developer take to fix the errors? (Choose two.)

Answer options

Correct answer: A

Explanation

The correct answer is A because deploying AWS X-Ray as a sidecar container allows for detailed tracing of microservices and updating the task role policy ensures that the application can access the X-Ray API. Other options either incorrectly suggest the use of a daemonset, which is not applicable for Fargate, or do not properly address the tracing and policy needs for diagnostics.