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 17 Discussion

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

Elroy
3 months ago
I'm just glad there's no 'bin/magento setup:downgrade' option here. That would be a real zero-downtime challenge!
upvoted 0 times
...
Cherry
3 months ago
Wait, there's a 'zero_down_time' flag? That's genius! Definitely going with E along with C for a smooth deployment.
upvoted 0 times
Raul
2 months ago
User 3: Absolutely, those two steps will ensure zero downtime during the deployment process.
upvoted 0 times
...
Casie
2 months ago
User 2: I agree, it's a genius feature. Running 'bin/magento setup:upgrade --keep-generated' is also important.
upvoted 0 times
...
Sanda
3 months ago
User 1: Yes, enabling the 'zero_down_time' flag is a great idea.
upvoted 0 times
...
...
Lyndia
3 months ago
Hmm, D seems a bit too risky with the '--convert-old-scripts-true' flag. I'd rather stick to the more conservative approach of C and E.
upvoted 0 times
...
Erick
3 months ago
I'm not sure about the blue-green deployment option (A). Isn't that more for cloud-based deployments? I'd go with C and E to be safe.
upvoted 0 times
...
Paulene
3 months ago
Option C looks like the right choice to me. Upgrading the database with --keep-generated should help maintain zero downtime.
upvoted 0 times
Desmond
2 months ago
I agree, enabling the config flag under developer/zero_down_time/enabled is also important to ensure zero downtime during deployment.
upvoted 0 times
...
Valentin
2 months ago
User 3: Yeah, option C seems like the most reliable choice for the Adobe Commerce Architect to follow.
upvoted 0 times
...
Evangelina
2 months ago
Option C looks like the right choice to me. Upgrading the database with --keep-generated should help maintain zero downtime.
upvoted 0 times
...
Norah
2 months ago
User 2: I agree, that sounds like the best approach to ensure zero downtime during deployment.
upvoted 0 times
...
Felix
2 months ago
I agree, enabling the config flag under deployement/blue_green/enabled is also important to ensure zero downtime.
upvoted 0 times
...
Karima
3 months ago
User 1: I think option C is the way to go. Upgrading the database with --keep-generated should help maintain zero downtime.
upvoted 0 times
...
Novella
3 months ago
Option C looks like the right choice to me. Upgrading the database with --keep-generated should help maintain zero downtime.
upvoted 0 times
...
Camellia
3 months ago
User 2: I agree, that sounds like the best approach to ensure zero downtime during deployment.
upvoted 0 times
...
Tiera
3 months ago
User 1: I think option C is the way to go. Upgrading the database with --keep-generated should help maintain zero downtime.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77