exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

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

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 304 discussion

A company is building a serverless application on AWS. The application uses Amazon API Gateway and AWS Lambda. The company wants to deploy the application to its development, test, and production environments.

Which solution will meet these requirements with the LEAST development effort?

  • A. Use API Gateway stage variables and create Lambda aliases to reference environment-specific resources.
  • B. Use Amazon Elastic Container Service (Amazon ECS) to deploy the application to the environments.
  • C. Duplicate the code for each environment. Deploy the code to a separate API Gateway stage.
  • D. Use AWS Elastic Beanstalk to deploy the application to the environments.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
SerialiDr
Highly Voted 7 months, 2 weeks ago
Selected Answer: A
This approach allows for easy management of multiple environments within the same AWS infrastructure. API Gateway stage variables can be used to manage configurations that differ between environments, such as endpoint URLs or configuration settings. Similarly, Lambda aliases can point to different versions of Lambda functions, making it possible to deploy different versions of the codebase to different environments (e.g., development, test, production) without duplicating the code. This solution is both efficient and scalable, enabling quick updates and minimal overhead in managing environment-specific configurations.
upvoted 6 times
...
65703c1
Most Recent 5 months ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
Abdullah22
7 months, 2 weeks ago
Selected Answer: A
going with A
upvoted 4 times
...
CrescentShared
8 months, 1 week ago
Selected Answer: A
D: not for serverless.
upvoted 4 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