Flashcardsfor IT Certifications

D2: Running Agents in CI & the CLI

GH-600 GitHub Agentic AI Developer exam practice questions · 10 flashcards

Question
Copilot CLI programmatic mode?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Running Agents in CI & the CLI practice questions and answers
  1. Copilot CLI programmatic mode?
    copilot -p "task" with --allow-tool flags for non-interactive use.
  2. Running agents in GitHub Actions?
    Install CLI in workflow, authenticate with token, run task, commit/PR results.
  3. Auth for CLI in CI?
    Token with Copilot permissions via secret (e.g. fine-grained PAT/GitHub App).
  4. Agent-triggered PRs from CI?
    Use gh pr create with scoped token.
  5. Constraining CI agents?
    Explicit allow-listed tools, permissions:, timeouts.
  6. Scheduled agent jobs?
    on: schedule for routine tasks (dependency triage, docs refresh).
  7. Reviewing CI agent output?
    Artifacts, job summaries, PRs.
  8. Environment-specific constraints in CI?
    Runner OS, network egress, secrets availability per environment.
  9. Event-triggered agents?
    issues labeled, PR comments, workflow_dispatch.
  10. Scenario: nightly agent summarizes failing tests into an issue. Implementation?
    Scheduled workflow running Copilot CLI with limited tools and gh issue create.