exam questions

Exam Magento 2 Certified Associate Developer All Questions

View all questions & answers for the Magento 2 Certified Associate Developer exam

Exam Magento 2 Certified Associate Developer topic 1 question 73 discussion

Actual exam question from Magento's Magento 2 Certified Associate Developer
Question #: 73
Topic #: 1
[All Magento 2 Certified Associate Developer Questions]

You have added a new attribute origin of the type varchar to the product entity.
Which two calls will filter a product collection with origin set to `California`? (Choose two.)

  • A. $collection->addFieldToFilter('origin', ג€Californiaג€);
  • B. $collection->addAttributeToSelect('origin', ג€Californiaג€);
  • C. $collection->joinAttribute('origin', 'catalog_product/origin', 'origin', 'Californiaג€);
  • D. $collection->addAttributeToFilter('origin', ג€Californiaג€);
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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