A repository administrator configures review controls for Copilot-created pull requests. The organization wants low-risk documentation changes to be lightweight, but changes to authentication, deployment, or compliance-scoped code must require human review and passing checks before merge. Evaluate the following statements. 1. The policy treats secret-backed workflow execution as requiring human intervention. 2. High-risk paths are allowed to bypass pull request review when tests pass. 3. The configuration separates lightweight documentation changes from higher-risk code paths.
ruleset: production-main
target: main
pull_request_rules:
require_pull_request: true
required_approving_reviews: 2
require_code_owner_review: true
required_status_checks:
strict: true
checks:
- build
- test
- codeql
copilot_workflow_policy:
allow_unreviewed_workflow_runs: false
require_human_approval_for_secret_access: true
path_risk_classification:
low:
- docs/**
- .github/ISSUE_TEMPLATE/**
medium:
- src/**
- tests/**
high:
- src/auth/**
- infra/deploy/**
- compliance/**Choose an answer
Tap an option to check your answer.
Correct answer: 1=Yes 2=No 3=Yes.
Why this is the answer
Statement 1 is Yes because copilotworkflowpolicy: requirehumanapprovalforsecretaccess: true explicitly mandates human approval for workflows accessing secrets, which includes secret-backed execution. Statement 2 is No. The pullrequestrules and requiredstatuschecks apply broadly, and the pathriskclassification defines risk levels but does not create an exception for high-risk paths to bypass PR review even if tests pass; they still require approvals and checks. Statement 3 is Yes. The pathriskclassification clearly distinguishes low risk paths like docs/ from high risk paths such as src/auth/, infra/deploy/, and compliance/, allowing for differentiated review processes (though not fully configured in this snippet, the classification itself exists).
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed