GITHUB-FOUNDATIONS practice question 9 of 15
Which of the following steps are part of the Codespaces lifecycle? (Each answer presents a complete solution. Choose three.)
Full set: 75 questionsGitHub designates specific management actions as the formal “lifecycle” of a Codespace. The GitHub Docs list those actions as: create, stop, restart, rebuild, and delete. Therefore, “Create” (F), “Rebuild” (C), and “Delete” (E) are lifecycle steps. “Commit,” “Clone,” “Rollback,” and “Install” are not mentioned in the lifecycle list— they are general Git or environment operations, not Codespaces-lifecycle events.
A. Commit – Git operation; not enumerated among Codespaces lifecycle actions.
B. Clone – Optional feature to copy a repo locally; not a lifecycle phase.
D. Rollback – No “rollback” action exists in Codespaces management commands.
G. Install – Refers to software setup inside the dev-container, not a lifecycle step.
1. GitHub Documentation – “About GitHub Codespaces,” section “Codespace lifecycle.” https://docs.github.com/en/codespaces/about-codespaces#codespace-lifecycle
2. GitHub Documentation – “Rebuilding a codespace,” Steps 1-3 (confirms rebuild is lifecycle action). https://docs.github.com/en/codespaces/customizing-your-codespace/rebuilding-a-codespace
3. GitHub Documentation – “Deleting a codespace,” Introduction paragraph (delete is lifecycle action). https://docs.github.com/en/codespaces/managing-your-codespaces/deleting-a-codespace
4. GitHub Documentation – “Creating a codespace,” Overview (create is lifecycle action). https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/creating-a-codespace
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…
