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.
Configure a brand-new endpoint in the managed API service, directing a copy of incoming requests to the updated backend version for testing.
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.
Modify the service's environment properties to point to the new version, which will transparently divert the traffic.
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 canary deployment?
Open an interactive chat with Bash
What is progressive traffic shifting in AWS?
Open an interactive chat with Bash
What is observability in the context of software deployments?
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...
IT & Cybersecurity Package Join Premium for Full Access