exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 9 question 64 discussion

Actual exam question from Microsoft's AZ-400
Question #: 64
Topic #: 9
[All AZ-400 Questions]

HOTSPOT
-

You plan to build an app named App1 by using GitHub.

You need to recommend a build and deployment solution for App1. The solution must meet the following requirements:

• Ensure that the code for App1 is submitted for testing only when a build has completed successfully.
• Ensure that a build is approved by the change management team before the build is released.

What should you include in the recommendation for each requirement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
maqsoodshah
Highly Voted 6 months, 1 week ago
correct answers are: - Jobs - Environments Requirement 1: Given that the requirement is related to testing after a successful build, Jobs might be the most relevant option. Jobs typically represent specific tasks or stages in a build pipeline, and you could configure a job to run tests after a successful build. Requirement 2: For ensuring approval by the change management team, Environments or Packages could be potential options. Environments might represent different stages of deployment (e.g., development, testing, production), and you could require approval before promoting a build to a specific environment.
upvoted 6 times
Seanm45
5 months ago
Agree with these answers. - Jobs - Environments
upvoted 3 times
...
...
Emil_Topics
Most Recent 6 months, 2 weeks ago
In my opion it should be Pull Request - code will only be submitted after the build in the branch policy is completed successfully. Environments - Or deployment enviroments - associate the change management team with a certain environment so only they can approve a deployment to that environment.
upvoted 3 times
Dankho
4 months ago
Agree with this answer. Requirement 1: Ensure that the code for App1 is submitted for testing only when a build has completed successfully. Answer: Pull Requests Pull Requests (PRs) are used in GitHub to ensure code quality. You can configure PRs with branch protection rules that require a successful build before allowing the code to be merged into the testing branch. Requirement 2: Ensure that a build is approved by the change management team before the build is released. Answer: Environments GitHub Environments support deployment protection rules, such as requiring manual approval from the change management team before a deployment occurs. This ensures that a build is only released after approval.
upvoted 1 times
...
...
Mattt
6 months, 2 weeks ago
The answer is correct
upvoted 3 times
Freyr
3 months ago
Environments is correct for the second requirement. Here's why: Pull requests handle code review and testing gates before merging code Environments handle deployment approval workflows and governance, including required approvals from specific teams before deployment The change management approval requirement aligns with Environment protection rules, which let you configure mandatory approvers for deployments. Pull requests don't manage post-build release approvals.
upvoted 1 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