
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company stores its application logs in an Amazon CloudWatch Logs log group. A new policy requires the company to store all application logs in Amazon OpenSearch Service (Amazon Elasticsearch Service) in near-real time.
Which solution will meet this requirement with the LEAST operational overhead?
A
Configure a CloudWatch Logs subscription to stream the logs to Amazon OpenSearch Service (Amazon Elasticsearch Service).
B
Create an AWS Lambda function. Use the log group to invoke the function to write the logs to Amazon OpenSearch Service (Amazon Elasticsearch Service).
C
Create an Amazon Kinesis Data Firehose delivery stream. Configure the log group as the delivery streams sources. Configure Amazon OpenSearch Service (Amazon Elasticsearch Service) as the delivery stream’s destination.
D
Install and configure Amazon Kinesis Agent on each application server to deliver the logs to Amazon Kinesis Data Streams. Configure Kinesis Data Streams to deliver the logs to Amazon OpenSearch Service (Amazon Elasticsearch Service).
Explanation:
Correct Answer: C
Amazon Kinesis Data Firehose is the most efficient and low-overhead solution for streaming data from CloudWatch Logs to Amazon OpenSearch Service. Here's why:
Option A: Incorrect because CloudWatch Logs subscriptions cannot directly stream to OpenSearch Service. CloudWatch Logs subscriptions can only stream to Kinesis Data Streams, Kinesis Data Firehose, or Lambda functions.
Option B: While this would work, it has higher operational overhead because:
Option D: This has the highest operational overhead because:
This solution provides near-real-time log delivery with minimal operational overhead, meeting the requirement most effectively.