A merchant tasks you to keep sales managers out of the system configuration backend pages.
How do you do that using the admin interface?
A. You remove access to the restricted pages from each user's ACL settings
B. You create a role with limited permissions and assign all sales manager users to the new role
C. This is not possible in a native Magento instance and requires customization
D. You create a role with access to the system configuration pages and assign it to all users except the sales managers
You need to add a new column to the sales_shipment and the sales_shipment_grid tables. Other than utilizing the default addColumn methods, what way is automatic?
A. Utilize the SalesSetup class' addAttribute method.
B. On the default EavSetup class, utilize the addColumn method.
C. On the ModuleDataSetupInterface, call $setup->getSales()->addColumn().
D. Ensure your UpgradeSchema class extends CoreSetup and call $this- >addSalesColumns().
You are updating a module to add extra functionality to the Magento application, Where would Magento look for modules?
A. app/code/VendorName/ModuleName
B. vendor/vendor-name/module-name
C. app/vendor/vendor-name/module-name
D. lib/vendor-name/module-name
You are building CLI that use the console to create a customer account with our custom command as like
php bin/magento customer:user:create --customer-firstname="Mahin" --customer- lastname="Rahman" -customer-email="mahin@example.com" --customer- password="mahin@123" --website="1"
using: protected function configure() { $this->setName('customer:user:create') - >setDescription('Create new customer') ->setDefinition($this->getOptionsList()); } protected function getOptionsList(){ return [------------------]; }
Which below Option are not required in blank? (Choose 2)
A. new InputOption(Customer::KEY_SENDEMAIL, 0, InputOption::VALUE_OPTIONAL, '(1/0) Send email? (default 0)')
B. new InputOption(Customer::KEY_STORE, null, InputOption::VALUE_REQUIRED, '(Required) Store ID'),
C. new InputOption(Customer::KEY_PASSWORD, null, InputOption::VALUE_REQUIRED, '(Required) Customer password'),
D. new InputOption(Customer::KEY_EMAIL, null, InputOption::VALUE_REQUIRED, '(Required) Customer email'),
E. new InputOption(Customer::KEY_LASTNAME, null, InputOption::VALUE_REQUIRED, '(Required) Customer last name'),
F. new InputOption(Customer::KEY_FIRSTNAME, null, InputOption::VALUE_REQUIRED, '(Required) Customer first name'),
G. new InputOption(Customer::KEY_WEBSITE, null, InputOption::VALUE_REQUIRED, '(Required) Website ID'),
How do you add a new link into the My Account sidebar?
A. By creating a new UI component
B. By creating a child of the My Account UI component
C. By adding the new section into the customer_account table in the database
D. By using a layout update
You have created a module with a custom ACL resource and want to restrict access to resources of your module.
Which three items are restricted based on ACL role permissions? (Choose three.)
A. CLI Commands
B. Webapi resources
C. Storefront login
D. System configuration sections
E. Adminhtml controllers
Which entity in Magento supports scoped attributes?
A. Customer
B. CMS Page
C. Category
D. Customer Address
A client has asked you to include category url keys in product URLs.
How is this done?
A. Create an observer for controller_action_postdispatch_catalog_product_view
B. This is not possible because products can belong to multiple categories
C. Set the configuration value of catalog/seo/product_use_categories to Yes
D. Create an after plugin on \Magento\UrlRewrite\Controller\Router::generateRewrite
A module you are working on needs to send a newsletter to all subscribed customers at predefined intervals.
Which two actions do you take to make sure the newsletter is sent? (Choose two.)
A. Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/ di.xml
B. Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/.xml
C. Make sure bin/magento cron:run is added to the system crontab
D. Register the plugin for \Magento\Customer\Model\Customer::authenticate in etc/crontab.xml
Assume that a customer's cart only includes one downloadable product.
What effect will it cause on the quote object?
A. The quote object will have a downloadable URL instead of an address
B. The quote object will not have shipping address
C. The quote object will not have any address
D. The quote object will not have a billing address