ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 68 - AD0-E716 discussion

Report
Export

For security reasons, merchant requested to a developer to change default admin url to a unique url for every branch/environment of their Adobe Commerce Cloud project.

Which CLI command would the developer use update the admin url?

A.
ece-tools variable:update ADMIN_URL
Answers
A.
ece-tools variable:update ADMIN_URL
B.
magento-cloud variable:set ADMIN_URL
Answers
B.
magento-cloud variable:set ADMIN_URL
C.
bin/magento adminuri:set <admin_uri>
Answers
C.
bin/magento adminuri:set <admin_uri>
Suggested answer: B

Explanation:

The CLI command that the developer would use to update the admin url is magento-cloud variable:set ADMIN_URL. This command sets an environment variable called ADMIN_URL with a custom value for the admin url on a specific environment. Environment variables are configuration settings that affect the behavior of the Adobe Commerce Cloud application and services. By setting an environment variable for ADMIN_URL, the developer can change the default admin url to a unique url for every branch/environment of their Adobe Commerce Cloud project. Verified

Reference: [Magento 2.4 DevDocs]

asked 02/10/2024
Martin Mannsbarth
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first