Download Magento 2 Certified Associate Developer.Magento-2-Certified-Associate-Developer.Train4Sure.2020-03-20.61q.vcex

Vendor: Magento
Exam Code: Magento-2-Certified-Associate-Developer
Exam Name: Magento 2 Certified Associate Developer
Date: Mar 20, 2020
File Size: 642 KB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Purchase
Coupon: EXAM_HUB

Discount: 20%

Demo Questions

Question 1
Products may be accessed using SEO friendly URLs like /my-product instead of /catalog/product/view/id/{ID} 
How is this one?
  1. An event observer adds RewriteRules to .htaccess on product save
  2. Magento\Catalog\Controller\Product\View::loadByUrlKey loads product pages using the url_key attribute value
  3. Using a URL Rewrite stored in the database connecting the request path with the target path
  4. A plugin on \Magento\UrlRewrite\Controller\Router::match loads products by the url_key attribute
Correct answer: C
Question 2
How many shipping addresses may be selected for an order during the checkout process?
  1. One shipping address per line item is possible
  2. Only one shipping address per order is possible
  3. One shipping address per unit of quantity is possible
  4. One shipping address per product type is possible
Correct answer: B
Explanation:
Reference: https://docs.magento.com/m2/ce/user_guide/sales/checkout-step1-shipping.html
Reference: https://docs.magento.com/m2/ce/user_guide/sales/checkout-step1-shipping.html
Question 3
What is the connection between product attribute sets and categories?
  1. Categories have no connection to product attribute sets, and any product can be assigned to any category
  2. Each category is linked to a single product attribute set, and only products from that attribute set are allowed in the category
  3. Each category is linked to a single product attribute set, and only products from that category’s set or any of its parent categories’ sets are allowed
  4. Categories can be connected to multiple product attribute sets, and only products from one of those sets are allowed in the category
Correct answer: D
Explanation:
Reference: https://www.cloudways.com/blog/configuring-product-attribute-sets-in-magento/
Reference: https://www.cloudways.com/blog/configuring-product-attribute-sets-in-magento/
Question 4
How can you access the select query of a collection?
  1. You can only access the select query after the collection has been loaded by calling the public method query()
  2. It is stored in a protected variable $query and can only be accessed from the inside of a collection class
  3. You can get it by using public method getSelect() which returns an instance of Magento\Framework\DB\Select
  4. The select query is not available in the collection class, it will be generated by the MySQL adapter right before executing a query
Correct answer: C
Explanation:
Reference: https://mage2.pro/t/topic/610
Reference: https://mage2.pro/t/topic/610
Question 5
You are developing a module MyCompany_StoreInfo to display information about brick and mortar stores on a frontend page. The displayed information varies based on the country of a given store. 
What two elements automatically render their children? (Choose two.)
  1. <block class=”\Magento\Framework\View\Element\AbstractBlock” name=”shop.info.details”/>
  2. <block class=”\Magento\Framework\View\Element\Template” name=”shop.info.details”/>
  3. <container name=”shop.info.details”/>
  4. <block class=”\Magento\Framework\View\Element\Text\ListText” name=”shop.info.details”/>
Correct answer: CD
Question 6
Assume that $collection is a new instance of a class that extends 
Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection, and $ids is an array of ids. 
How do you select a list of records from the database where the record ids are in the $ids list?
  1. $collection->addFieldToFilter(‘record_id’,[‘in’=>$ids]);
  2.   
  3. $collection->in($ids);
  4. $collection->filterIn($ids);
Correct answer: A
Explanation:
Reference: https://magento.stackexchange.com/questions/121040/how-to-get-product-collections-by-set-of-ids-in-magento-2
Reference: https://magento.stackexchange.com/questions/121040/how-to-get-product-collections-by-set-of-ids-in-magento-2
Question 7
While reviewing a layout file named sales_order_view.xml you notice the element 
<update handle=”customer_account”/> 
What is the purpose of this element?
  1. Replaces the customer_account handle with sales_order_view
  2. Nothing, this element has been deprecated
  3. Adds the customer_account handle to the page’s handles list
  4. Updates the current page handle to customer_account
Correct answer: C
Question 8
You have to install a new module on the production environment. All the module is adding a new product attribute. You enabled maintenance mode, copied the module code, run bin/magento setup:upgrade and disabled maintenance mode.
What two risks does this process pose? (Choose two.)
  1. It will clean all caches which will cause a performance degradation
  2. The new attribute will be invisible on the storefront until the cache is cleaned manually
  3. It will void all active sessions
  4. It will clean static assets from the pub/static folder
Correct answer: BC
Question 9
How does Magento store customer address attribute values?
  1. Customer address is a flat entity, so all values are stored in the customer_address_entity table
  2. Customer address is not an entity, so its properties are customer attributes
  3. Customer address is an attribute of the customer, so it doesn’t have its own attributes
  4. Customer address is an EAV entity, so all values are stored in the customer_address_entity table and related values tables
Correct answer: D
Question 10
You are developing a module and need to add another column to a table introduced by another module MyCompany_MyModule via db schema. 
How do you do that?
  1. Create a etc/db_schema.xml file in your module, add the column and run bin/magento setup:upgrade
  2. Create a etc/db.xml file in your module, add the column and run bin/magento setup:db-schema:upgrade
  3. Run a command: bin/magento setup:db-schema:upgrade <table> <column definition>
  4. Create a etc/db_schema_whitelist.json file in your module, add the column and run bin/magento setup:upgrade
Correct answer: C
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!