exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 5 question 55 discussion

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

You have a GitHub repository.

You need to ensure that all changes to code are validated by your company’s security department before the main branch is deployed.

Which two actions can you perform? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

  • A. Require signed commits.
  • B. Create a branch protection rule for the feature branches.
  • C. Create a LICENSE file.
  • D. Create a branch protection rule for the main branch.
  • E. Create a CODEOWNERS file.
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

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
Junak
3 months ago
Selected Answer: DE
D and E are correct answers. https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-and-branch-protection
upvoted 1 times
...
fuchsm999
5 months ago
Selected Answer: DE
D and E , A is not needed it only matters who can approve
upvoted 3 times
...
Mattt
6 months, 3 weeks ago
Selected Answer: AD
I think A & D
upvoted 1 times
Mattt
6 months, 3 weeks ago
Sorry, the given answer is correct: D. E. Create a CODEOWNERS file. This defines who can approve changes to specific parts of the code, ensuring that necessary validations are performed by the security department or other relevant teams.
upvoted 3 times
...
...
Dhibi_111
7 months ago
Selected Answer: AE
A & E !
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