AZ-400 · Question #420
AZ-400 Question #420: Real Exam Question with Answer & Explanation
Sign in or unlock AZ-400 to reveal the answer and full explanation for question #420. The question stem and answer options stay visible for context.
Question
You use Git for source control. You enable GitHub code scanning. You raise a pull request from a non-default branch. In the code scanning output, you receive the following error message: "Analysis not found." You need to ensure that the code scanning completes successfully for the pull request. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Options
- AAdd the name of the default branch to the on: push specification in the code scanning workflow.
- BAdd the name of the non-default branch to the on:push specification in the code scanning workflow.
- CDelete the pull request, and then raise the request again from the default branch.
- DUpdate the code in the pull request.
- EAdd a new workflow for code scanning.
Unlock AZ-400 to see the answer
You've previewed enough free AZ-400 questions. Unlock AZ-400 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.