Explanation In Magento, each store has its own root category, which defines the main category structure for that store1. Websites and store views do not have their own root categories, but they can share or inherit the root category of a store1.
Question 12
Which price type should be used if the developer wants to provide a discount for a product based on quantity, for example, being able to buy two for X amount each?
Correct Answer: A
Explanation Tier prices are used to provide discounts for products based on quantity. For example, you could set a tier price that allows customers to buy two products for X amount each.
Question 13
An Adobe Commerce Cloud developer wants to check the staging environment deployments history (i.e. branch, git, merge, sync). Where can the developer look up the history of the staging environment?
Correct Answer: A
Explanation The Project Web Interface is the main dashboard for managing Adobe Commerce Cloud projects. This includes the ability to check the staging environment deployments history.
Question 14
Which log file would help a developer to investigate 503 errors caused by traffic or insufficient server resources on an Adobe Commerce Cloud project?
Correct Answer: B
Explanation The access.log file stores the information about the requests and responses that occur on the web server, such as the IP address, timestamp, request URI, response code, and referer URL1. By checking the access.log file, a developer can identify the requests that resulted in 503 errors and the possible causes of those errors, such as traffic spikes, insufficient server resources, or misconfiguration1. To check the access.log file on an Adobe Commerce Cloud project, a developer can use the following command in the CLI: grep -r "\" 50 [0-9]" /path/to/access.log This command will search for any lines in the access.log file that contain a response code starting with 50, which indicates a server error1. The developer can then compare the timestamps of those lines with the exception.log and error.log files to find more details about the errors1. Alternatively, if the error has occurred in the past and the access.log file has been rotated (compressed and archived), the developer can use the following command in the CLI (Pro architecture only): zgrep "\" 50 [0-9]" /path/to/access.log.<rotation ID>.gz This command will search for any lines in the compressed access.log file that contain a response code starting with 501. The rotation ID is a number that indicates how many times the log file has been rotated. For example, access.log.1.gz is the most recent rotated log file, and access.log.10.gz is the oldest rotated log file1.
Question 15
Which CLI command should be used to determine that static content signing is enabled?
Correct Answer: C
Explanation The bin/magento config:show dev/static/sign/status CLI command can be used to determine if static content signing is enabled in Magento. If static content signing is enabled, the output of the command will include the following message: static content signing is enabled