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 25 discussion

You are reviewing a third party extension for Magento Commerce Cloud compatibility.
Which pattern makes a module incompatible with Magento Commerce Cloud?

  • A. Direct instantiation by the ObjectManager of non-generated classes in .phtml template files
  • B. Direct instantiation by the ObjectManager in non-constructor methods with the class also being referenced in the constructor signature
  • C. Configuration referencing generated Proxy classes in the modules etc/frontend/di.xml file
  • D. Direct instantiation of generated classes by the ObjectManager without the class being referenced in the constructor
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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 ...