Ultimate access to all questions.
How can a developer integrate an on-premises legacy application with AWS applications for centralized monitoring and troubleshooting using Amazon CloudWatch?
Explanation:
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.