nerdexam
CompTIA

CV0-002 · Question #269

A development team released a new version of an application and wants to deploy it to the cloud environment with a faster rollback and minimal downtime. Which of the following should the cloud…

The correct answer is A. Use a rolling deployment to update all the servers in the PROD cloud environment with the new. A rolling deployment is the most effective strategy to update an application with minimal downtime and enable faster rollbacks, as it updates instances in batches while keeping the application available.

Deployment

Question

A development team released a new version of an application and wants to deploy it to the cloud environment with a faster rollback and minimal downtime. Which of the following should the cloud administrator do to achieve this goal?

Options

  • AUse a rolling deployment to update all the servers in the PROD cloud environment with the new
  • BDeploy the application to the PROD cloud environment and the previous version to QA. To switch
  • CDeploy the application to a subset of servers in the environment and route traffic to these servers.
  • DDeploy the application to a staging environment and force a failover to this environment. To

How the community answered

(37 responses)
  • A
    84% (31)
  • B
    3% (1)
  • C
    8% (3)
  • D
    5% (2)

Why each option

A rolling deployment is the most effective strategy to update an application with minimal downtime and enable faster rollbacks, as it updates instances in batches while keeping the application available.

AUse a rolling deployment to update all the servers in the PROD cloud environment with the newCorrect

A rolling deployment updates application instances incrementally, allowing some servers to run the new version while others serve the previous version, ensuring continuous availability and simplifying quick rollback to the last stable version if issues arise.

BDeploy the application to the PROD cloud environment and the previous version to QA. To switch

Deploying the new version to production and the previous version to QA is not a production deployment strategy for minimizing downtime or enabling faster rollback for the production environment.

CDeploy the application to a subset of servers in the environment and route traffic to these servers.

Deploying to a subset of servers and routing traffic to them describes a canary or blue/green deployment; while beneficial for testing, a rolling deployment specifically focuses on updating all servers incrementally to ensure minimal downtime and faster rollback across the entire environment.

DDeploy the application to a staging environment and force a failover to this environment. To

Deploying to a staging environment and forcing a failover is typically a disaster recovery or pre-production testing step, not a controlled application version update strategy for minimal downtime.

Concept tested: Application deployment strategies for high availability

Source: https://learn.microsoft.com/azure/app-service/deploy-continuous-deployment?tabs=github#rolling-deployments

Topics

#rolling deployment#zero downtime deployment#application deployment#rollback strategy

Community Discussion

No community discussion yet for this question.

Full CV0-002 Practice