AWS Certified Developer Associate DVA-C02 Practice Question

A development team is utilizing a serverless architecture for their application. They need to ensure that the application performs optimally during different stages of deployment such as development, testing, and production. The serverless function requires specific configuration data that should change depending on the stage without altering the function's code. Which method facilitates the function's ability to adapt its behavior dynamically in response to the deployment stage?

  • You selected this option

    Maintain multiple versions of the serverless function, each tailored to a specific deployment environment.

  • You selected this option

    Configure environmental parameters on the serverless API endpoint that are passed to the serverless function during invocation.

  • You selected this option

    Implement a file in a cloud storage service that stores the configuration information, which the serverless function checks upon every invocation.

  • You selected this option

    Embed environment-specific code branches within the serverless function, with logic to select the right branch during execution.

AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Settings & Objectives
N/A
N/A
N/A
N/A
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