nerdexam
Amazon

DAS-C01 · Question #86

A data engineering team within a shared workspace company wants to build a centralized logging system for all weblogs generated by the space reservation system. The company has a fleet of Amazon EC2…

The correct answer is B. Set up the Amazon CloudWatch agent to stream weblogs to CloudWatch logs and subscribe the. The requirements are near-real-time search capability and no infrastructure management. The CloudWatch agent on EC2 instances collects and streams weblogs to CloudWatch Logs. A CloudWatch Logs subscription then forwards the log stream in near-real-time to Amazon OpenSearch…

Analysis and Visualization

Question

A data engineering team within a shared workspace company wants to build a centralized logging system for all weblogs generated by the space reservation system. The company has a fleet of Amazon EC2 instances that process requests for shared space reservations on its website. The data engineering team wants to ingest all weblogs into a service that will provide a near-real-time search engine. The team does not want to manage the maintenance and operation of the logging system. Which solution allows the data engineering team to efficiently set up the web logging system within AWS?

Options

  • ASet up the Amazon CloudWatch agent to stream weblogs to CloudWatch logs and subscribe the
  • BSet up the Amazon CloudWatch agent to stream weblogs to CloudWatch logs and subscribe the
  • CSet up the Amazon CloudWatch agent to stream weblogs to CloudWatch logs and subscribe the
  • DSet up the Amazon CloudWatch agent to stream weblogs to CloudWatch logs and subscribe the

How the community answered

(50 responses)
  • A
    14% (7)
  • B
    78% (39)
  • C
    2% (1)
  • D
    6% (3)

Explanation

The requirements are near-real-time search capability and no infrastructure management. The CloudWatch agent on EC2 instances collects and streams weblogs to CloudWatch Logs. A CloudWatch Logs subscription then forwards the log stream in near-real-time to Amazon OpenSearch Service (formerly Amazon Elasticsearch Service), which provides a fully managed, scalable near-real-time search and analytics engine-no cluster maintenance required. OpenSearch Service handles indexing, replication, patching, and scaling automatically, meeting the 'no maintenance' requirement. The near-real-time subscription-based streaming (vs. batch export) satisfies the latency requirement. The other options likely differ in the downstream destination (e.g., S3 for batch, Kinesis for streaming without search), but OpenSearch Service is the purpose-built managed search engine that fulfills both the near-real-time and operational simplicity requirements.

Topics

#Centralized Logging#Real-time Search#Managed Services#Log Ingestion

Community Discussion

No community discussion yet for this question.

Full DAS-C01 Practice