AWS Certified Developer Associate (#135)

A Developer needs to use AWS X-Ray to monitor an application that is deployed on EC2 instances. What steps have to be executed to perform the monitoring?

Deploy the X-Ray SDK with the application and use X-Ray annotation.
Install the X-Ray daemon and instrument the application code.
Install the X-Ray daemon and configure it to forward data to Amazon CloudWatch Events.
Deploy the X-Ray SDK with the application and instrument the application code.