0
0
Nginxdevops~5 mins

Canary deployments in Nginx - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a canary deployment?
A canary deployment is a way to release new software to a small group of users first. It helps check if the new version works well before giving it to everyone.
Click to reveal answer
beginner
How does NGINX help with canary deployments?
NGINX can send some user requests to the new version of the app and the rest to the old version. This way, it controls who sees the new release.
Click to reveal answer
beginner
What is the main benefit of using canary deployments?
It reduces risk by testing new changes on a small group first. If problems happen, only a few users are affected, and fixes can be made quickly.
Click to reveal answer
intermediate
In NGINX, which directive can be used to split traffic for canary deployments?
The 'split_clients' directive can divide users into groups to send some to the new version and others to the old one.
Click to reveal answer
intermediate
What is a common way to decide which users get the new version in a canary deployment?
Users can be split by a percentage, like 5% get the new version and 95% get the old one. This is often done using cookies or IP hashing.
Click to reveal answer
What is the main goal of a canary deployment?
AIgnore user feedback
BTest new software on a small user group first
CRemove old software immediately
DDeploy software to all users at once
Which NGINX directive helps split traffic for canary deployments?
Alisten
Bproxy_pass
Csplit_clients
Dserver_name
In canary deployments, what percentage of users usually get the new version first?
A100%
B0%
C50%
DA small percentage like 5%
Why is canary deployment safer than deploying to all users at once?
AIt tests changes on a small group to catch problems early
BIt ignores errors
CIt forces all users to update immediately
DIt removes old versions instantly
Which method can NGINX use to decide which users see the new version?
ARandom selection with split_clients
BAlways send all users to new version
CSend users based on browser type
DSend users based on screen size
Explain how NGINX can be configured to perform a canary deployment.
Think about how to split users and send requests to different servers.
You got /4 concepts.
    Describe the benefits of using canary deployments in software release.
    Consider what happens if new software has problems.
    You got /4 concepts.