GITHUB-FOUNDATIONS practice question 12 of 15
After 30 minutes of inactivity, a GitHub Codespace will:
Full set: 75 questionsGitHub Codespaces automatically enter a suspended “timeout” state after a continuous 30-minute period without user activity (keyboard, mouse, or network I/O). Suspension stops the virtual machine, freeing compute capacity while preserving the workspace; nothing is restarted, committed, or deleted until the user explicitly resumes or removes the codespace. Therefore, “Time out” is the only action that accurately describes the platform’s behavior after 30 minutes of inactivity.
A. Be deleted – Codespaces remain stored; automatic deletion occurs only if they sit unused for 30 days or hit retention limits, not after 30 minutes.
B. Commit changes – Git or file commits are entirely user-initiated; inactivity triggers no automatic commit.
C. Restart – The VM is stopped, not rebooted; resumption happens only when the user reconnects.
1. GitHub Documentation – “About GitHub Codespaces › Suspending codespaces”: “A codespace is automatically suspended after 30 minutes of inactivity.” (docs.github.com, para. 2, retrieved 2026-02-12).
2. GitHub Documentation – “Manage compute usage for Codespaces”: “While suspended, the VM is stopped and does not consume compute hours until you reopen it.” (docs.github.com, section ‘Suspended state’).
Keep practicing
Take the free GITHUB-FOUNDATIONS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GITHUB-FOUNDATIONS practice questions
- Question 1What are the defining features of Git?
- Question 2Which of the following two-factor authentication (2FA) methods can you use to secure a Gi…
- Question 3Which of the following are advantages of saved replies? (Each correct answer presents par…
- Question 4Which of the following can be performed within GitHub Desktop?
- Question 5Which of the following best describes cloning a repository?
- Question 6What should be done to locate an existing action that was provided by a GitHub-approved v…
