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?

  • Enable a distributed tracing tool within the serverless function and tag the tracing segments with the metric's data.

  • Modify the serverless function's permissions to include metrics publishing directly to the monitoring system.

  • Invoke the service's API to directly submit metric data from within the serverless function's execution code.

  • Output a specifically structured JSON log from the serverless function according to the service's embedded metric format standards.

AWS Certified Developer Associate DVA-C02
Troubleshooting and Optimization
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot