Quiz
Magento 2 Cloud
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (43)
1What are 3 key benefits of the Magento Cloud production architecture? (3 of 5)
- AIs limited to 1 Availability Zone
- BGuaranteed site uptime
- CHighly resilient and fault tolerant
- DAllows for zero-downtime upsizing
- EScaling of the entire server stack rather than just the application layer
2What are 3 key benefits of leveraging Fastly for full page cache on Magento Cloud? (3 of 5)
- AImproved response times across the globe
- BSignificantly reduced load at the origin
- CImproved page load performance across the globe
- DAutomatic translation of all content
- EImproved troubleshooting capabilities
3What are the 2 key benefits of the read-only core file system? (Pick 2)
- ACore files can be easily overwritten in the production environment
- BSignificantly reduces the surfaces available to attack
- CImproves website performance
- DGuarantees all changes to production environment are tracked
4What type of users are you able to add through the onboarding UI?
- AEnvironment admin
- BMagento Admin
- CContent Manager
5Which of these resources can you access from the UI?
- AEnvironment link
- BHelp Center
- CDNS
- DDev docs links
- EGoogle
6Can users access the Cloud project interface from the onboarding UI?
- AYes
- BNo
- CPartially
7Who should be provided shared access under the Magento account?
- AAny person
- BDev team
- CProject manager
- DPerson who is supposed to file tickets for the Magento account
8What are three main advantages of the Pro account over the Starter account?
- AIt runs on a shared infrastructure
- BIt includes a dedicated Launch Manager
- CIt combines the powerful benefits of Magento Commerce with a cloud hosting agreement for
smaller merchants - DIt runs on an isolated and dedicated hardware setup in the underlying Infrastructure-as-a-Service
- EIt has extended core features
9Which two actions are the most common use cases for the Integration environment?
- ATo develop and fix code changes
- BTo test functionality of new complete modules
- CTo test environment and Magento settings
- DTo merge to production environment
10What are two key features of the Magento Cloud CLI tool?
- AIt helps automatically build and deploy your Cloud projects
- BIt helps with Magento management and Git interactions
- CIt allows you to use the hooks to run shell commands during the build, deploy, and post-deploy phases
- DIt duplicates the Magento Cloud Admin UI
11When updating Magento Cloud specific configuration files, what folder do you find them under?
- A.magento
- Bupdate
- Cm2-hoftixes
- D/etc
12What are the only writeable folders in the application root on a remote cloud project?
- Am2-hotfixes, var, pub/static, app/etc
- Bupdate, var, app/etc, m2-hotfixes
- Cvar, app/etc, pub/media, pub/static, /tmp
- D.magento, pub/media, app/etc, m2-hotfixes
13What is the name of the flexible toolset that is used to deploy Magento to Magento Cloud?
- Amagento-cloud-metapackage
- Bece-tools
- Cmagento-cloud
- DJenkins
14How 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).- ARichtig
- BFalsch
15Where is the latest sample .magento.env.yaml file stored?
- A.magento
- Bapplication root
- Cvendor
- Dupdate
16What is the limitation for a build script?
- AA script cannot write to files
- BNo connections to any service
- CMust not take more than 30 seconds systime
- DOnly shell scripts can be run
17Which two actions can be used to retrieve connection data for services installed on the environment?
- A$_ENV[‘MAGENTO_CLOUD_RELATIONSHIPS’]
- BCLI command magento-cloud relationships
- Cece-tools command relationships
- DFrom the Cloud UI
18You 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?
- AThe updated composer.lock file wasn’t committed
- BThe package repository was offline
- CA newer version of the package has been marked as stable and needs to be used
- DA conflict with another package in the version installed on integration stopped composer from installing the new package
19During which phase is the site in downtime?
- ABuild
- BPre-Deploy
- CDeploy
- DPost-Deploy
20Where can you find information that a patch was applied?
- Avar/log/cloud.log
- B/var/cloud.log
- CCloud UI deployment history log
- DCLI command output if redeployment was triggered by this command
- EOpen a support ticket to request information
21Why should you not extend the build script at the end which generates/modifies static content?
- AThe file system is read-only at this point
- BAll generated files were already moved to the init directory by the main script
- CYou need to add this script in the deploy phase
- DIf the last script is not the ece-tools, it won’t be run
22If you want to have the maximum verbosity level for the deploy script only, what changes should you make?
- ASet stage/global/VERBOSE_COMMANDS as "" and stage/deploy/VERBOSE_COMMANDS as “-vvv”
- BSet stage/global/VERBOSE_COMMANDS as "" and stage/deploy/VERBOSE_COMMANDS as “-v”
- CSet only stage/build/VERBOSE_COMMANDS as "” as by default all stages have “-vvv”
- DSet only stage/deploy/VERBOSE_COMMANDS as "-vvv"
23What 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.
- AYou have enabled CLEAN_STATIC_FILES which removes all previously generated static files
- BYou have broken symlinks in the pub/static directory
- CYou have enabled STATIC_CONTENT_SYMLINK which remove files from pub/static and create symlinks
- DSCD_MATRIX configuration has an empty array for all themes
24What is the best configuration to minimize the next deployment time when using SCD with the compact strategy?
- AUse stage/global/SCD_ON_DEMAND: true and stage/global/SCD_STRATEGY: compact
- BMove SCD to the Build phase and use stage/global/SCD_STRATEGY: compact with stage/global/SKIP_HTML_MINIFICATION: true
- CLeave SCD on the Deploy phase and use stage/global/SCD_STRATEGY: compact
- DMove SCD to the Build phase and use stage/global/SKIP_SCD: true with
stage/global/SKIP_HTML_MINIFICATION: true
25What is the best configuration to store previously generated static content for the next deployment? The previous deployment generated static content on the Deploy phase
- AUse stage/global/CLEAN_STATIC_FILES: false
- BUse stage/global/SCD_ON_DEMAND: true
- CUse stage/global/SKIP_SCD: true
- DMove SCD to the Build phase and use stage/global/SKIP_SCD: false and stage/global/STATIC_CONTENT_SYMLINK: false
26Magento 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’?- AAmerica/Los_Angeles
- BAmerica/Chicago
- CEurope/London
- DEurope/Stockholm
27While 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?- AFlag the class as incompatible because the ObjectManager is used
- BCheck that the Entity base class of the factory exists
- CMark the class as compatible
- DChange the code so the ObjectManager is also injected as a dependency
28While 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?- AFlag the class as incompatible because ObjectManager::create() is used to create the command proxy
- BCheck that the Proxy base class exists
- CMark the class as compatible
- DChange the code so that the Command\Proxy is passed as a constructor argument
29What are three cloud specific variables?
- ABLACKFIRE_SERVER_ID
- BMAGENTO_CLOUD_APPLICATION
- CMAGENTO_CLOUD_RELATIONSHIPS
- DCOMPOSER_AUTH
- EMAGENTO_CLOUD_VARIABLES
30How often are Snapshots taken for Production and Staging environments on Commerce Pro?
- AEvery 12 hours
- BEvery 6 hours
- CEvery 4 hours
- DEvery 2 hours
31How are snapshots initiated for the Production and Staging environments on Commerce Pro?
- AAutomatic for both Pro and Stater
- BManual for both Pro and Starter
- CAutomatic for Pro and manual for Starter
- DManual for Pro and Automatic for Starter
32What is included in Snapshots of the Production and Staging environments on Magento Commerce Pro?
- AFiles only
- BFiles and database only
- CEverything on the EBS volume, including the persistent data from all running services
- DEverything on the EBS volume, except the persistent data from all running services
33When backups are transferred to S3, which region are they stored in be default?
- AThe region furthest from the customers production region
- BThe same AWS region as the production environment
- CAny region other than the same AWS region as the production environment
- DAll of the AWS regions
34Are backups of the production environment encrypted and why?
- ANo, backups are not encrypted because S3 storage is not encrypted by default
- BYes, backups are encrypted because S3 storage is encrypted by default
- CNo, backups are not encrypted because the production EBS volumes are not encrypted
- DYes, backups are encrypted because the EBS volumes are encrypted
35How are restores initiated in the Production environment for Pro and Starter?
- AProduction restores can be initiated via the Cloud UI/CLI for both Starter and Pro
- BProduction restores are initiated via a support ticket for both Starter and Pro
- CProduction restores for Pro are initiated via a support ticket and production restores for Starter are initiated via the Cloud UI/CLI
- DProduction restores for Pro are initiated via the Cloud UI/CLI and production restores for Starter are initiated via a support ticket
36What's the preferred method of debugging on Magento Cloud?
- ACommitting var_dump()s and die()s into your code
- BSSH'ing into the server and manually inserting var_dump()s and die()s into your code
- CCreating an extension and installing it via Composer which injects var_dump()s and die()s into your code
- DUsing Xdebug
37You 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)
- AUse the Magento CLI to view the system logs
- BSubmit a support ticket
- CView the event log in the Cloud UI
- DUse the git CLI correct
38You have identified the files that caused the Git merge conflict. Which tool will you use to resolve the conflicts? (2 of 5)
- AMagento Cloud UI
- Bmagento-cloud CLI
- Cgit CLI
- Dgit UI
- EYour analytics tool
39Where should the domain name be pointed?
- AFastly
- BMagento Cloud
- CServer
40You 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?
- AImmediately
- BAt least 2-3 days prior to the even
- CThe day of the event
- DNever
41Which three key data points do you need to provide to Magento 72 hours prior to a planned traffic surge event? (pick 3)
- AWhen the event will occur
- BHow much revenue the event will generate
- C% increase in traffic / orders
- DExpected duration of the event
- EWhich products will be most popular during the event
42When 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?
- AImmediately
- BIt is too late, your site will crash
- CMagento will upsize the environment as necessary to maintain the SLA
- DThe next day
43You 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)
- AThe additional resources are available when the traffic arrives
- BThe Support team will be aware of the event
- CUpsizing prior to a surge event guarantees a higher conversion rate
- DThere are no benefits to prior notice
Informationen
- Beschreibung
- Question from "Magento Cloud for Developers On-Demand" course
- Autor
- Oleksiy P
- Sprache
- English
- Aufrufe
- 1.058
- Schlagwörter
- Bewertung
- 5,0 von 5 · 1 Bewertung Bewerte dieses Quiz