SAP-C02 exam dumps

SAP-C02 practice question 382 of 678

AWS Certified Solutions Architect - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAP-C02 Question 382

Select 2

A company is running a distributed application across multiple AWS accounts in an AWS Organization. They want to centralize monitoring for application metrics and logs in a single account. To achieve this, which combination of actions should be taken?

  1. A

    Set up a CloudWatch cross-account data sharing role in the central account.

  2. B

    Create a CloudWatch Logs subscription filter in each member account and stream logs to the central account.

  3. C

    Use AWS Organizations to enable centralized CloudWatch Logs and metrics collection automatically.

  4. D

    Configure metric streams in the member accounts to send CloudWatch metrics to the central account.

  5. E

    Use AWS Resource Access Manager (AWS RAM) to share CloudWatch dashboards across accounts.

Show answer and explanation

Correct answers: B, D

Explanation

To centralize monitoring for application metrics and logs across multiple AWS accounts in an organization, you need to configure specific mechanisms. CloudWatch Logs subscription filters allow logs to be streamed from member accounts to a central account, while metric streams enable the sending of CloudWatch metrics to a central account. AWS Organizations and AWS RAM do not directly provide features for centralizing logs or metrics.

  • A. Incorrect.

    Incorrect: CloudWatch cross-account data sharing is not a feature in CloudWatch. Centralizing logs and metrics requires log subscription filters and metric streams.

  • B. Correct.

    Correct: CloudWatch Logs subscription filters can be used to stream logs from member accounts to a log group in the central account.

  • C. Incorrect.

    Incorrect: AWS Organizations does not provide automatic functionality to centralize CloudWatch Logs or metrics collection. This requires specific configurations.

  • D. Correct.

    Correct: Metric streams can be used to send CloudWatch metrics from member accounts to the central account for centralized monitoring.

  • E. Incorrect.

    Incorrect: AWS RAM can share resources like dashboards, but it does not facilitate the centralization of logs or metrics across accounts.

Timed practice exam

Take a SAP-C02 practice test under exam conditions

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

Start timed exam