Developer is trying to monitor an application’s status by running a cron job that returns 1 if the service is up and 0 if the service is down. The Developer created code that uses an AWS CLI put-metric-alarm command to publish the custom metrics to Amazon CloudWatch and create an alarm. However, the Developer is unable to create an alarm as the custom metrics do not appear in the CloudWatch console. What is causing this issue?

🎲 Try a Random Question  |  Total Questions in Quiz: 155  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
AWS Certified Developer Training Review Questions — practice the complete quiz, review flashcards, or try a random question.

Questions on how to write code and design scalable applications, implement application security and testing, and on AWS components such as S3, Dynamo DB, Elastic Beanstalk, and CloudFormation.


1. Developer is trying to monitor an application’s status by running a cron job that returns 1 if the service is up and 0 if the service is down. The Developer created code that uses an AWS CLI put-metric-alarm command to publish the custom metrics to Amazon CloudWatch and create an alarm. However, the Developer is unable to create an alarm as the custom metrics do not appear in the CloudWatch console. What is causing this issue?