GitHubGithub GH-600 Agentic AI Developer Certification ·EN ·Updated 15 Jul 2026

A repository uses Copilot to prepare pull requests that may update application code. The validation workflow should run on pull requests into main, read repository contents, and comment only when the guardrail script detects a policy violation. The job should not receive repository write permissions beyond pull request comments. Which option completes the workflow?

name: agent-guardrail-check

on:
  (Missing value 1):
    branches:
      - main

permissions:
  contents: read
  (Missing value 2): write

jobs:
  guardrail:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

        - name: Run guardrail validation
          run: ./scripts/check-agent-boundaries.sh

      - name: Comment on policy violation
        if: failure()
        (Missing value 3): gh pr comment "$PR_NUMBER" --body "Guardrail validation failed. Human review is r
equired."
        env:
          GH_TOKEN: ${{ github.token }}
          PR_NUMBER: ${{ github.event.pull_request.number }}

Choose an answer

Tap an option to check your answer.

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
✓ Verified by ExamRoll editorial · Updated 15 July 2026
All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product