AWS Certified Developer Associate DVA-C02 Practice Question
Your development team is tasked with tracking the number of successful new user registrations in a serverless environment. In order to create more granular monitoring, the team has decided to publish a custom metric called 'UserSignUpSuccessCount' to a monitoring service whenever a registration is completed. Which approach allows for the efficient transmission of this custom metric adhering to a structured logging format provided by the platform's native monitoring service?
Output a specifically structured JSON log from the serverless function according to the service's embedded metric format standards.
Invoke the service's API to directly submit metric data from within the serverless function's execution code.
Modify the serverless function's permissions to include metrics publishing directly to the monitoring system.
Enable a distributed tracing tool within the serverless function and tag the tracing segments with the metric's data.
To implement the custom metric 'UserSignUpSuccessCount' effectively, the serverless function should output a JSON structure according to the monitoring service's embedded metric format, which is automatically parsed and converted into a custom metric by the service. Using the direct API call for putting metric data is less efficient and typically not necessary when leveraging the embedded metric format. Altering the function's execution role permissions is a separate concern and doesn't directly result in the creation of custom metrics. Lastly, integrating a distributed tracing system is useful for obtaining detailed insights into requests flowing through the system but isn't specifically designed for sending custom metrics.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an embedded metric format in AWS CloudWatch?
Open an interactive chat with Bash
Why is using the embedded metric format more efficient than direct API calls for CloudWatch metrics?
Open an interactive chat with Bash
What are the prerequisites for configuring custom metrics using the embedded metric format?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Troubleshooting and Optimization
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .