
Answer-first summary for fast verification
Answer: Deploy a daemon for tracing on EC2 instances., Integrate and set up a tracing SDK for Python within the application.
To enable request tracing for a Python application on Amazon EC2, the developer must use AWS X-Ray. Installing the AWS X-Ray daemon on the EC2 instances (option B) is necessary as the daemon collects and sends trace data to AWS X-Ray. Additionally, the application must be instrumented with the AWS X-Ray SDK for Python (option E) to properly collect and send tracing information. Options A, C, and D are either not specific to X-Ray or not relevant to enabling request tracing through X-Ray.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A developer seeks to implement request tracing for a Python application on Amazon EC2 to identify performance bottlenecks. What steps should be taken to enable this functionality?
A
Deploy an agent for monitoring on EC2 instances.
B
Deploy a daemon for tracing on EC2 instances.
C
Set up application logging in a JSON format to a designated directory.
D
Direct application trace outputs to a designated directory.
E
Integrate and set up a tracing SDK for Python within the application.
No comments yet.