Free AWS Certified Developer Associate DVA-C02 Practice Question

A developer is integrating a serverless function with a third-party web service. The developer needs to confirm that the function reacts appropriately under different response conditions, including successful data retrieval, errors, and timeouts, without interacting with the actual service. What is the most effective method to mimic the third-party service and assess the function's various operational responses?

  • Activate the serverless function in a live setting with enhanced logging to track its handling of different operational conditions.

  • Implement an auxiliary serverless function to reproduce the behavior of the third-party service for testing purposes.

  • Embed static response conditions within the serverless function code to facilitate response scenario assessment.

  • Establish an Amazon API Gateway and configure mock integrations for reproducing varied operational scenarios.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Deployment
Your Score:

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