AWS Certified Developer Associate DVA-C02 Practice Question
Your team has developed a new feature that makes asynchronous API calls to a backend service and you need to verify its behavior in the production-like environment. Which service would provide the BEST approach to test this feature before it is released to production considering you want to detect any integration issues as early as possible?
Deploy the new feature using a canary deployment with AWS CodeDeploy to test its behavior with a small percentage of traffic.
Run the feature on a selection of real devices using AWS Device Farm to test different network conditions and device interaction.
Use AWS X-Ray to trace the requests made by the new feature and analyze the service response times.
Initiate a build using AWS CodeBuild to integrate the new feature and run unit tests against the updated backend service.
AWS CodeDeploy allows you to deploy the application incrementally across instances and track the health of the deployment. By deploying to a subset of instances first (canary deployment), it can emulate production behavior, allowing you to monitor and test the new feature while limiting the impact of potential issues before deploying to all instances. AWS X-Ray is primarily used for analyzing and debugging production applications, not for pre-deployment testing. AWS Device Farm focuses on app testing on real mobile devices which is not relevant for backend service API calls testing, and AWS CodeBuild is for compiling your source code and running unit tests, which doesn't necessarily capture integration behavior like asynchronous API calls in a production-like environment.
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 a canary deployment?
Open an interactive chat with Bash
How does AWS CodeDeploy work?
Open an interactive chat with Bash
What are the benefits of using AWS X-Ray in production?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access