AWS Certified Developer Associate DVA-C01 – Question453

A developer is working on a Python application that runs on Amazon EC2 instances. The developer wants o enable tracing of application requests to debug performance issues in the code.
Which combination of actions should the developer take to achieve this goal? (Choose two.)

A.
Install the Amazon CloudWatch agent on the EC2 instances
B. Install the AWS X-Ray daemon on the EC2 instances
C. Configure the application to write JSON-formatted logs to /var/log/cloudwatch
D. Configure the application to write trace data to /var/log/xray
E. Install and configure the AWS X-Ray SDK for Python in the application