AWS Certified Developer Associate DVA-C02 Practice Question
A developer needs to update an important backend service used for processing data. This service is critical, and any downtime must be avoided. The developer wants to transition the traffic gradually to observe the new behavior without disrupting the current users. What deployment technique should be applied to achieve this zero-downtime update and facilitate observability and quick rollback if issues arise?
Directly overwrite the current service code with the new update, relying on the underlying system to manage the transition seamlessly.
Modify the service's environment properties to point to the new version, which will transparently divert the traffic.
Introduce a new version of the service and leverage the progressive traffic shifting feature to incrementally route user requests, monitoring the update's stability before redirecting all traffic.
Configure a brand-new endpoint in the managed API service, directing a copy of incoming requests to the updated backend version for testing.
When updating a critical backend service such as a serverless function, it is important to have a strategy that allows for gradual transition of traffic to enable monitoring and quick rollback without affecting end-users. Utilizing the cloud provider's feature to create a new service version and update its pointer to control the percentage of traffic shift is an effective canary deployment strategy. It enables the developer to observe the new version's behavior and revert to the old version if needed. This practice ensures that any potential issues with the new version do not impact all users at once. Direct deployment without traffic control, updating configuration variables, or deploying through a new API stage would not provide the same level of control and safety for this operation.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a canary deployment?
Open an interactive chat with Bash
How does traffic shifting work in cloud deployments?
Open an interactive chat with Bash
What are the key benefits of using a canary deployment strategy?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .