nerdexam
AmazonAmazon

SOA-C03 · Question #62

SOA-C03 Question #62: Real Exam Question with Answer & Explanation

The correct answer is B: Export the existing CloudWatch dashboard as JSON. Update the CloudFormation template to. According to CloudOps automation and monitoring best practices, CloudWatch dashboards should be provisioned as infrastructure-as-code (IaC) resources using AWS CloudFormation to ensure consistency, repeatability, and version control. AWS CloudFormation supports the AWS::CloudWatc

Submitted by hassan_iq· Mar 5, 2026

Question

A CloudOps engineer creates an AWS CloudFormation template to define an application stack that can be deployed in multiple AWS Regions. The CloudOps engineer also creates an Amazon CloudWatch dashboard by using the AWS Management Console. Each deployment of the application requires its own CloudWatch dashboard. How can the CloudOps engineer automate the creation of the CloudWatch dashboard each time the application is deployed?

Options

  • ACreate a script by using the AWS CLI to run the aws cloudformation put-dashboard command
  • BExport the existing CloudWatch dashboard as JSON. Update the CloudFormation template to
  • CUpdate the CloudFormation template to define an AWS::CloudWatch::Dashboard resource. Use
  • DUpdate the CloudFormation template to define an AWS::CloudWatch::Dashboard resource.

Explanation

According to CloudOps automation and monitoring best practices, CloudWatch dashboards should be provisioned as infrastructure-as-code (IaC) resources using AWS CloudFormation to ensure consistency, repeatability, and version control. AWS CloudFormation supports the AWS::CloudWatch::Dashboard resource, where the DashboardBody property accepts a JSON object describing widgets, metrics, and layout. By exporting the existing dashboard configuration as JSON and embedding it into the CloudFormation template, every deployment of the application automatically creates its corresponding dashboard. This method aligns with the CloudOps requirement for automated deployment and operational visibility within the same stack lifecycle. "Use the AWS::CloudWatch::Dashboard resource to create a dashboard from your template. You can include the same JSON you use to define a dashboard in the console." Option A requires manual execution. Options C and D incorrectly reference or reuse existing dashboards, failing to produce unique, deployment-specific dashboards.

Community Discussion

No community discussion yet for this question.

Full SOA-C03 PracticeBrowse All SOA-C03 Questions