DEA-C01 exam dumps

DEA-C01 practice question 517 of 550

AWS Certified Data Engineer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DEA-C01 Question 517

Select 3

You are developing a data processing application on AWS where logs must be collected for debugging and monitoring purposes. The logs are expected to grow significantly over time, and you want to ensure cost-effective storage, easy retrieval, and integration with visualization tools like Amazon CloudWatch. Which of the following steps should you take to set up your logging solution?

  1. A

    Use Amazon CloudWatch Logs to collect and store logs.

  2. B

    Configure the application to write logs directly to an Amazon S3 bucket.

  3. C

    Set up a CloudWatch Logs agent on your application servers to push logs to CloudWatch Logs.

  4. D

    Enable log rotation and lifecycle policies for CloudWatch Logs to manage retention and storage costs.

  5. E

    Directly store logs in an Amazon DynamoDB table for real-time querying.

Show answer and explanation

Correct answers: A, C, D

Explanation

To log application data effectively, Amazon CloudWatch Logs is an ideal solution due to its ability to collect, store, and analyze log data. Configuring the CloudWatch Logs agent ensures seamless integration and log delivery to CloudWatch Logs. Enabling log rotation and lifecycle policies helps optimize storage costs and manage retention effectively. While other services like S3 and DynamoDB can store logs, they lack the native features and integration that CloudWatch Logs provides for monitoring and visualization.

  • A. Correct.

    Correct: Amazon CloudWatch Logs is a managed service designed for log collection and storage. It supports monitoring, visualization, and alerting, making it ideal for this scenario.

  • B. Incorrect.

    Incorrect: While Amazon S3 is a useful log storage option, it lacks the integration with visualization tools like CloudWatch. Logs in S3 require additional processing for querying and visualization.

  • C. Correct.

    Correct: The CloudWatch Logs agent is a common way to send application logs to CloudWatch Logs for centralized management and monitoring.

  • D. Correct.

    Correct: Log rotation and lifecycle policies in CloudWatch Logs help manage storage costs and ensure compliance by retaining logs for a defined duration.

  • E. Incorrect.

    Incorrect: Amazon DynamoDB is a NoSQL database service and is not typically used for log storage due to cost inefficiency and lack of direct integration with visualization tools.

Timed practice exam

Take a DEA-C01 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam