Customizing Codespaces Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Development Environments

What you'll be asked

  1. Which file is primarily used to define the configuration for a GitHub Codespace, including extensions and settings?
  2. If you want to ensure that every developer on your team uses the same VS Code extensions when they open a project in a Codespace, where should you define these extensions?
  3. What is the purpose of the 'postCreateCommand' property in the devcontainer.json file?
  4. You have a project that requires a specific version of Node.js and a custom database service. Which approach is best for defining this environment in a Codespace?
  5. When using 'Features' in a devcontainer.json file, what is the primary advantage over manually installing software via a Dockerfile?

Answers and explanations come after you submit.