Search for:
01s Agency
Please answer each of the questions below to the best of your knowledge. Thank you.
Instagram
This field is for validation purposes and should be left unchanged.
Date
MM slash DD slash YYYY
Name
(Required)
First
Last
Email
(Required)
Upwork / Freelancer / Malt / etc... profile link
(Required)
Test begins...
Magento Commerce Cloud ----------defines how to build and deploy Magento, including services, hooks, cron jobs, and more.
app/etc/config.php
.magento.env.yaml
.magento.app.yaml
.magento/routes.yaml
Which method is responsible for a full re-index in the abstract Magento indexer?
reindex()
processIndex()
fullReindex()
processEvent()
reindexAll()
3 main reasons product won't show on Category page?
SKU, Price, Description
Availablity, Status, Visibility
Availability,Status,SKU
Price,Status,Visibility
You are creating a new indexer which must run after the targetrule_product_rule index process. When you run bin/magento indexer:reindex, your rule always runs first creating inaccurate data. What is the resolution?
Create a bash script to execute each indexer in the correct order
Specify the sortOrder in your indexer configuration
Use a dependencies node in your indexer configuration
Use a plugin on the IndexManager class to change load order
When writing a Magento module which of these files are you likely to create first?
Block/Template.php
etc/config.xml
Helper/Data.php
controllers/IndexController.php
7. You have found an issue in a Magento Commerce core module. There is a working resolution in the github.com repository, but it is not yet available in a Magento release. What do you do to apply the fix?
Add github.com/magento/magento2 as an upstream repository, then fetch and cherry pick the git commits related to the fix.
Add a patch for the required changes to the m2-hotfixes/ directory
Add github.com/magento/magento2 as an upstream repository, then fetch and cherry pick the git commits related to the fix
Clone the github.com/magento/magento2 repository and copy the affected module to your project in app/code
What does ORM stand for in Magento?
Objective Relative Mapping
Objective Resource Mapping
Object Relational Mapping
Object Relation Maps
Optional Relational Mapping
When displaying a URL inside an anchor tag (<a>), which function should be used to escape the URL before displaying it?
esc_html()
attribute_escape()
esc_js()
esc_attr()
esc_url()
When an order is placed by Credit Card, when does the payment gateway capture the money?
When the shipment email gets sent
Upon Invoice
When Customer Enters the Payment Information
Upon Shipment
Which one of the following is a possible return value type of Mage::getConfig()--getNode()?
Object
Array
String
Integer
Which XML layout handle is used to assign layout configurations to all pages of a store?
Base
Root
All
Default
What are the best settings for folders security in UNIX / WP environment ?
444
644
664
666
You are creating a module that will be sold on the Magento Marketplace. You wish for this module to be easily extensible, and decide to add the capability for other developers to utilize extension attributes. What is the minimum update necessary to enable this capability?
Add the getAttributeExtensions() method and implement ExtensionAttributesInterface in each model
Configure your models in etc/extension_attributes.xml
Create a ExtensionAttributeInterface for each model
Ensure each model extends Magento\Framework\Model\AbstractExtensibleModel
Magento have _ _ _ _ design patterns
8
12
11
10
In your phtml template file you need to output a URL inside a JavaScript context. var url = '<?= /* code here */ ?>'; Which two methods allow you to keep the output XSS-safe?
escapeJs
escapeHtml
escapeUrl
escapeHtmlAttr
How many types of routers does Magento 2 have in frontend?
5
1
3
4
Which of the following methods can be used to make SEO friendly permalinks?
Configuring the feature in the config file
Configuring the feature in the admin settings
Changing the source code
Updating the database
Which tag do you use to define a class will be substituted for an interface?
class
define
preference
type
What is the correct way to add css and js in magento page?
These cannot be added at all
These can be added in layout xml file where css and js files can be added in head reference
These can be added in PHP block files
These can be added directly in phtml files where they are needed
Which of the following set of required fields must be provided before the simple product record can be stored?
Special Price
URL Key
Fl Status
Short description
Name
You want to figure out which phtml-files are rendering in the front end. Which developer tool helps you do that?
Block Class Names
Profiler
Template Path Hints
Exception.log
When designing for mobile devices, it is best to:
Use fixed measurements to accommodate the smaller screens
Not specify measurements because there are so many different models and sizes
Use percentage measurements for formatting to adjust dynamically
What is default value of cookie lifetime
60
0
3600
48810
1800
Which XML layout handle is used to assign layout configurations to all pages of a store?
Root
All
Default
Base
What is the purpose of a Grouped Product?
None of these
It is a feature to limit the amount of traffic to a specific product
It allows a group of people to purchase a product at the same time
It offers a simple way to add multiple related products to the Shopping Cart
Which code snippet is used to show one category on your front page?
{{block ="catalog/product_list" name="home.catalog.list" alias="homepage"catalog/product/list.phtml"}}
{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" category_id="4" template="catalog/product/list.phtml"}}
{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}
{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}
When should you edit files in the base template?
Never
When there is an svn or git conflict on your files
When you inherit a project from another developer
When the file does not exist in the theme template
Magento theme is stored in _ _ _ _ in the Magento file system
Both App/Design Directory and Skin Directory
Skin Directory
App/Design Directory
None of The Above
How many fallback steps are provided by Magento?
1
3
4
2
The __________ holds the whole product configuration and is used as a compact record to move a product from one list to another.
HoldRequest
BuyRequest
SellRequest
Stop Request
What is the difference between a simple product type and a virtual product type?
Virtual Products cannot have a price associated to them
Virtual Products can't be sold in the US
Simple products have less complex data containers
Simples can hold inventory, virtual products cannot
Which code snippet is used to show products labeled as "new" on your front page?
{{block ="catalog/product_list" name="home.catalog.list" alias="homepage"catalog/product/list.phtml"}}
{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}
{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" category_id="4" template="catalog/product/list.phtml"}}
{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}
Where is the css and javascript file of your custom theme kept?
skin/frontend/default/base
design/frontend/default/base
skin/frontend/default/your_theme
design/frontend/default/your_theme
In Which language Magento is written?
PHP
Python
Lisp
Java
What are the best settings for files security in UNIX / WP environment ?
555
755
557
775
How do you get current time zone in magento website?
Mage::getTime('general/locale/timezone')
Mage::getTimeZone('general/locale/time')
Mage::getStoreTime('general/locale/timezone')
Mage::getStoreConfig('general/locale/timezone')
You are exploring the customer segment module and find this code in frontend/di.xml: <type name="Magento\Framework\View\Layout"> <plugin name="customer-segment-session-depersonalize" type= "Magento\CustomerSegment\Model\Layout\DepersonalizePlugin" sortOrder="15"/> </type> What effect does this plugin have for customer segments?
It cleans the intermediate data of the segment-website and the segment-customer mapping in the tables to improve performance
It passes the segment information to the HttpContext from the customer session
It passes the segment information to the Knockout JS model from the customer session
It cleans the segment and customer related entities from the session
How are themes grouped together into design packages?
Related
Randomly
Unrelated
Logically
For items where inventory is not tracked, what is the setting to shut inventory management off?
Manage Stock, under Inventory section
Set the price to 0
Category Management, under the Catalog Menu
Set the order increment to 0
You want to figure out which phtml-files are rendering in the front end. Which developer tool helps you do that?
Exception.log
Template Path Hints
Block Class Names
Profiler
Which one of the following is a possible return value type of Mage::getConfig()--getNode()?
Object
String
Integer
Array
It is possible to integrate multiple domain with different store in single Magento installation
True
False
What is the setting that determines that an attribute value will show on the product page?
The Visible on Product View Page on Front-end
Used for layer navigation
Scope
Store Label
True or False: Products URL can be created manually.
False
True
What is the rule for working with Magento's base package?
Do NOT edit the files in the base package.
Both of these
Do NOT create a custom theme inside of the base package.
Which of the following will hash a string/password to its md5 equivalent?
md5()
wp_generate_md5()
password_md5()
wp_generate_password()
ln Magento. how can you create a category layered navigation for an active category from the Magentc backend?
Set is Anchor' property of category to 'Yes'
Set is Active' property of category to 'Yes'
Set 'Display Mode' property of category to 'Static block only‘
5. There are two statements S1 and S2. • S1: In a single Magento installation, you may connect numerous domains to different stores. • S2: In Magento, you can manually generate product URLs. Which is the correct option for the above two statements?
Only S2 is true
Both S1 and S2 are true
Both S1 and S2 are false
Only S1 is true
Which design pattern is not present in Magento?
Model View Controller (MVC) Pattern
All of the above are present
Singleton Design Pattern
Factory Design Pattern
Paypal raised the cost of processing credit cards. Where do you go to remove Paypal as a payment choice?
CMS Static Block Management
Paypal website, under My Account
Magento Caching Engine
The Payment Methods section of the System Configuration
Comments.?
If you have anything to add, please write it here...