You are on page 1of 1
Magento 2 Cloud Developer account ea prate test ute, Repo 9 probe RESULT CARD Magento 2 Cloud Developer eA SoTL lL ~Youneea to stuay more! BO NOI attempt the certcation 8s yoU wil key ral. Hevlew’ our stay gurBe ‘and take the practice test again, Bo not memorize the questions / answets as they are not found on the certification test. EMAIL RESULTS TO ME: Your email Your name SEND. > 40 correct 75 correct 66.67 correct Commerce Cloud Local Environment Cloud Configuration Fundamentals 100 correct 25 correct 66.67 correct Service Configuration Deployment Process __Static Content Deployment 33.33 correct, 50 correct 400 correct Development Troubleshooting Go Live and Maintenance Answers: You are updating the build process so that it deploys static content. You ran bin/nagento app:confta:dunp thenes and saved app/ete/conflg.php locally. However, as you run the build process, you keep seeing the message that static content deploy during the build phase is being skipped. What are two ways to resolve this problem? P fcnessccicp BVA bin/magento app:config:dunp thenes scopes rrr ns ee You are configuring the DNS for a website that is about to be launched. The DNS is hosted at CloudFiare. ‘What three configurations must you make to ensure a smooth transition to Magento Cloud? ey [BB Ensure cloucFiare'’s firewall is disabled (50 as not to conflict with Cloud's trewalD. [Bh 2c sav records to enable SendGrid support. M4 You have completed all steps to add a new website, store, and store view for a planned B2B site launch. This was set up in an integration environment. While the B2B site won't be. released for a while, the code updates from it will be delivered to production. The last thing you need to do is to test that it successfully will reside on a sub-domain. How do you enable another sub-domain to display the 828 application for integration? © Uist splices. to speciyconiguaton ales © congure a eb ocaonin sents. You would like to use a visual interface to troubleshoot records stored in ElasticSearch on the production environment. The browser you have chosen has no way to connect via SSH, so. you must figure out another route. What is the solution? © sere tnt eto create port mapping O Install the visual interface into the pub folder as Docker has access to production ElasticSearch. CE Thisis not possibie without specitying SSH connection credentials. You are using a local development environment that is running PHP 7.0. This project is old, but the merchant does not want to upgrade. You commit the code and push to the integration branch. Unfortunately, you get this message: This package requires php 7.0.* but your PHP version (7.1.38) does not satisfy that require ‘What is the solution? © evade toto latost version ot Mager © ensure tat te PHP resumen inte Cloud coniguaion PHP 70. © Gleer your composer cache and run conpeser update again. ‘merchant in France would like to launch a Spanish store. They have created the new store view on production, but they are not able to change the locale to Spanish because the field is disabled, What is the quickest way to change the configuration to show Spanish content? © Adare Force oct ance variable to production © sete tee nine database menu After deploying code to the production environment for a Cloud Pro project, the site becomes unavailable. Where do you find lag files to assess what happened? {ar Log/deploy..Log {ar /log/pLatforn/<1D>/deploy.1og O nthe Project web interface log section. O liters You just installed a new module and have deployed it to an integration environment. As you are testing, you receive this error Unable to write to generated/code/HyConpany /MyModuLe/ .. /Datainterceptor php. You have verified that no errors are thrown in the build or deploy process. What is the resolution? Q Enable sae oe in wpfetcfn. to proven tng ithe olume we prtecled O war aneropriie code with» ty. exte\tiraabte (to lnnat rors. You would like to force "B2B enabled! to be always enabled for all environments (but not locally). How do you accomplish this? config/general/b2b/enabled @ Add @ conFig/defautt/generat/b2b/enabled array entry Into app/etc/config.php and deploy. O ‘Add conFIG_DEFAULT__cENERAL__@28__ENABLED environment variable into snagento.env.yant_ and deploy. You are paying to use a SaaS RabbitM@ service hosted separately in the Cloud. How do you instruct Magento to use this service instead of the local RabbitM@ instance? © 7s isnot possi to do win Magento oud (QUEUE_CONFIGURATION © set evoia aetas inte Magento ain conturaton EO Manuaty update the app/etc/env.phe to set connection details, Your Magento Cloud Starter website has been loading slower than expected under heavy loads. You decide to enable Redis slave connections to see if that improves performance. How do you accomplish this? © sesis save connections are ony avaabe on love Pro pries. © dndate sepetcon she toe te ret ste Host Oo Use the Project Web Interface to enable slave connections for the production environment. REDIS.USE_SLAVE_CONNECTION You are working to improve the Search Engine Optimization for a Cloud Starter website. Right now, customers can browse nyuebsite.con and wm.nywebsite.con . This is causing duplicate content problems for search engines. What is the resolution? EO Update the pub/.taccess to adid needed redirects, O inetne nets. eo sta ei heer rect © nad ne sub dominesirectintne Project Web nerac, You are working to understand why a particular error is being thrown in staging for a Cloud Pro project. You would like to enable xdebug to get this insight. Which two steps are necessary to configure it before creating the tunnel? MY [Ey sce stn hey tothe jee fdebn ut configuration te You are assisting a merchant who is using Magento Cloud Pro. They requested that you configure b2b.nywebsite.con so that Magento serves that URL, Your tests are doing well on integration, but the website is not found when you promote the build to staging, ‘What is the solution? O Review tne activity logs to ensure that there were no deploy errors © recente ne sioing envionment You are helping a merchant configure their Magento 2 installation, Because they will have quite a few Magento administrators, they have requested that all payment API connection details are unable to be changed in the production environment. What two ways will fulfil this requirement? cusn Seine You are migrating a website to Magento Cloud. Previously, the developers used custom yarn compilation commands to build the Javascript assets. How do you ensure this is stil able to be executed in the Cloud build process? © At cst onan note bul nooks to instal Nodes and yor Se te doen E Run the yarn commands locally and include the node_nodutes dlrectory in git. © Yarns automata nctutetin tne Cou bu envionment You need to set a variable in a Magento Cloud environment using the command line. How is this accomplished? © Tris can only be accomplished in the Project Web intertace, © vest retaegecommit and push, You are helping a merchant who would like to load custom stylesheets into the pub/static directory. These stylesheets are loaded from an external source and are updated frequently. What configuration changes clo you make to allow this? O serie scr 0 envionment variable tobe ftse ‘CLEAN STATIC_FILES © creates dna command to ymin tne contents of spfeastn in itt You have been tasked with disabling a module from a Magento Cloud-hosted website, How do you accomplish this? © sete nemo in procucton and synvonze changes back to staging O fa sini rises... on rtgraton © peste ne modules rectory tom apf You are beginning a Magento Cloud project. You have installed several modules, except that one is disabled, You commit the updates and push to Integration. Unfortunately, on integration, you find that that module is enabled. How do you resolve this? © set apeiron tegration so he new can overt © rssn me cacnes nine integration environment © remove mat node om te project You are working on a Magento Cloud Pro project and want to enable ElasticSearch in the staging environment. You have enabled it in .nagento/services.yanl , but the service is not available after you push code to staging. What is the resolution? © ceckine gs ana redepiy to ensure nat mere wasn nuke Inthe deployment © ensure tat vate ase size spend fore aseseechcontgueten You need to use xdebug to Investigate an error that is happening in an integration branch on a Cloud Pro project. How do you open the connection so your IDE can connect to xdebug in Cloud Pro? oO Locete the IP address of the integration environment and add that IP to PHPStorm’s configuration. © 7 snot posse inary envionment in cous Pro projects. You are presiding over a deploy to the production environment on a Cloud Pro project. Unfortunately, when the deploy is finished, you see that production is down. How do you resolve the issue? © rable vets, comos enitcrent vale in proton and redeploy EO Redepioy into production with an empty git commit, © View deploy iogs in Project Web interface. You receive a complaint from a merchant: they are importing over 10,000 products and receive an error, They find that the products are correctly imported but would like this, problem resolved, What is the resolution? O conte sini envionment saa, © Uoaste ngeep.ynt toss cstom PHP. mea © Trevis no way affects behav You are troubleshooting a problem with production where this error is thrown: File systen is not writable. Unfortunately, the log files do not provide a stack track, How do you quickly troubleshoot this? © wseticw Recto understand the sack ace and whee tis proble soca EO Disable modules, one at a time, in production. You are working with a merchant who is going to deploy a new Magento instance on the Cloud. The merchant is working through which combination of websites/stores/store views is ideal for their situation. Unfortunately, as they add website combinations, these are not styled atall What is the resolution? SScO_UILD_MATRIX © Penove ne scar severed. '8CD_ON_DEMAND © ssttino production ana run stott:contetdepty A merchant on Cloud Pro would like to launch a new website targeting a new customer segment. This website will be launched on a new domain. They have configured the website on integration and made all appropriate changes to Cloud configuration to appropriately route traffic, Unfortunately, when they have upgraded the updates to staging, the new website's URLs do not work. What is the resolution? oO For Cloud Pro projects, you must configure appropriate route URLS in the Project Web Interface. © Wier decoy ogs to understand wnat eri cern You need to test a customization to the FastlyCDN service in an integration environment. Yet, FastlyCDN seems to be disabled in integration as there are no Fastly headers in any requests coming from integration. How do you resolve this? oO Recontigure the FastlyCDN configuration, in Magento, with values found in [enp/fastly.cont © come esi sty voroble ome negation endronment You are running vendor/bin/ece-tools db-dunp_ command to obtain a copy of the production database. Unfortunately, an error occurred during the execution of this command. The displayed error was not helpful and the partially-written dump was deleted. How do you find additional error details to help the troubleshooting process? © vee ne Project Wer nriace a coate te dtabase dump, insted, © Rewun ne commana wth the ws command Amerchant is worried about slow load times when an order is submitted. You are on vacation, and they are asking how they can at least troubleshoot this problem. What do you tell them? © ssitinto tne pocucon environment and ookin tne epson ures oO Add a new monitoring event to the Project Web Interface to watch for slow PHP processes. © cacate a suport ett reboot te proaucton envionment instances You have created a new environment variable for the production environment using the Project Web Interface, You selected the “inherit” option to make this variable available in staging and integration. However, when you are SSH'd into staging, that environment variable is not present. How do you resolve this? © owe ie stacing enironment create new staging branch, and pus, oO Inherit variables does not apply to staging, so you need to create the variable directly on staging, © siernonizeproaueon ect staging You would like to refresh an integration environment's database from production. How do you accomplish this action? © ss3iino integration and run eels snc © cieate a tke win Magento coud support © veetne masento ta done and rapt caud dhpish comands You are bullding a diagnostic PHP script that needs to query the Rediis cache. You prefer to avoid using app/etc/env.php because its values are not being properly configured in the deploy process. How do you get the appropriate Redis connection information? © Tre reals connection tomatons consistent and canbe har code © toad connection deta rom wired cont © énivietne nats caramaon variable inthe Project Wed eras, You have added a new user to a project and given them Admin permissions for the staging environment. Unfortunately, they are not able to access it via SSH. What is the resolution? © crecktne 551 box when creating tne user © bwtete and r-rete he emicrment © untne saint erp cmt ‘As part of building a new Magento instance, you need to create the ability for a 3rd-party application to access the database. This application's user must only allow SELECT. commands. How do you create this user? © veoh sets cted series CU command, “en seves oh oO Cloud only allows you to use one user per database. You need to replicate to another MySaL instance. You are working with a merchant who is in the process of setting up their store on Magento Cloud Starter. They have a unique requirement in that they synchronize the pub/static directory from a centralized source where these assets have already been built. What two actions must be completed to allow this? [BB vetete anojercyconrta.oho [BB Ensure that sco_narnax is properly configures. STATIC_CONTENT_SYMLINK You have successfully upgraded Magento from 2.2.9 to 2.3.2 on your local computer. You have verified that everything works as expected. However, in the build process, you get an error staging that the Composer packages cannot be installed due to an incompatibility with ‘the PHP version. What is the resolution? © ha cenoser undo --tnre-statton-recs lcaly and dey, © serine new Pr version san enronment vibe inthe rect We intetace O » EEE You are working with a merchant to prepare their Cloud Pro hosted website for a big rush of traffic. What must be done to ensure that the site will remain available? © Review tne MySQL slow query logs to address slow queries. © tes ino ne Project Web ntertace to enable atoscaing © iste sx. emo to prevent unecessary server tization, You wish for an environment variable to be available in all environments. How do you accomplish this? © Aad ne envionment vibe tote Project Web netaceSetigs eee CE ite tne gtobat_ node in smagento.env.yart © vsetho neente-tou vartabesst CL command

You might also like