
Answer-first summary for fast verification
Answer: Enable S3 logging via the Systems Manager console and select a target S3 bucket for session data.
Option A is the correct answer. Enabling S3 logging directly within the Systems Manager console and specifying an S3 bucket is the most operationally efficient method. This approach directly sends logs to the S3 bucket without the need for additional components or complex setups, reducing operational overhead and simplifying logging management. Options B, C, and D all involve multiple steps and additional services, which introduce more complexity and potential points of failure.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How can a company most efficiently archive AWS Systems Manager Session Manager logs to an Amazon S3 bucket?
A
Enable S3 logging via the Systems Manager console and select a target S3 bucket for session data.
B
Deploy the Amazon CloudWatch agent to push logs to a CloudWatch log group, then export to S3 for archival.
C
Utilize a Systems Manager document for uploading server logs to a central S3 bucket, executed daily on all servers via Amazon EventBridge.
D
Use the Amazon CloudWatch agent to send logs to a CloudWatch log group, then set up a subscription to forward logs to an Amazon Kinesis Data Firehose stream, directing the output to S3.