Oleksiy P
Test por , creado hace más de 1 año

Question from "Magento Cloud for Developers On-Demand" course

923
0
0
Oleksiy P
Creado por Oleksiy P hace casi 5 años
Cerrar

Magento 2 Cloud

Pregunta 1 de 43

1

What are 3 key benefits of the Magento Cloud production architecture? (3 of 5)

Selecciona una o más de las siguientes respuestas posibles:

  • Is limited to 1 Availability Zone

  • Guaranteed site uptime

  • Highly resilient and fault tolerant

  • Allows for zero-downtime upsizing

  • Scaling of the entire server stack rather than just the application layer

Explicación

Pregunta 2 de 43

1

What are 3 key benefits of leveraging Fastly for full page cache on Magento Cloud? (3 of 5)

Selecciona una o más de las siguientes respuestas posibles:

  • Improved response times across the globe

  • Significantly reduced load at the origin

  • Improved page load performance across the globe

  • Automatic translation of all content

  • Improved troubleshooting capabilities

Explicación

Pregunta 3 de 43

1

What are the 2 key benefits of the read-only core file system? (Pick 2)

Selecciona una o más de las siguientes respuestas posibles:

  • Core files can be easily overwritten in the production environment

  • Significantly reduces the surfaces available to attack

  • Improves website performance

  • Guarantees all changes to production environment are tracked

Explicación

Pregunta 4 de 43

1

What type of users are you able to add through the onboarding UI?

Selecciona una de las siguientes respuestas posibles:

  • Environment admin

  • Magento Admin

  • Content Manager

Explicación

Pregunta 5 de 43

1

Which of these resources can you access from the UI?

Selecciona una o más de las siguientes respuestas posibles:

  • Environment link

  • Help Center

  • DNS

  • Dev docs links

  • Google

Explicación

Pregunta 6 de 43

1

Can users access the Cloud project interface from the onboarding UI?

Selecciona una de las siguientes respuestas posibles:

  • Yes

  • No

  • Partially

Explicación

Pregunta 7 de 43

1

Who should be provided shared access under the Magento account?

Selecciona una de las siguientes respuestas posibles:

  • Any person

  • Dev team

  • Project manager

  • Person who is supposed to file tickets for the Magento account

Explicación

Pregunta 8 de 43

1

What are three main advantages of the Pro account over the Starter account?

Selecciona una o más de las siguientes respuestas posibles:

  • It runs on a shared infrastructure

  • It includes a dedicated Launch Manager

  • It combines the powerful benefits of Magento Commerce with a cloud hosting agreement for
    smaller merchants

  • It runs on an isolated and dedicated hardware setup in the underlying Infrastructure-as-a-Service

  • It has extended core features

Explicación

Pregunta 9 de 43

1

Which two actions are the most common use cases for the Integration environment?

Selecciona una o más de las siguientes respuestas posibles:

  • To develop and fix code changes

  • To test functionality of new complete modules

  • To test environment and Magento settings

  • To merge to production environment

Explicación

Pregunta 10 de 43

1

What are two key features of the Magento Cloud CLI tool?

Selecciona una o más de las siguientes respuestas posibles:

  • It helps automatically build and deploy your Cloud projects

  • It helps with Magento management and Git interactions

  • It allows you to use the hooks to run shell commands during the build, deploy, and post-deploy phases

  • It duplicates the Magento Cloud Admin UI

Explicación

Pregunta 11 de 43

1

When updating Magento Cloud specific configuration files, what folder do you find them under?

Selecciona una de las siguientes respuestas posibles:

  • .magento

  • update

  • m2-hoftixes

  • /etc

Explicación

Pregunta 12 de 43

1

What are the only writeable folders in the application root on a remote cloud project?

Selecciona una de las siguientes respuestas posibles:

  • m2-hotfixes, var, pub/static, app/etc

  • update, var, app/etc, m2-hotfixes

  • var, app/etc, pub/media, pub/static, /tmp

  • .magento, pub/media, app/etc, m2-hotfixes

Explicación

Pregunta 13 de 43

1

What is the name of the flexible toolset that is used to deploy Magento to Magento Cloud?

Selecciona una de las siguientes respuestas posibles:

  • magento-cloud-metapackage

  • ece-tools

  • magento-cloud

  • Jenkins

Explicación

Pregunta 14 de 43

1

How would you apply a patch to a package under vendor on Magento Cloud?

Solution: Place the .patch file into the m2-hotfixes folder in the project root. It will be applied automatically during the build phase (before the code is moved to a read-only mount).

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 15 de 43

1

Where is the latest sample .magento.env.yaml file stored?

Selecciona una de las siguientes respuestas posibles:

  • .magento

  • application root

  • vendor

  • update

Explicación

Pregunta 16 de 43

1

What is the limitation for a build script?

Selecciona una de las siguientes respuestas posibles:

  • A script cannot write to files

  • No connections to any service

  • Must not take more than 30 seconds systime

  • Only shell scripts can be run

Explicación

Pregunta 17 de 43

1

Which two actions can be used to retrieve connection data for services installed on the environment?

Selecciona una o más de las siguientes respuestas posibles:

  • $_ENV[‘MAGENTO_CLOUD_RELATIONSHIPS’]

  • CLI command magento-cloud relationships

  • ece-tools command relationships

  • From the Cloud UI

Explicación

Pregunta 18 de 43

1

You have installed a new composer package, committed the changed composer.json file but the package is not present in the successful integration build. What is the possible cause?

Selecciona una de las siguientes respuestas posibles:

  • The updated composer.lock file wasn’t committed

  • The package repository was offline

  • A newer version of the package has been marked as stable and needs to be used

  • A conflict with another package in the version installed on integration stopped composer from installing the new package

Explicación

Pregunta 19 de 43

1

During which phase is the site in downtime?

Selecciona una de las siguientes respuestas posibles:

  • Build

  • Pre-Deploy

  • Deploy

  • Post-Deploy

Explicación

Pregunta 20 de 43

1

Where can you find information that a patch was applied?

Selecciona una o más de las siguientes respuestas posibles:

  • var/log/cloud.log

  • /var/cloud.log

  • Cloud UI deployment history log

  • CLI command output if redeployment was triggered by this command

  • Open a support ticket to request information

Explicación

Pregunta 21 de 43

1

Why should you not extend the build script at the end which generates/modifies static content?

Selecciona una de las siguientes respuestas posibles:

  • The file system is read-only at this point

  • All generated files were already moved to the init directory by the main script

  • You need to add this script in the deploy phase

  • If the last script is not the ece-tools, it won’t be run

Explicación

Pregunta 22 de 43

1

If you want to have the maximum verbosity level for the deploy script only, what changes should you make?

Selecciona una de las siguientes respuestas posibles:

  • Set stage/global/VERBOSE_COMMANDS as "" and stage/deploy/VERBOSE_COMMANDS as “-vvv”

  • Set stage/global/VERBOSE_COMMANDS as "" and stage/deploy/VERBOSE_COMMANDS as “-v”

  • Set only stage/build/VERBOSE_COMMANDS as "” as by default all stages have “-vvv”

  • Set only stage/deploy/VERBOSE_COMMANDS as "-vvv"

Explicación

Pregunta 23 de 43

1

What is the cause if after a deployment with SKIP_SCD: true the static content looks broken? Note that on the previous deployment SCD was run on the Build phase with default settings SKIP_SCD: false and STATIC_CONTENT_SYMLINK: true.

Selecciona una de las siguientes respuestas posibles:

  • You have enabled CLEAN_STATIC_FILES which removes all previously generated static files

  • You have broken symlinks in the pub/static directory

  • You have enabled STATIC_CONTENT_SYMLINK which remove files from pub/static and create symlinks

  • SCD_MATRIX configuration has an empty array for all themes

Explicación

Pregunta 24 de 43

1

What is the best configuration to minimize the next deployment time when using SCD with the compact strategy?

Selecciona una de las siguientes respuestas posibles:

  • Use stage/global/SCD_ON_DEMAND: true and stage/global/SCD_STRATEGY: compact

  • Move SCD to the Build phase and use stage/global/SCD_STRATEGY: compact with stage/global/SKIP_HTML_MINIFICATION: true

  • Leave SCD on the Deploy phase and use stage/global/SCD_STRATEGY: compact

  • Move SCD to the Build phase and use stage/global/SKIP_SCD: true with
    stage/global/SKIP_HTML_MINIFICATION: true

Explicación

Pregunta 25 de 43

1

What is the best configuration to store previously generated static content for the next deployment? The previous deployment generated static content on the Deploy phase

Selecciona una de las siguientes respuestas posibles:

  • Use stage/global/CLEAN_STATIC_FILES: false

  • Use stage/global/SCD_ON_DEMAND: true

  • Use stage/global/SKIP_SCD: true

  • Move SCD to the Build phase and use stage/global/SKIP_SCD: false and stage/global/STATIC_CONTENT_SYMLINK: false

Explicación

Pregunta 26 de 43

1

Magento has the following data for timezone field (path general/locale/timezone )
• DB has records for:
- ‘default’ scope – America/Los_Angeles
- ‘stores’ scope and code ‘default’ – America/Chicago
• app/etc/config.php has system/default/general/locale/timezone => Europe/London
• app/etc/env.php has system/default/general/locale/timezone => Europe/Stockholm

What timezone does the store view have with code ‘default’?

Selecciona una de las siguientes respuestas posibles:

  • America/Los_Angeles

  • America/Chicago

  • Europe/London

  • Europe/Stockholm

Explicación

Pregunta 27 de 43

1

While reviewing a third-party extension you see the following constructor:
public function __construct(Config $config, EntityFactory $factory = null)
{
$this->config = $config;
$this->factory = $factory ?? ObjectManager::getInstance()->create(EntityFactory::class);
}
What step do you take during the review to ensure that the class is compatible with Magento Commerce Cloud?

Selecciona una de las siguientes respuestas posibles:

  • Flag the class as incompatible because the ObjectManager is used

  • Check that the Entity base class of the factory exists

  • Mark the class as compatible

  • Change the code so the ObjectManager is also injected as a dependency

Explicación

Pregunta 28 de 43

1

While reviewing a third-party extension you see the following constructor:
public function __construct(Config $config)
{
$this->config = $config;
$this->command = ObjectManager::getInstance()->create(Command\Proxy::class);
}
What step do you take during the review to ensure that the class is compatible with Magento Commerce Cloud?

Selecciona una de las siguientes respuestas posibles:

  • Flag the class as incompatible because ObjectManager::create() is used to create the command proxy

  • Check that the Proxy base class exists

  • Mark the class as compatible

  • Change the code so that the Command\Proxy is passed as a constructor argument

Explicación

Pregunta 29 de 43

1

What are three cloud specific variables?

Selecciona una o más de las siguientes respuestas posibles:

  • BLACKFIRE_SERVER_ID

  • MAGENTO_CLOUD_APPLICATION

  • MAGENTO_CLOUD_RELATIONSHIPS

  • COMPOSER_AUTH

  • MAGENTO_CLOUD_VARIABLES

Explicación

Pregunta 30 de 43

1

How often are Snapshots taken for Production and Staging environments on Commerce Pro?

Selecciona una de las siguientes respuestas posibles:

  • Every 12 hours

  • Every 6 hours

  • Every 4 hours

  • Every 2 hours

Explicación

Pregunta 31 de 43

1

How are snapshots initiated for the Production and Staging environments on Commerce Pro?

Selecciona una de las siguientes respuestas posibles:

  • Automatic for both Pro and Stater

  • Manual for both Pro and Starter

  • Automatic for Pro and manual for Starter

  • Manual for Pro and Automatic for Starter

Explicación

Pregunta 32 de 43

1

What is included in Snapshots of the Production and Staging environments on Magento Commerce Pro?

Selecciona una de las siguientes respuestas posibles:

  • Files only

  • Files and database only

  • Everything on the EBS volume, including the persistent data from all running services

  • Everything on the EBS volume, except the persistent data from all running services

Explicación

Pregunta 33 de 43

1

When backups are transferred to S3, which region are they stored in be default?

Selecciona una de las siguientes respuestas posibles:

  • The region furthest from the customers production region

  • The same AWS region as the production environment

  • Any region other than the same AWS region as the production environment

  • All of the AWS regions

Explicación

Pregunta 34 de 43

1

Are backups of the production environment encrypted and why?

Selecciona una de las siguientes respuestas posibles:

  • No, backups are not encrypted because S3 storage is not encrypted by default

  • Yes, backups are encrypted because S3 storage is encrypted by default

  • No, backups are not encrypted because the production EBS volumes are not encrypted

  • Yes, backups are encrypted because the EBS volumes are encrypted

Explicación

Pregunta 35 de 43

1

How are restores initiated in the Production environment for Pro and Starter?

Selecciona una de las siguientes respuestas posibles:

  • Production restores can be initiated via the Cloud UI/CLI for both Starter and Pro

  • Production restores are initiated via a support ticket for both Starter and Pro

  • Production restores for Pro are initiated via a support ticket and production restores for Starter are initiated via the Cloud UI/CLI

  • Production restores for Pro are initiated via the Cloud UI/CLI and production restores for Starter are initiated via a support ticket

Explicación

Pregunta 36 de 43

1

What's the preferred method of debugging on Magento Cloud?

Selecciona una de las siguientes respuestas posibles:

  • Committing var_dump()s and die()s into your code

  • SSH'ing into the server and manually inserting var_dump()s and die()s into your code

  • Creating an extension and installing it via Composer which injects var_dump()s and die()s into your code

  • Using Xdebug

Explicación

Pregunta 37 de 43

1

You have attempted to merge code up to the parent branch and the merge failed due to a conflict. How do you identify the conflicting files? (2 of 4)

Selecciona una o más de las siguientes respuestas posibles:

  • Use the Magento CLI to view the system logs

  • Submit a support ticket

  • View the event log in the Cloud UI

  • Use the git CLI correct

Explicación

Pregunta 38 de 43

1

You have identified the files that caused the Git merge conflict. Which tool will you use to resolve the conflicts? (2 of 5)

Selecciona una o más de las siguientes respuestas posibles:

  • Magento Cloud UI

  • magento-cloud CLI

  • git CLI

  • git UI

  • Your analytics tool

Explicación

Pregunta 39 de 43

1

Where should the domain name be pointed?

Selecciona una de las siguientes respuestas posibles:

  • Fastly

  • Magento Cloud

  • Server

Explicación

Pregunta 40 de 43

1

You are in the planning stage for a large promotion with 40% off all products and you expect a significant increase in traffic. When do you notify Magento of the event?

Selecciona una de las siguientes respuestas posibles:

  • Immediately

  • At least 2-3 days prior to the even

  • The day of the event

  • Never

Explicación

Pregunta 41 de 43

1

Which three key data points do you need to provide to Magento 72 hours prior to a planned traffic surge event? (pick 3)

Selecciona una o más de las siguientes respuestas posibles:

  • When the event will occur

  • How much revenue the event will generate

  • % increase in traffic / orders

  • Expected duration of the event

  • Which products will be most popular during the event

Explicación

Pregunta 42 de 43

1

When reviewing New Relic you notice a surge in requests, and you realize you are experiencing an unexpected traffic surge. When do you need to notify Magento for upsizing to occur?

Selecciona una de las siguientes respuestas posibles:

  • Immediately

  • It is too late, your site will crash

  • Magento will upsize the environment as necessary to maintain the SLA

  • The next day

Explicación

Pregunta 43 de 43

1

You have notified Magento of a planned traffic surge event that will occur in approximately 72 hours. What are the benefits of this prior notice? (pick 2)

Selecciona una o más de las siguientes respuestas posibles:

  • The additional resources are available when the traffic arrives

  • The Support team will be aware of the event

  • Upsizing prior to a surge event guarantees a higher conversion rate

  • There are no benefits to prior notice

Explicación