exam questions

Exam Magento Certified Professional Cloud Developer All Questions

View all questions & answers for the Magento Certified Professional Cloud Developer exam

Exam Magento Certified Professional Cloud Developer topic 1 question 18 discussion

You are updating a Magento Commerce Cloud project from version 2.2.5 to 2.3.0 with the command composer require magento/product-enterprise-edition:2.3.0
However, composer is unable to complete the task because the installed version of magento/magento-cloud-metapackage is not compatible.
How do you upgrade Magento to the desired version?

  • A. Create a new project based on magento/project-enterprise-edition:2.3.0, then add ece-tools, custom modules and themes again with composer and migrate the data
  • B. Run composer require magento/magento-cloud-metapackage:">=2.3.0 <2.3.1" --update-with-dependencies
  • C. Revert the composer.json to the last commit before the update and run the command again with the --with-dependencies argument
  • D. Remove magento/product-enterprise-edition from the root composer.json requirements and run composer update
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://devdocs.magento.com/cloud/project/ece-tools-upgrade-project.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago