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 24 discussion

A company wants to deploy and maintain static websites on AWS. Each website's source code is hosted in one of several version control systems, including AWS CodeCommit, Bitbucket, and GitHub.
The company wants to implement phased releases by using development, staging, user acceptance testing, and production environments in the AWS Cloud. Deployments to each environment must be started by code merges on the relevant Git branch. The company wants to use HTTPS for all data exchange. The company needs a solution that does not require servers to run continuously.
Which solution will meet these requirements with the LEAST operational overhead?

  • A. Host each website by using AWS Amplify with a serverless backend. Conned the repository branches that correspond to each of the desired environments. Start deployments by merging code changes to a desired branch.
  • B. Host each website in AWS Elastic Beanstalk with multiple environments. Use the EB CLI to link each repository branch. Integrate AWS CodePipeline to automate deployments from version control code merges.
  • C. Host each website in different Amazon S3 buckets for each environment. Configure AWS CodePipeline to pull source code from version control. Add an AWS CodeBuild stage to copy source code to Amazon S3.
  • D. Host each website on its own Amazon EC2 instance. Write a custom deployment script to bundle each website's static assets. Copy the assets to Amazon EC2. Set up a workflow to run the script when code is merged.
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
Bibay
Highly Voted 1 year, 7 months ago
a The solution that will meet these requirements with the LEAST operational overhead is option A: Host each website by using AWS Amplify with a serverless backend. AWS Amplify is a fully managed service that allows developers to build and deploy web applications and static websites. With Amplify, developers can easily connect their repositories, such as AWS CodeCommit, Bitbucket, and GitHub, to automatically build and deploy changes to the website based on code merges. Amplify also supports phased releases with multiple environments, including development, staging, user acceptance testing, and production, which can be linked to specific branches in the repository. Additionally, Amplify uses HTTPS for all data exchange by default and has a serverless backend, which means there are no servers to maintain. Overall, this solution provides the least operational overhead while meeting all the specified requirements.
upvoted 27 times
yashika2005
1 year, 7 months ago
thanks a ton for all the explanations!
upvoted 3 times
...
...
Untamables
Highly Voted 1 year, 9 months ago
Selected Answer: A
The correct answer is A. AWS Amplify is an all in one service for the requirement. https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html Option C is almost correct, but it does not mention how to implement HTTPS. Option B and D are wrong. They need to keep running servers.
upvoted 21 times
...
sumanshu
Most Recent 2 weeks, 1 day ago
Selected Answer: B
A) AWS Amplify is purpose-built for deploying and hosting static websites and serverless backends with minimal operational overhead. B) Eliminated - Elastic Beanstalk is overkill for hosting static websites since it is designed for running full-stack web applications with servers C) Eliminated : S3 does not natively support branch-to-environment linking D) Eliminated: Using EC2 instances is entirely unnecessary for hosting static websites. It involves the highest operational overhead
upvoted 1 times
sumanshu
2 weeks, 1 day ago
Sorry - By mistake Select "B", should be A
upvoted 1 times
...
...
trieudo
3 weeks, 1 day ago
Selected Answer: A
keyword: - static websites - version control systems, including AWS CodeCommit, Bitbucket, and GitHub. - phased releases by using development, staging, user acceptance testing, and production environments - use HTTPS for all data exchange - not require servers to run continuously. - LEAST operational overhead ==> discard D: EC2 instance is not serverless, violate 'not require servers to run continuously' ==> discard C: you must set up many thing manually, create each bucket for each stage,... .Violate 'LEAST operational overhead' ==> Discard B: it excess capacity for 'static websites', usually using when deploy dynamic complexity backend, you must manage EC2, ELB, Auto Scaling, ... so violate 'LEAST operational overhead' A fits all requirement above
upvoted 1 times
...
Saurabh04
4 months, 3 weeks ago
Selected Answer: A
Amplify hosting provides a git based workflow for hosting full stack server less applications with continuous deployment.
upvoted 1 times
...
65703c1
7 months, 2 weeks ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
Vaibs099
8 months, 2 weeks ago
Amplify is the best option here to host website / static site as well with Hosting Environment option which can pull code from github, codecommit and bitbucket. Webapp Hosting can be for different envs like Prod, Dev etc. This gives serverless hosting option along with HTTPS. S3 static website hosting has no HTTPS and EB and EC2 are running instances.
upvoted 2 times
...
Cerakoted
1 year, 2 months ago
Selected Answer: A
Check About AWS Amplify Hosting
upvoted 2 times
...
jayvarma
1 year, 4 months ago
Option A is the answer. Ofcourse, until now we have been used to the fact that we need to use S3 for static website hosting. But there are a lot of requirements described in the question like the source code hosting, phased releases with different environments and HTTPS for all data exchange (which is not possible with S3 Hosting). AWS Amplify does all of this for you with the least operational overhead.
upvoted 5 times
...
Devon_Fazekas
1 year, 8 months ago
For fellow ACloudGurus, I was taught to associate static website hosting to S3 buckets. But apparently, "least operational overhead" is achieved using Amplify, as it natively supports deployment to various environments and seamlessly integrates with version control systems. Whereas, S3 requires configuring multiple buckets, configuring CodePipeline and integrating with each bucket.
upvoted 4 times
...
Rpod
1 year, 8 months ago
Selected Answer: C
Static Website should be C ..using S3
upvoted 3 times
Arnaud92
1 year, 7 months ago
Sadly Static Web Hosting on S3 does not supports HTTPS . So Response is A ;-) https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html
upvoted 8 times
jipark
1 year, 5 months ago
that is critical key !! thanks a lot.
upvoted 2 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