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
What does a blue-green deployment strategy involve?
Answer: Running two identical environments and switching traffic between them
Blue-green deployment maintains two identical production environments, allowing instant traffic switching and easy rollback.
Which HTTP status code indicates a successful deployment health check?
Answer: 200
A 200 OK response from a health check endpoint confirms the service is running and accepting requests.
What is the primary purpose of a Dockerfile's ENTRYPOINT instruction?
Answer: Define the default command that runs when the container starts
ENTRYPOINT specifies the executable that runs when a container is started from the image.
What is canary deployment?
Answer: Gradually rolling out changes to a small percentage of users before full rollout
Canary deployment releases a new version to a small traffic slice first to detect issues before a full rollout.
In a CI/CD pipeline, what is the purpose of a staging environment?
Answer: To mirror production for final testing before release
Staging is a production-like environment used to validate changes in context before they reach real users.
Which command builds a Docker image from a Dockerfile in the current directory?
Answer: docker build -t myapp .
`docker build -t myapp .` builds an image tagged 'myapp' using the Dockerfile in the current directory.
What does 'infrastructure as code' (IaC) mean in deployment?
Answer: Provisioning and managing infrastructure through machine-readable configuration files
IaC means defining servers, networks, and services in versioned config files (e.g., Terraform, CloudFormation) instead of manual processes.
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