AWS Certified Developer – Associate — Question 264

A developer is using AWS Amplify Hosting to build and deploy an application. The developer is receiving an increased number of bug reports from users. The developer wants to add end-to-end testing to the application to eliminate as many bugs as possible before the bugs roach production.

Which solution should the developer implement to meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C because adding a test phase to the amplify.yml build settings allows for automated end-to-end testing during the deployment process, effectively catching bugs before production. Option A is incorrect as it doesn't directly relate to adding end-to-end tests. Option B focuses on unit tests, which are not the same as end-to-end tests. Option D is also incorrect because the aws-exports.js file is not intended for testing configurations.