AWS Certified Developer - Associate

AWS Certified Developer - Associate

Get started today

Ultimate access to all questions.


You are planning to implement AWS X-Ray for tracing requests in your application, which is deployed as Docker containers using AWS Fargate. AWS X-Ray helps you analyze and debug distributed applications. To ensure the X-Ray daemon runs correctly in this environment, what steps do you need to take? (Select two)





Explanation:

Deploy the X-Ray daemon agent as a sidecar container

In Amazon ECS, create a Docker image that runs the X-Ray daemon, upload it to a Docker image repository, and then deploy it to your Amazon ECS cluster. You can use port mappings and network mode settings in your task definition file to allow your application to communicate with the daemon container.

As we are using AWS Fargate, we do not have control over the underlying EC2 instance and thus we can't deploy the agent on the EC2 instance or run an X-Ray agent container as a daemon set (only available for ECS classic).