Which action, if any, should be taken to forbid Adobe Commerce Admin from performing specific actions?
Correct Answer:A
To forbid Adobe Commerce Admin from performing specific actions, a developer should create a new user role with custom-defined resources, and assign it to the admin user. This can be done by going toSystem > Permissions > Rolesand creating a new role. In theResourcessection, the developer can select the specific resources that they want to restrict the admin user from accessing.
To restrict specific actions within the Adobe Commerce Admin, the recommended approach is to utilize Magento's Access Control List (ACL). This can be done by creating a new user role with custom-defined resources and assigning this role to the admin user. This approach allows for granular control over what actions an admin user can perform by specifying allowed resources within the role. Magento's ACL system is designed to manage permissions effectively, ensuring that users only have access to the necessary functionalities required for their role.
Which file on an Adobe Commerce Cloud project allows a developer to upgrade the PHP version and enable/disable a PHP extension?
Correct Answer:B
The.magento.env.yamlfile is used on an Adobe Commerce Cloud project to customize the environment configuration, including the PHP version and enabling/disabling PHP extensions. This YAML configuration file provides the ability to manage service configurations and is essential for customizing the Cloud environment.
Which hashing algorithm will Adobe Commerce choose to hash customer passwords?
Correct Answer:B
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.
Adobe Commerce uses secure hashing algorithms for customer passwords. As of the more recent updates, Adobe Commerce defaults to using the Argon2ID13 hashing algorithm, provided that the Sodium PHP extension is available. Argon2ID is considered a secure and modern hashing algorithm designed to protect against brute-force attacks.
If the Sodium extension is not available, Adobe Commerce falls back to using SHA256, which, while secure, is not as robust as Argon2ID13.
This functionality ensures that customer data is safeguarded with the highest level of security available based on the server configuration.
Additional Resources:
✑ Adobe Commerce Developer Guide: Hashing Algorithms
✑ PHP Documentation: Argon2 and Sodium
Which action, if any, can be taken to change the URL key of the product?
Correct Answer:C
The URL key of a product is the text that is used to generate the product's URL. This text can be set by the merchant in the product admin form.
The URL key of a product in Adobe Commerce can be changed in the product admin form under the "Search Engine Optimization" fieldset. Here, the URL key can be set or edited manually, allowing for customization beyond the automatically generated value. This field is typically used to ensure that the product URL is search-engine friendly and relevant to the product.
An Adobe Commerce developer is asked to implement a 15% surcharge for all users from a 'Wholesale' customer group. Keeping best practices in mind, what is a correct to accomplish this?
Correct Answer:A
The best practice to add a surcharge in Magento is to create a custom total collector that calculates and applies the surcharge. This approach integrates smoothly with Magento??s sales and checkout processes.
✑ Total Collector for Surcharge:
✑ uk.co.certification.simulator.questionpool.PList@1f664a4e
✑ Why Option A is Correct:
: Adobe Commerce DevDocs onCustom Total Collectors Magento Sales Documentation onTotal Calculations