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

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

A company set up a continuous build process that uses AWS CodeBuild and AWS CodeCommit. During the development phase, developers are frequently pushing code and causing significant build failures. The company wants a solution that will build code before the developers push the code to the main branch.

Which solution meets these requirements MOST cost-effectively?

  • A. Configure an Amazon EC2 instance with the CodeBuild agent to build the code.
  • B. Configure CodeBuild jobs on AWS for each branch build process.
  • C. Configure the CodeBuild agent to build the code in the local system.
  • D. Configure a Jenkins plugin for CodeBuild to run the code build process.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
kyoharo
1 year, 5 months ago
Selected Answer: B
The most cost-effective solution is to configure CodeBuild jobs on AWS for each branch build process. This is because CodeBuild is a fully managed service that scales automatically, so you only pay for the resources you use. Configuring an Amazon EC2 instance with the CodeBuild agent would be more expensive, as you would need to pay for the EC2 instance even when it is not in use. Configuring the CodeBuild agent to build the code in the local system would not be feasible, as it would require each developer to have a local machine that is powerful enough to build the code. Configuring a Jenkins plugin for CodeBuild would also be more expensive, as you would need to pay for a Jenkins license. Therefore, the most cost-effective solution is to configure CodeBuild jobs on AWS for each branch build process. This will allow you to build your code before it is pushed to the main branch, without incurring any additional costs. So the answer is (B).
upvoted 3 times
...
JuanFe
2 years, 1 month ago
it'c C clearly.
upvoted 1 times
...
iamunstopable
2 years, 1 month ago
Answer is C: COST is the key word here https://docs.aws.amazon.com/codebuild/latest/userguide/use-codebuild-agent.html
upvoted 2 times
...
Drey
2 years, 2 months ago
Selected Answer: B
But configuring CodeBuild jobs on AWS for each branch build process is the most cost-effective solution as it will allow developers to build code before pushing it to the main branch. This way, developers can identify and resolve any issues in the code before it is merged into the main branch, reducing the number of build failures and increasing the efficiency of the build process. Additionally, CodeBuild is a fully managed service, so there is no need to set up and manage additional infrastructure, making it a cost-effective solution.
upvoted 3 times
...
pancman
2 years, 2 months ago
Selected Answer: C
MOST cost-effectively is the keyword here. The answer is C.
upvoted 2 times
...
tieyua
2 years, 2 months ago
Selected Answer: B
From real life experience, you may not own the entire pipeline and not always possible to clone everything and build locally. Plus, the question is asking "before push code to main branch". A normal setup is to have gated checkin on feature branch, so changes only made it to source if build succeeded. Then use pull request to merge feature into dev/master. Can't guarantee that's the exam is trying to ask, but that's how it's done.
upvoted 4 times
Smartiup
2 years, 2 months ago
100% Agree. Do code in feature branch do a pull request for a main branch. Triger on PR to build the code from feature branch and test it before the merge with main. That is how it should be in real software Development projects. For me B it is.
upvoted 1 times
...
...
JagpreetLM10
2 years, 3 months ago
Selected Answer: C
CCCCCCCC
upvoted 3 times
...
Phinx
2 years, 3 months ago
Selected Answer: C
https://www.examtopics.com/discussions/amazon/view/68892-exam-aws-certified-developer-associate-topic-1-question-429/
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