Find out if you're ready for AD0-E716. Take the free timed mock exam and get your score in minutes, or study the free AD0-E716 questions below with answers and explanations.
An Adobe Commerce developer has added a new configuration field to the admin area. The path for this option is general/store_information/out_of_hours_phone.
Keeping simplicity in mind, how would the developer ensure this option contains a valid US telephone number?
Show answerHide answer
Correct answer: AAdd phoneUS to the field in system.xml.
Explanation
Explanation:
According to the Magento Stack Exchange answer, system.xml is a file that defines the configuration fields for the admin area. Each field can have a validate attribute that specifies a validation rule for the field value. Magento provides some built-in validation rules, such as phoneUS, which validates a US telephone number. Therefore, to ensure that the option contains a valid US telephone number, the developer needs to add phoneUS to the field in system.xml.
Question 2Choose 1
How would a developer enable the magnification of CSS files on an Adobe Commerce Cloud Staging environment?
Show answerHide answer
Correct answer: ALocally from the command line
bin/magento config:set --lock-config dev/css/minify_files 1
Commit the app/etc/config.php file and redeploy.
Explanation
Explanation:
The developer can enable the magnification of CSS files on an Adobe Commerce Cloud Staging environment by locally running the command bin/magento config:set --lock-config dev/css/minify_files 1 from the command line. This will set the configuration value in the app/etc/config.php file and lock it from being changed in the Admin Panel. The developer then needs to commit the app/etc/config.php file and redeploy the environment.
Question 3Choose 1
Which hashing algorithm will Adobe Commerce choose to hash customer passwords?
Show answerHide answer
Correct answer: BIf the Sodium extension is installed, Argon 2ID13 will be chosen, otherwise SHA256 will be used as the Magento default hashing algorithm.
Explanation
Explanation:
If the Sodium extension is installed, Argon 2ID13 will be chosen as the Magento default hashing algorithm. Otherwise, SHA256 will be used.
The Sodium extension is a PHP extension that provides cryptographic functions. Argon 2ID13 is a password hashing algorithm that is considered to be more secure than SHA256.
If the Sodium extension is installed, Magento will use Argon 2ID13 as the default hashing algorithm for customer passwords. If the Sodium extension is not installed, Magento will use SHA256 as the default hashing algorithm.
Question 4Choose 1
An Adobe Commerce developer is being tasked with creating a new cron job to run a method that has already been written. What are the minimally required steps to accomplish this?
Show answerHide answer
Correct answer: CCreate a crontab.xmi file and set a schedule for the new cron job.
Explanation
Explanation:
According to the Configure and run cron guide for Magento 2 developers, the crontab.xmi file is used to declare and configure cron jobs for a module. The file should specify the name, instance, method and schedule of the cron job. Therefore, creating a crontab.xmi file and setting a schedule for the new cron job are the minimally required steps to accomplish this task.
Question 5Choose 1
An Adobe Commerce developer is tasked with creating a custom block that will be displayed on every page in the footer of the site.
After completing and optimizing the development, the developer notices that the block takes too much time to be generated on each page and decides to store it in the system cache after enabling it for all cache groups.
What would be the minimum requirement to achieve this?
Show answerHide answer
Correct answer: CSet values for both cache_lifetime and cache_key data properties of the block.
Explanation
Explanation:
To store a block in the system cache, the developer needs to set values for both the cache_lifetime and cache_key data properties of the block. The cache_lifetime property specifies how long the block should be cached, and the cache_key property specifies a unique identifier for the block.
The following code shows how to set the cache_lifetime and cache_key data properties of a block:
PHP
$block->setData('cache_lifetime', 600);
$block->setData('cache_key', 'my_custom_block');
Once the cache_lifetime and cache_key data properties have been set, the block will be stored in the system cache and will not be regenerated on each page load.
Question 6Choose 1
When checking the cron logs, an Adobe Commerce developer sees that the following job occurs daily: main.INFO: Cron Dob inventory_cleanup_reservations is successfully finished. However, the inventory_reservation table in the database is not emptied. Why are there records remaining in the inventory_reservation table?
Show answerHide answer
Correct answer: BOnly reservations no longer needed are removed by the cron job.
Explanation
Explanation:
The reason why there are records remaining in the inventory_reservation table is that only reservations no longer needed are removed by the cron job. The inventory_reservation table tracks the quantity of each product in each order and creates a reservation for each product when an order is placed, shipped, cancelled or refunded. The initial reservation has a negative quantity value and the subsequent reservations have positive values. When the order is complete, the sum of all reservations for the product is zero. The cron job removes only those reservations that have a zero sum from the table, leaving behind any reservations that are still needed for incomplete orders.
Question 7Choose 2
A Project Architect needs to add a new developer who needs to be able to push code in an Adobe Commerce Cloud project. No integration with a third-party repository provider is setup.
What two actions would be required to ensure the developer has access? (Choose Two.)
Show answerHide answer
Correct answer: B, CThe developer needs to add SSH public key in the Cloud Account dashboard settings.
The developer's email must be added under Users in the Cloud Project Web Ul.
Explanation
Explanation:
To ensure the developer has access to push code in an Adobe Commerce Cloud project, the developer’s email must be added under Users in the Cloud Project Web UI and the developer needs to add SSH public key in the Cloud Account dashboard settings. The Cloud Project Web UI is a web interface that allows managing and configuring Adobe Commerce Cloud projects and environments. The developer’s email must be added under Users to grant them access to the project and assign them a role and permissions. The Cloud Account dashboard settings is a web interface that allows managing and configuring Adobe Commerce Cloud accounts and SSH keys. The developer needs to add SSH public key in the settings to enable secure connection to the project and environments via SSH.
Question 8Choose 1
A developer wants to deploy a new release to the Adobe Commerce Cloud Staging environment, but first they need the latest code from Production.
What would the developer do to update the Staging environment?
Show answerHide answer
Correct answer: A1. Log in to the Project Web Interface.
2. Choose the Staging environment, and click Sync
Explanation
Explanation:
The developer can update the Staging environment with the latest code from Production by logging in to the Project Web Interface, choosing the Staging environment, and clicking Sync. This will synchronize the code, data, and media files from Production to Staging, creating an exact copy of Production on Staging. The developer can then deploy the new release to Staging and test it before pushing it to Production.
Question 9Choose 2
What are two features with Adobe Commerce Cloud that come out of the box? (Choose Two.)
Show answerHide answer
Correct answer: A, DSupport ACL
Fastly
Explanation
Explanation:
Two features that come out of the box with Adobe Commerce Cloud are Support ACL and Fastly. Support ACL is a feature that allows the developer to manage access control lists for different users and roles on the Adobe Commerce Cloud platform. The developer can create and assign permissions for different actions and resources on the project and environment levels. Fastly is a cloud-based caching service that improves site performance and security for Adobe Commerce Cloud projects. Fastly provides features such as CDN, image optimization, WAF, DDoS protection, etc.
That's the last free question
You've seen the free 30% (9 of 30 questions). Full access unlocks every question and full-length AD0-E716 mock exams (65 questions, 105 minutes), a different mock on every attempt.
Full-length mocks with the same number of questions and the same time limit as the real AD0-E716 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.