Which Adobe Commerce table stores all cron data?
Correct Answer:C
The Adobe Commerce table that stores all cron job data iscron_schedule. This table maintains records of all scheduled cron tasks, including their statuses, execution times, and any messages related to their execution. It plays a central role in Magento's scheduling system, allowing for themanagement and monitoring of background tasks that are essential for various system functions and integrations.
An Adobe Commerce developer wants to create a product EAV attribute programmatically which should appear as WYSIWYG in the admin panel. They have made sure that wysiwyg_enabled has been set to true, however, the attribute is not appearing as WYSIWYG in the admin panel.
What would be a possible reason?
Correct Answer:C
Theinput_typeattribute of a product EAV attribute specifies the type of input field that will be used to enter the value of the attribute in the admin panel. Thetextareainput type is used for WYSIWYG fields. If theinput_typeattribute is not set totextarea, then the attribute will not appear as WYSIWYG in the admin panel.
To fix this, the developer should set theinput_typeattribute totextarea.
A merchant of an Adobe Commerce Cloud project wants to setup one of their websites using a subdomain. The merchant is considering the domain to be set as secondstore.example.com.
In addition to editing the magento-vars.php file, and apply a domain check and set
$_SERVER["MAGE_RUN_CODE"] and $_SERVER["MAGE_RUN_TYPE"].
What file is required to perform this action?
Correct Answer:C
In Adobe Commerce Cloud, routing configurations for custom domains and subdomains are managed within the .magento/routes.yaml file. This file defines how requests are directed to the application and is essential for setting up different stores or websites with unique subdomains.
✑ Using .magento/routes.yaml for Subdomain Configuration:
✑ uk.co.certification.simulator.questionpool.PList@277b7595
✑ Why Option C is Correct:
✑ Example Configuration: http://secondstore.example.com/: type: upstream
upstream: "mymagento:80"
:
Adobe Commerce Cloud documentation onConfiguring routes.yaml
Which two attribute input types can be used for a date? (Choose two.)
Correct Answer:CD
The two attribute input types that can be used for a date are Date and Time and Date. These input types allow the user to select a date or a date and time from a calendar widget.
The Timezone and Schedule input types do not exist in Adobe Commerce. Verified References: [Adobe Commerce User Guide - Create a product attribute]
In Magento, attribute input types define the type of data an attribute can hold and how it should be inputted or displayed in the UI. For dates, Magento provides specific input types to handle date-related data efficiently. The "Date" input type is used for attributes that require only a date, without a time component, suitable for birthdays, anniversaries, or any date-specific information. The "Date and Time" input type, on the other hand, includes both date and time components, ideal for events, promotions, or any scenario where the time of day is relevant. These input types ensure data consistency and provide a user-friendly
interface for selecting dates and times.
A developer needs to initialize the jQuery Ul widget for a specific HTML tag. Which HTML attribute is used for this?
Correct Answer:B
The data-mage-init HTML attribute is used to initialize the jQuery UI widget for a specific HTML tag. This attribute specifies the name of the widget and its configuration options as a JSON object.
The x-magento-init HTML attribute is used to initialize RequireJS modules for a specific HTML tag. The data-ui HTML attribute does not exist in Adobe Commerce.
Verified References: [Adobe Commerce Developer Guide - Initialize JavaScript components using the data-mage-init attribute]
To initialize the jQuery UI widget in Adobe Commerce, thedata-mage-initattribute is used in the HTML tag. This attribute allows specifying the widget's component and its configuration in a JSON format. Thex-magento-initis used for initializing JavaScript components in a similar manner but is typically used within<script>tags. There's no
standarddata-uiattribute used for this purpose in Magento 2.