Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E722 Topic 3 Question 35 Discussion

Actual exam question for Adobe's AD0-E722 exam
Question #: 35
Topic #: 3
[All AD0-E722 Questions]

An Adobe Commerce Architect needs to ensure zero downtime during the deployment process of Adobe Commerce on-premises. Which two steps should the Architect follow? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: A, C

Option A is correct because enabling the config flag under deployment/blue_green/enabled is one of the steps to ensure zero downtime during the deployment process of Magento 2 on-premises. This flag enables the blue-green deployment feature, which allows deploying a new version of the Magento application to a separate environment (blue) without affecting the current live environment (green).Once the new version is ready, the traffic can be switched from green to blue with minimal or no downtime1.

Option C is correct because running bin/magento setup:upgrade --keep-generated is another step to ensure zero downtime during the deployment process of Magento 2 on-premises. This command updates the database schema and data without deleting the generated code and static view files.This way, the Magento application can still serve requests from the cache while the database is being upgraded2.

Option B is incorrect because running bin/magento setup:upgrade --dry-run=true does not upgrade the database, but only checks if there are any errors or conflicts in the database schema or data.This command can be used for testing purposes, but it does not affect the deployment process or the downtime3.

Option D is incorrect because there is no such option as --convert-old-scripts-true for the bin/magento setup:upgrade command. This option does not exist in Magento 2 and does not have any effect on the deployment process or the downtime.

Option E is incorrect because there is no such config flag as developer/zero_down_time/enabled in Magento 2. This flag does not exist in Magento 2 and does not have any effect on the deployment process or the downtime.


1: Blue-green deployment | Adobe Commerce Developer Guide

2: Deploy Magento to production | Adobe Commerce Developer Guide

3: Command-line installation options | Adobe Commerce Developer Guide

Contribute your Thoughts:

Kendra
6 days ago
I think both enabling the Config flag and running the setup:upgrade command are necessary for zero downtime deployment.
upvoted 0 times
...
Elden
11 days ago
I believe running bin/magento setup:upgrade --dry-run=true is also important to upgrade the database without downtime.
upvoted 0 times
...
Royal
14 days ago
I agree with Valentine, enabling the Config flag is crucial for zero downtime.
upvoted 0 times
...
Deane
17 days ago
Running a dry-run upgrade? That's like trying to change a flat tire while the car is still moving. A and E are the sensible choices here.
upvoted 0 times
...
Valentine
18 days ago
I think the Architect should enable the Config flag for zero downtime.
upvoted 0 times
...
Frank
29 days ago
Haha, 'setup:upgrad' with a typo? Someone needs to proofread these options better. A and E are the ones to pick for sure.
upvoted 0 times
...
Hobert
30 days ago
Definitely need to enable those config flags! I'm not a fan of the setup:upgrade commands, seems risky for a zero downtime deployment.
upvoted 0 times
...
Aileen
1 months ago
Hmm, I'm not sure about running the setup:upgrade command. That could potentially cause downtime, right? I'd go with A and E.
upvoted 0 times
...
Edelmira
1 months ago
I think options A and E are the way to go. The blue-green deployment and zero downtime config flags should do the trick.
upvoted 0 times
Lashawnda
9 days ago
User 2: Definitely, and don't forget to enable the zero downtime config flag as well.
upvoted 0 times
...
Kimberely
11 days ago
User 3: It's important to follow the correct steps to maintain a seamless transition without any downtime.
upvoted 0 times
...
Lenny
16 days ago
User 2: Definitely, those steps are essential to prevent any disruptions during the deployment process.
upvoted 0 times
...
Marshall
16 days ago
User 1: I agree, enabling the blue-green deployment and zero downtime config flags is crucial for ensuring zero downtime.
upvoted 0 times
...
Lezlie
23 days ago
User 1: I agree, enabling the blue-green deployment flag is crucial.
upvoted 0 times
...
...

Save Cancel