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

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

A merchant tasked you to add an input field for notes to the Customer Account Information backend page.
Which three actions do you specify in a module's Data Patch to add a customer notes attribute? (Choose three.)

  • A. $cache->clean(['eav', 'db_ddl']);
  • B. $customerSetup->addAttribute('customer', 'notes', $options);
  • C. $customerSetup->getConnection()->addColumn('customer_entity', 'notes', $columnSpecs);
  • D. $notesAttribute->setData('used_in_forms', ['adminhtml_customer']);
  • E. $customerSetup->addAttributeToSet('customer', $attributeSetIdCustomer, $groupId, 'notes');
Show Suggested Answer Hide Answer
Suggested Answer: ABD 🗳️

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