Magento Magento Certified Professional Cloud Developer Magento Certified Professional Cloud Developer Exam Online Training
Magento Magento Certified Professional Cloud Developer Online Training
The questions for Magento Certified Professional Cloud Developer were last updated at Nov 22,2024.
- Exam Code: Magento Certified Professional Cloud Developer
- Exam Name: Magento Certified Professional Cloud Developer Exam
- Certification Provider: Magento
- Latest update: Nov 22,2024
You are working with a new developer who needs to be able to deploy code and view logs on Magento Commerce Cloud.
What must you do to give them access?
- A . In the .magento.app.yaml file, add their email under Users. They need to enter their SSH public key.
- B . Add their SSH public key to a file named .ssh/authorized_keys and deploy the change.
- C . In the Cloud Project Web UI, click Add User to add their email. They need to enter their SSH public key.
- D . Add a Magento admin user for them and paste the SSH public key into their user’s SSH Key field, which is available only on Magento Commerce Cloud.
You have a Starter project. Your code is ready for testing in the Staging environment, but you need the latest data from Production.
What do you do to update the Staging environment?
- A . Log in to the Project Web UI, choose the Staging environment, and click Sync
- B . Log in to the Project Web UI, choose the Staging environment, and click Merge
- C . Checkout the Staging branch and use the git push origin -f command
- D . Checkout the Production environment and use the magento-cloud sync CLI command
You need to specify the admin password using an environment variable. You have created an environment variable env:ADMIN_PASSWORD with a valid password. When attempting to log in to the Magento Admin it is not accepting the new password.
How do you correct the environment variable?
- A . The Sensitive option is checked by default and must be disabled
- B . The env:ADMIN_PASSWORD variable can only be used for an initial installation
- C . The environment variable should not have the env: prefix
- D . The ADMIN_PASSWORD variable should be configured via .magento.env.yaml
While investigating an inherited Magento Commerce Cloud project, you notice the following SCD_MATRIX configuration in .magento.env.yaml:
stage:
global:
SCD_MATRIX:
"magento/backend":
language:
– en_US
What is the effect of this configuration?
- A . Static content for frontend themes is generated during the deploy phase
- B . All frontend theme static content will be reused from the previous deployment
- C . Only the static content for the adminhtml area will be generated
- D . Static content for all locales will be generated for all frontend themes
A project has a Magento cron job implemented to export new order data to a file. This process can also be triggered by a custom bin/magento command. The functionality uses a lock file in var/locks to prevent concurrent execution.
There are instances when the process gets locked after Production deployments and order data is not exported.
How do you prevent this from happening?
- A . Use the VAR_LOCKS_CLEAR variable available for the post_deploy stage in the .magento.env.yaml file
- B . Write a custom post_deploy hook to delete orphan lock files and include it in the .magento.app.yaml file
- C . Use the VAR_LOCKS_CLEAR variable available for the build stage in the .magento.app.yaml file
- D . You must access the Production environment and delete the lock file
While launching a site migrated from Magento 1, you are instructed to change the website CNAME record in your DNS provider by Magento for go live.
What is the purpose of setting this record?
- A . Setting this record causes sent email to be properly authenticated and not show in junk folders.
- B . Setting this record enables the page caching service for your site.
- C . Setting this record is needed on Pro to allow upsizing servers without downtime.
- D . Setting this record reduces the time it takes for customers to start seeing your Magento 2 site.
While setting up a Magento project, you run the following command:
magento-cloud variable:update ADMIN_USERNAME –value=alice
What will this command do?
- A . Configure the Magento Commerce Cloud tools to use alice for API call authentication.
- B . Change your username to alice for logging into the magento-cloud CLI tool.
- C . Update the Magento cloud/admin/username config variable to alice.
- D . Change the username of the default administrator account to alice.
Exploring the Production environment, you find MYSQL_USE_SLAVE_CONNECTION is enabled.
What is the purpose of this setting?
- A . To split the database tables between the three Production servers and improve performance.
- B . To enable fault tolerance on the MySQL cluster.
- C . To utilize the read-only slave servers and improve the overall performance.
- D . To allow database backups from a MySQL slave server with minimal impact on the Production site.
A client has an in-house design team which manages content on their Magento Commerce Cloud project. This content is rapidly changing and they would like the ability to maintain their own stylesheets in a structured way without affecting site uptime.
How do you achieve this on the Integration branch?
- A . Modify the writeable directories on the Integration Environment by using the .magento.env.yaml file.
- B . Add a custom command to the build hook in the .magento.app.yaml file to retrieve the stylesheets from a client hosted location.
- C . The Magento Infrastructure Team needs to create a writable directory in which the stylesheets can be uploaded.
- D . Use the .magento.app.yaml file to create a mount in the pub directory.
You are setting up a third-party integration only for the Production environment, which connects to an external RabbitMQ server.
Where do you put the configuration?
- A . In the app/etc/env.php file
- B . In the QUEUE_CONFIGURATION variable added in the Project Web UI or magento-cloud CLI
- C . In the env:QUEUE_CONFIGURATION variable added in the Project Web UI or magento-cloud CLI
- D . In the QUEUE_CONFIGURATION variable in the .magento.env.yaml file