
Answer-first summary for fast verification
Answer: By downloading and configuring the CloudWatch agent on the on-premises server with appropriate IAM permissions.
The correct answer is B. The developer should download and configure the CloudWatch agent on the on-premises server with appropriate IAM permissions. This approach allows the on-premises server logs to be sent directly to Amazon CloudWatch for centralized monitoring and troubleshooting. Options A, C, and D are not suitable for this scenario as they do not ensure seamless integration and centralized monitoring with CloudWatch for on-premises logs. Installing the AWS SDK (Option A) won't automatically send logs to CloudWatch, and options C and D involve additional steps that are unnecessary when the CloudWatch agent can directly handle this task.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How can a developer integrate an on-premises legacy application with AWS applications for centralized monitoring and troubleshooting using Amazon CloudWatch?
A
By installing an AWS SDK on the on-premises server to send logs to CloudWatch.
B
By downloading and configuring the CloudWatch agent on the on-premises server with appropriate IAM permissions.
C
By uploading logs to Amazon S3 for CloudWatch to monitor.
D
By uploading logs to an EC2 instance, which then forwards them to CloudWatch.