Practice Repository Management Questions Now
Start a timed practice session focusing on Repository Administration topics from the GH-ADMIN question bank.
Start GH-ADMIN Practice Quiz →GH-ADMIN Repository Management Question Bank (7 Questions)
Browse all 7 practice questions covering Repository Administration for the GH-ADMIN certification exam. Each question includes the full answer and a detailed explanation to help you understand the concepts.
- Question 1Enable Secure Development and Compliance
What happens when a GitHub repository is archived?
Show Answer & Explanation
Correct Answer: BExplanation:Archiving a repository makes it read-only. The code, issues, and PRs are preserved but no new changes can be made.
- Question 2Manage GitHub at Scale
What is the purpose of repository templates in GitHub?
Show Answer & Explanation
Correct Answer: BExplanation:Repository templates allow creating new repositories pre-populated with files, directories, and configurations, ensuring consistent project setup across an organization.
- Question 3Manage GitHub at Scale
What are repository rulesets?
Show Answer & Explanation
Correct Answer: BExplanation:Rulesets: successor to branch protection rules. Support: organization-wide application, multiple rulesets per branch, bypass actors, creation/update/deletion restrictions, status checks, commit signing, and merge requirements. More flexible and scalable.
- Question 4Manage GitHub at Scale
How do you implement a repository template strategy?
Show Answer & Explanation
Correct Answer: BExplanation:Template strategy: create per-type templates (Node API, React app, Python package) with: .github/workflows, linting config, README template, CODEOWNERS, security policy, .gitignore, and devcontainer.json — standardizing project creation.
- Question 5Manage GitHub at Scale
What are repository templates and their governance benefits?
Show Answer & Explanation
Correct Answer: BExplanation:Template governance: include required files (README template, LICENSE, CONTRIBUTING.md, SECURITY.md, CODEOWNERS, .github/workflows/ci.yml, .gitignore). Benefits: consistent standards, security-by-default (CI/CD, code scanning), compliance (license, security policy), and reduced onboarding time. Org policy: recommend or require template use for new repos. Automation: probot or GitHub App to check new repos against standards.
- Question 6Manage Repository Security
What are repository rulesets at the org level?
Show Answer & Explanation
Correct Answer: BExplanation:Org rulesets: org Settings > Rulesets. Target: repos by name pattern (include/exclude), branches, and tags. Rules: require PR, require reviews, require status checks, block force push, require signatures, restrict creation/deletion. Bypass: teams, roles, or GitHub Apps. Enforcement: Active (enforce), Evaluate (audit mode — see what would be enforced), Disabled. Benefits: centralized governance without configuring each repo individually.
- Question 7Manage GitHub at Scale
What are repository templates?
Show Answer & Explanation
Correct Answer: BExplanation:Templates: Settings > Template repository checkbox. Create from: 'Use this template' button → new repo with same files (not same git history). Include: all branches (optional), directory structure, workflow files, configuration, and documentation. Use for: organization standards (CI/CD template, security config, CODEOWNERS, issue templates), microservice starter, and consistent project structure. Not included: git history, contributors, stars, and watchers. Alternative: GitHub CLI 'gh repo create --template'.
Key Repository Management Concepts for GH-ADMIN
GH-ADMIN Repository Management Exam Tips
Repository Administration questions in GH-ADMIN are typically scenario-based. Focus on service-level decision making aligned to official exam objectives. Priority concepts: repository, branch protection, rulesets, webhooks, template, archive.
What GH-ADMIN Expects
- Anchor your answer in select the most practical, secure, and scalable answer for the stated scenario.
- Repository Management scenarios for GH-ADMIN are frequently mapped to Domain 2 (20%), so read the objective carefully before picking controls or architecture.
- Expect multi-service scenarios where Repository Management interacts with IAM, networking, storage, or observability patterns rather than appearing as an isolated service question.
- When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Intermediate) and managed-service best practices.
High-Value Repository Management Concepts
- Know the core Repository Management building blocks cold: repository, branch protection, rulesets, webhooks.
- Review the edge-case features and limits for template, archive; these details are commonly used to differentiate answer choices.
- Practice service-integration reasoning: how Repository Management pairs with Organization Management, Security in real deployment patterns.
- For GH-ADMIN, explain why the chosen Repository Management design meets reliability, security, and cost expectations better than the alternatives.
Common GH-ADMIN Traps
- Watch for answers that partially solve the requirement but miss operational constraints.
- Questions in Manage User Identities and Access often include distractors that look correct for Repository Management but violate least-privilege, durability, or availability requirements.
- Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
- If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.
Fast Review Checklist
- Can you compare at least two Repository Management implementation paths and justify which one best fits the scenario?
- Can you map the chosen answer back to Manage User Identities and Access (20%) outcomes for GH-ADMIN?
- Can you explain security and access boundaries for Repository Management without relying on default-open assumptions?
- Can you describe how Repository Management integrates with Organization Management and Security during failure, scaling, and monitoring events?