exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 354 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 354
Topic #: 1
[All AWS Certified Developer Associate Questions]

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?

  • A. Run the amplify add test command in the Amplify CLI.
  • B. Create unit tests in the application. Deploy the unit tests by using the amplify push command in the Amplify CLI.
  • C. Add a test phase to the amplify.yml build settings for the application.
  • D. Add a test phase to the aws-exports.js file for the application.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Drey
2 years, 3 months ago
Selected Answer: C
You can have end-to-end tests in test phase
upvoted 2 times
...
michaldavid
2 years, 5 months ago
Selected Answer: C
CCCCCCCC
upvoted 3 times
...
DrCloud
2 years, 5 months ago
Ans: C You can run end-to-end (E2E) tests in the test phase of your Amplify app to catch regressions before pushing code to production. The test phase can be configured in the build specification YML. https://docs.aws.amazon.com/amplify/latest/userguide/running-tests.html Add tests to your existing Amplify app You can use the test step to run any test commands at build time. For E2E tests, Amplify Hosting offers a deeper integration with Cypress that allows you to generate a UI report for your tests. To add Cypress tests to an existing app, update your amplify.yml build settings.
upvoted 4 times
...
kapil206001
2 years, 5 months ago
C https://docs.aws.amazon.com/amplify/latest/userguide/running-tests.html
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago