exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 5 question 52 discussion

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

You use GitHub Enterprise for source control repositories. The repositories store C# code.

You need to enable CodeQL scanning for the repositories.

What should you do?

  • A. Enable Dependabot security updates.
  • B. Enable Dependabot alerts.
  • C. Configure a required GitHub Actions workflow for all the repositories.
  • D. Push a GitHub Actions workflow to all the repositories.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
swk1az400
3 months ago
Selected Answer: D
COPILOT: Yes, I'm sure. To enable CodeQL scanning for your GitHub Enterprise repositories, you should: D. Push a GitHub Actions workflow to all the repositories. Here’s a bit more detail on why this is the correct approach: CodeQL scanning is implemented through GitHub Actions workflows. By pushing a workflow file to each repository, you ensure that CodeQL analysis is configured and runs automatically on your codebase. This workflow will include steps to initialize CodeQL, analyze your code, and upload the results to GitHub for review.
upvoted 1 times
...
fuchsm999
5 months ago
Selected Answer: D
D. Push a GitHub Actions workflow to all the repositories. Explanation: To enable CodeQL scanning, you need to create and configure a GitHub Actions workflow that performs the CodeQL analysis. This workflow must be added to each repository you want to scan. Dependabot security updates and alerts (options A and B) are related to dependency management, not CodeQL. While configuring a required workflow (option C) can enforce scanning, you must first deploy the workflow to the repositories (option D).
upvoted 2 times
...
MrAZ105
6 months, 2 weeks ago
Copilot Sent by Copilot: To enable CodeQL scanning for your repositories in GitHub Enterprise, you should: D. Push a GitHub Actions workflow to all the repositories. This involves adding a CodeQL workflow file to each repository, which uses the github/codeql-action to run CodeQL analysis.
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