1

I was appeared Magento 2 Associate developer certification exam, in that I got the below tricky question, but I don't know the concept and answer of the question. can you have an idea regarding the answer and concept means kindly share your thoughts?

What will be the result of calling the save() method on a collection instance?

1.  It will save all items with one INSERT... ON DUPLICATE KEY UPDATE
    query. 
2.  It will save the select query to the cache.
3.  It will save the select query execution result into the cache. 
4.  It will loop over all items and call save() on each one.

What is the relationship between order entities and order address entities?

    1. One shipping address per unit of quantity is possible.
    2. One shipping address per line item is possible.
    3. Only one shipping address per order is possible
    4.  One shipping address per product type is possible.
1

As per my view, You can check below answer.

What is the relationship between order entities and order address entities?

Ans : It will loop over all items and call save() on each one.

What is the relationship between order entities and order address entities?

Ans : Only one shipping address per order is possible

  • Thank for your answer, But for the second question, all the first 3 options are possible by the multishipping concept. then how did you marked option3 as an answer? – senthil Jan 27 at 5:18
  • For second question, as per me "One shipping address per line item is possible." is the correct answer. Because if you enable multi-shopping, then each line item can be shipped on multiple address. – Rahul Anand Oct 15 at 8:05
  • The correct answer is One shipping address per unit of quantity is possible., here asking for the possibility of the Magento system. – Rakesh Jakhar Nov 9 at 16:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.