exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 711 discussion

A company is building a sensor data collection pipeline in which thousands of sensors write data to an Amazon Simple Queue Service (Amazon SQS) queue every minute. The queue is processed by an AWS Lambda function that extracts a standard set of metrics from the sensor data. The company wants to send the data to Amazon CloudWatch. The solution should allow for viewing individual and aggregate sensor metrics and interactively querying the sensor log data using
CloudWatch Logs Insights.
What is the MOST cost-effective solution that meets these requirements?

  • A. Write the processed data to CloudWatch Logs in the CloudWatch embedded metric format.
  • B. Write the processed data to CloudWatch Logs. Then write the data to CloudWatch by using the PutMetricData API call.
  • C. Write the processed data to CloudWatch Logs in a structured format. Create a CloudWatch metric filter to parse the logs and publish the metrics to CloudWatch with dimensions to uniquely identify a sensor.
  • D. Configure the CloudWatch Logs agent for AWS Lambda. Output the metrics for each sensor in statsd format with tags to uniquely identify a sensor. Write the processed data to CloudWatch Logs.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sek12324
Highly Voted 3 years, 2 months ago
A The CloudWatch embedded metric format is a JSON specification used to instruct CloudWatch Logs to automatically extract metric values embedded in structured log events. You can use CloudWatch to graph and create alarms on the extracted metric values.
upvoted 22 times
...
claymannain
Most Recent 1 year, 5 months ago
A Install the CloudWatch agent on the host where the processed data is generated. Configure the CloudWatch agent to collect the processed data in the CloudWatch embedded metric format. Start the CloudWatch agent. The CloudWatch agent will collect the processed data and send it to CloudWatch Logs. CloudWatch Logs will store the data in a log group. You can then use CloudWatch Metrics to graph and analyze the data. Here is an example of a CloudWatch embedded metric log event: Code snippet { "timestamp": "2023-06-09T11:23:45Z", "message": "Processed data: 1234567890", "metric": { "name": "processed_data", "value": 1234567890 } }
upvoted 1 times
...
kangtamo
2 years, 6 months ago
Selected Answer: A
Go with A
upvoted 2 times
...
AzureDP900
2 years, 12 months ago
A is right https://aws.amazon.com/about-aws/whats-new/2019/11/amazon-cloudwatch-launches-embedded-metric-format/
upvoted 2 times
...
andylogan
3 years ago
It's A
upvoted 1 times
...
tgv
3 years, 1 month ago
AAA ---
upvoted 1 times
...
blackgamer
3 years, 1 month ago
A is the answer.
upvoted 1 times
...
WhyIronMan
3 years, 1 month ago
I'll go with A
upvoted 2 times
...
Waiweng
3 years, 1 month ago
it's A
upvoted 3 times
...
Kelvin
3 years, 2 months ago
A is correct. https://aws.amazon.com/about-aws/whats-new/2019/11/amazon-cloudwatch-launches-embedded-metric-format/
upvoted 2 times
...
Pupu86
3 years, 2 months ago
A. https://aws.amazon.com/about-aws/whats-new/2019/11/amazon-cloudwatch-launches-embedded-metric-format/
upvoted 3 times
...
champcloud
3 years, 2 months ago
Going with A
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...