Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Microsoft GH-600 - Developing in Agentic AI Systems

Page: 3 / 3
Total 106 questions

You have a GitHub repository that uses the GitHub Copilot coding agent to resolve issues and create draft pull requests. The repository has a ruleset named ruleset1 that enforces the following:

    Signed commits

    Branch protections that require status checks to pass before merge

The agent is blocked from operating in the repository because it fails to comply with the signed-commits rule.

You need to ensure that the agent can create and push changes to copilot/ branches. The solution must enforce the signed-commits rule for human developers on protected branches.

What should you do?

A.

Make Copilot an owner of the repository.

B.

Grant the Copilot coding agent permission to push directly to the copilot/ branches.

C.

Remove the Require signed commits rule from ruleset1.

D.

Add Copilot as a bypass actor for ruleset1.

You are evaluating the following workflow YAML.

jobs:

agent1:

runs-on: ubuntu-latest

environment: agent-sandbox

steps:

- uses: actions/checkout@v4

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.