Soru

Zorluk: OrtaDeployment Strategies

A company runs a critical web application on AWS Elastic Beanstalk. The application must maintain 100%100\% of its capacity to handle peak traffic during updates. Additionally, if the new version fails post-deployment, the developer must be able to roll back to the previous version immediately with minimal service impact and without triggering a new application deployment.

Which two Elastic Beanstalk deployment strategies meet these requirements? (Select TWO).

  1. Blue/Green deploymentCevap
  2. Immutable deploymentCevap
  3. C
    Rolling with additional batch deployment
  4. D
    Rolling deployment
  5. E
    All-at-once deployment

Cevap

Blue/Green deployment and Immutable deployment
Blue/Green deployment and Immutable deployment are correct because both strategies keep the original, healthy application instances running at 100%100\% capacity while the new version is deployed and verified. In Blue/Green, a CNAME swap directs traffic to the new environment, and rolling back is as simple as swapping CNAMEs back. In Immutable, a temporary Auto Scaling group is created, and if the deployment fails, the temporary instances are terminated, instantly reverting traffic to the original instances without needing a new deployment.

Adım Adım Çözüm

1
Analyze the capacity requirement.
Since the application must maintain 100%100\% capacity, strategies that take existing instances offline without first adding capacity (such as Rolling and All-at-once) are ruled out.
To identify strategies that prevent latency spikes under peak load.
2
Analyze the rollback requirement.
The requirement specifies rollback without triggering a new deployment. In-place strategies (like Rolling with additional batch) require deploying the old version package again. Only strategies that keep the old environment/instances completely intact (Blue/Green and Immutable) support immediate rollback by swapping CNAMEs or terminating the new Auto Scaling group.
To identify strategies that avoid the overhead and time of redeploying the previous version in a failure scenario.

Anahtar Kavram

Elastic Beanstalk deployment strategies and their trade-offs regarding capacity and rollback mechanics.
Tahmini Süre:1m 30s
Bu soruyu puanla