Multiple Choice
You are working on a new entity called vendor. You implemented the model, resource model and collection. You want to ensure that standard model events will be fired for your model, so an observer can be created for the events vendor_save_after, vendor_save_commit_after and others. How do you do that?
A) Create an entry in etc/di.xml and add the argument eve ntPrefix with the value of vendor Create an entry in etc/di.xml and add the argument eve ntPrefix with the value of vendor
B) Declare the $_eventPrefix property in your vendor model and set it to vendor Declare the $_eventPrefix property in your vendor model and set it to
C) You must implement all appropriate methods and fire the events manually
D) Ensure that the primary key in the corresponding table is named vendor_id Ensure that the primary key in the corresponding table is named vendor_id
Correct Answer:

Verified
Correct Answer:
Verified
Q34: The module MyCompany_MyModule will add a new
Q35: You have created a custom module which
Q36: Your module adds a new controller class
Q37: While developing a module you need to
Q38: You have been given the task of
Q40: You need to add a new text
Q41: You have added a new attribute origin
Q42: You are creating a new page layout
Q43: A merchant gives you the module MyCompany_MyModule
Q44: The module MyCompany_MyModule provides custom admin interface