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

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

You are tasked with ensuring customers who log into the site are authorized. By default, this consists of ensuring the customers email and password match the values in the database. On this project, you need to verify additional data in this process.
Keeping in mind upgradeability, how is this done?

  • A. Create a before plugin for \Magento\Customer\Api\AccountManagementInterface's authenticate method
  • B. Create a mutation of a CustomerInterface object to intercept the username and password
  • C. Create an event observer for the user_save_after observer
  • D. Override \Magento\Customer\Controller\AccountController.php
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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