โ† All Web Development Flashcard Decks

Deployment Flashcards

7 cards from real Web Development practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Deployment flashcards as text
  1. What is a 'smoke test' in the context of deployment?

    Answer: A quick set of basic checks to verify a deployment didn't break core functionality

    Smoke tests are lightweight sanity checks run immediately after deployment to confirm the application starts and core paths work.

  2. What is the purpose of environment-specific .env files in deployment?

    Answer: To provide environment-specific configuration values without hardcoding them in source

    .env files store configuration like database URLs and API keys per environment, keeping them out of source code.

  3. In Kubernetes, what is a 'Pod'?

    Answer: The smallest deployable unit, consisting of one or more containers sharing network and storage

    A Pod is the atomic unit in Kubernetes, wrapping one or more tightly coupled containers that share an IP address and volumes.

  4. What does 'immutable infrastructure' mean in deployment?

    Answer: Infrastructure components are never modified after deployment; they are replaced with new instances

    Immutable infrastructure replaces rather than patches servers, ensuring consistency and eliminating configuration drift.

  5. Which tool is used to define and provision multi-cloud infrastructure as code?

    Answer: Terraform

    Terraform is a provider-agnostic IaC tool that manages cloud resources across AWS, GCP, Azure, and others via declarative config files.

  6. What happens when a Kubernetes Deployment's replica count is set to 3?

    Answer: Kubernetes ensures exactly 3 identical pod instances are running at all times

    Setting replicas: 3 tells the ReplicaSet controller to maintain exactly three running pods, restarting any that fail.

  7. What is the main advantage of using a managed platform like Vercel or Heroku over self-managed servers?

    Answer: They abstract infrastructure management, handling scaling, SSL, and deployments automatically

    Managed platforms handle provisioning, scaling, and operations so developers focus on code rather than infrastructure.

How this page was made: written with AI tools. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy