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 6 Question 33 Discussion

Actual exam question for Adobe's AD0-E722 exam
Question #: 33
Topic #: 6
[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:

Lyda
12 days ago
I think the key is in the 'keep-generated' flag for the setup:upgrade command. That should preserve the generated code and avoid downtime.
upvoted 0 times
Alex
7 days ago
A) Enable Config flag Under deployement/blue_green/enabled
upvoted 0 times
...
...
Harrison
23 days ago
I think running the database upgrade commands like bin/magento setup:upgrade is also important to ensure smooth deployment without any downtime.
upvoted 0 times
...
Chana
26 days ago
Ha, 'bin/magento setup:upgrad' with one 'e' at the end? I guess even the exam writers can make typos sometimes.
upvoted 0 times
Francene
4 days ago
A) Enable Config flag Under deployement/blue_green/enabled
upvoted 0 times
...
...
Hannah
28 days ago
I agree with Kirk, enabling the config flags for blue/green deployment and zero downtime is crucial for zero downtime deployment.
upvoted 0 times
...
Kiera
1 months ago
I disagree, I believe it's B and C.
upvoted 0 times
...
Joana
1 months ago
Hmm, I'm not sure about option B. Doing a dry run might not actually upgrade the database, so that wouldn't ensure zero downtime.
upvoted 0 times
Shawn
14 days ago
User 2: Yeah, we should probably focus on options A and E to ensure zero downtime during deployment.
upvoted 0 times
...
Rene
16 days ago
User 1: I think you're right, option B might not be the best choice for zero downtime.
upvoted 0 times
...
...
Kirk
1 months ago
I think the correct steps are A and E.
upvoted 0 times
...
Salina
2 months ago
Options C and E seem like the way to go. The architect needs to upgrade the database without downtime, and the zero downtime config flag should do the trick.
upvoted 0 times
Nana
28 days ago
Agreed. The zero downtime config flag should help maintain a smooth deployment process.
upvoted 0 times
...
Becky
29 days ago
That sounds like a solid plan. Upgrading the database without downtime is crucial.
upvoted 0 times
...
Darnell
1 months ago
E) Enable Config flag Under developer/zero_down_time/enabled
upvoted 0 times
...
Rebeca
1 months ago
C) Run bin/magento setup:upgrade - -keep-generated to Upgrade database
upvoted 0 times
...
...

Save Cancel