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

A repository allows Copilot coding agent to open draft pull requests for issue assignments. The team wants a validation workflow that captures failure evidence when tests fail, uploads diagnostic artifacts, and still fails the required check so maintainers cannot merge broken agent output. Which option completes the workflow?

name: validate-agent-pr

on:
  pull_request:
    branches:
      - main

permissions:
  contents: read
  pull-requests: read

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

         - name: Run test suite
           id: tests
           (Missing value 1): |
             mkdir -p diagnostics
             npm ci
             npm test 2>&1 | tee diagnostics/test-output.txt

         - name: Upload diagnostics
           if: (Missing value 2)
           uses: actions/upload-artifact@v4
           with:
             name: agent-pr-diagnostics-${{ github.event.pull_request.number }}
             path: diagnostics/
             if-no-files-found: error

         - name: Preserve failed check result
           if: steps.tests.outcome == 'failure'
           (Missing value 3): exit 1

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