{"id":14350,"date":"2020-10-28T03:51:37","date_gmt":"2020-10-28T03:51:37","guid":{"rendered":"https:\/\/www.dumpsbase.com\/freedumps\/?p=14350"},"modified":"2020-10-28T03:51:42","modified_gmt":"2020-10-28T03:51:42","slug":"salesforce-platform-developer-ii-pdii-real-dumps-questions","status":"publish","type":"post","link":"https:\/\/www.dumpsbase.com\/freedumps\/salesforce-platform-developer-ii-pdii-real-dumps-questions.html","title":{"rendered":"Salesforce Platform Developer II PDII Real Dumps Questions"},"content":{"rendered":"\n<p>Are you interested in Salesforce Certified Platform Developer II (PDII) Exam? The Salesforce Platform Developer II program is designed for individuals who would like to demonstrate their skills and knowledge in advanced programmatic capabilities of the Lightning Platform and data modeling to develop complex business logic and interfaces. When doing the preparation of PDII exam, we highly recommend PDII dumps questions with real exam questions and answers online. The great PDII real dumps questions are verified and proved by the professional team and successful candidates.<\/p>\n<h2>Come to read Salesforce <span style=\"color: #800000;\">PDII free dumps<\/span> first.<\/h2>\n<script>\n\t  window.fbAsyncInit = function() {\n\t    FB.init({\n\t      appId            : '622169541470367',\n\t      autoLogAppEvents : true,\n\t      xfbml            : true,\n\t      version          : 'v3.1'\n\t    });\n\t  };\n\t\n\t  (function(d, s, id){\n\t     var js, fjs = d.getElementsByTagName(s)[0];\n\t     if (d.getElementById(id)) {return;}\n\t     js = d.createElement(s); js.id = id;\n\t     js.src = \"https:\/\/connect.facebook.net\/en_US\/sdk.js\";\n\t     fjs.parentNode.insertBefore(js, fjs);\n\t   }(document, 'script', 'facebook-jssdk'));\n\t<\/script><script type=\"text\/javascript\" >\ndocument.addEventListener(\"DOMContentLoaded\", function(event) { \nif(!window.jQuery) alert(\"The important jQuery library is not properly loaded in your site. Your WordPress theme is probably missing the essential wp_head() call. You can switch to another theme and you will see that the plugin works fine and this notice disappears. If you are still not sure what to do you can contact us for help.\");\n});\n<\/script>  \n  \n<div  id=\"watupro_quiz\" class=\"quiz-area single-page-quiz\">\n<p id=\"submittingExam4734\" style=\"display:none;text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dumpsbase.com\/freedumps\/wp-content\/plugins\/watupro\/img\/loading.gif\" width=\"16\" height=\"16\"><\/p>\n\n<div class=\"watupro-exam-description\" id=\"description-quiz-4734\"><\/div>\n\n<form action=\"\" method=\"post\" class=\"quiz-form\" id=\"quiz-4734\"  enctype=\"multipart\/form-data\" >\n<div class='watu-question ' id='question-1' style=';'><div id='questionWrap-1'  class='   watupro-question-id-151163'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>1. <\/span>A Visualforce page loads slowly due to the large amount of data it displays. <br \/>\r<br>Which strategy can a developer use to improve the performance?<\/div><input type='hidden' name='question_id[]' id='qID_1' value='151163' \/><input type='hidden' id='answerType151163' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151163[]' id='answer-id-614405' class='answer   answerof-151163 ' value='614405'   \/><label for='answer-id-614405' id='answer-label-614405' class=' answer'><span>Use Javascript to move data processing to the browser instead of the controller.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151163[]' id='answer-id-614406' class='answer   answerof-151163 ' value='614406'   \/><label for='answer-id-614406' id='answer-label-614406' class=' answer'><span>Use the transient keywords for the List variables used in the custom controller.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151163[]' id='answer-id-614407' class='answer   answerof-151163 ' value='614407'   \/><label for='answer-id-614407' id='answer-label-614407' class=' answer'><span>Use lazy loading to load the data on demand, instead of the controller\u2019s constructor.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151163[]' id='answer-id-614408' class='answer   answerof-151163 ' value='614408'   \/><label for='answer-id-614408' id='answer-label-614408' class=' answer'><span>Use an &lt;apex:actionPoller&gt; in the page to load all of the data asynchronously.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-2' style=';'><div id='questionWrap-2'  class='   watupro-question-id-151164'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>2. <\/span>Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many containers they are renting and when they are due back. Many of their customers are global companies with complex Account hierarchies, representing various departments within the same organization. One of the requirements is that certain community users within the same Account hierarchy be able to see several departments\u2019 containers, based on a junction object that relates the Contact to the various Account records that represent the departments. <br \/>\r<br>Which solution solves these requirements?<\/div><input type='hidden' name='question_id[]' id='qID_2' value='151164' \/><input type='hidden' id='answerType151164' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151164[]' id='answer-id-614409' class='answer   answerof-151164 ' value='614409'   \/><label for='answer-id-614409' id='answer-label-614409' class=' answer'><span>A Visualforce page that uses a Custom Controller that specifies without sharing to expose the records<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151164[]' id='answer-id-614410' class='answer   answerof-151164 ' value='614410'   \/><label for='answer-id-614410' id='answer-label-614410' class=' answer'><span>A Custom List View on the junction object with filters that will show the proper records based on owner<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151164[]' id='answer-id-614411' class='answer   answerof-151164 ' value='614411'   \/><label for='answer-id-614411' id='answer-label-614411' class=' answer'><span>A Custom Report Type and a report Lightning Component on the Community Home Page<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151164[]' id='answer-id-614412' class='answer   answerof-151164 ' value='614412'   \/><label for='answer-id-614412' id='answer-label-614412' class=' answer'><span>An Apex Trigger that creates Apex Managed Sharing records based on the junction object\u2019s relationships<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-3' style=';'><div id='questionWrap-3'  class='   watupro-question-id-151165'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>3. <\/span>Universal Containers wants to use an external Web Service provided by a third-party vendor to validate that shipping and billing addresses are correct. The current vendor uses basic password authentication, but Universal Containers might switch to a different vendor who uses OAuth. <br \/>\r<br>What would allow Universal Containers to switch vendors without updating the code to handle authentication?<\/div><input type='hidden' name='question_id[]' id='qID_3' value='151165' \/><input type='hidden' id='answerType151165' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151165[]' id='answer-id-614413' class='answer   answerof-151165 ' value='614413'   \/><label for='answer-id-614413' id='answer-label-614413' class=' answer'><span>Custom Metadata<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151165[]' id='answer-id-614414' class='answer   answerof-151165 ' value='614414'   \/><label for='answer-id-614414' id='answer-label-614414' class=' answer'><span>Custom Setting (List)<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151165[]' id='answer-id-614415' class='answer   answerof-151165 ' value='614415'   \/><label for='answer-id-614415' id='answer-label-614415' class=' answer'><span>Dynamic Endpoint<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151165[]' id='answer-id-614416' class='answer   answerof-151165 ' value='614416'   \/><label for='answer-id-614416' id='answer-label-614416' class=' answer'><span>Named Credential<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-4' style=';'><div id='questionWrap-4'  class='   watupro-question-id-151166'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>4. <\/span>A company has a Lightning Page with many Lightning Components, some that cache reference data. It is reported that the page does not always show the most current reference data. <br \/>\r<br>What can a developer use to analyze and diagnose the problem in the Lightning Page?<\/div><input type='hidden' name='question_id[]' id='qID_4' value='151166' \/><input type='hidden' id='answerType151166' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151166[]' id='answer-id-614417' class='answer   answerof-151166 ' value='614417'   \/><label for='answer-id-614417' id='answer-label-614417' class=' answer'><span>Salesforce Lightning Inspector Actions Tab<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151166[]' id='answer-id-614418' class='answer   answerof-151166 ' value='614418'   \/><label for='answer-id-614418' id='answer-label-614418' class=' answer'><span>Salesforce Lightning Inspector Event Log Tab<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151166[]' id='answer-id-614419' class='answer   answerof-151166 ' value='614419'   \/><label for='answer-id-614419' id='answer-label-614419' class=' answer'><span>Salesforce Lightning Inspector Transactions Tab<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151166[]' id='answer-id-614420' class='answer   answerof-151166 ' value='614420'   \/><label for='answer-id-614420' id='answer-label-614420' class=' answer'><span>Salesforce Lightning Inspector Storage Tab<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-5' style=';'><div id='questionWrap-5'  class='   watupro-question-id-151167'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>5. <\/span>A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records. <br \/>\r<br><br><img decoding=\"async\" width=649 height=157 src=\"https:\/\/www.dumpsbase.com\/freedumps\/wp-content\/uploads\/2020\/10\/image002-32.jpg\" v:shapes=\"_x0000_i1025\"><br><br \/>\r<br>The CalloutUtil.makeRestCallout fails with a 'You have uncommitted work pending. Please commit or rollback before calling out' error. <br \/>\r<br>What should be done to address the problem?<\/div><input type='hidden' name='question_id[]' id='qID_5' value='151167' \/><input type='hidden' id='answerType151167' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151167[]' id='answer-id-614421' class='answer   answerof-151167 ' value='614421'   \/><label for='answer-id-614421' id='answer-label-614421' class=' answer'><span>Remove the Database.setSavepoint and Database.rollback.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151167[]' id='answer-id-614422' class='answer   answerof-151167 ' value='614422'   \/><label for='answer-id-614422' id='answer-label-614422' class=' answer'><span>Change the CalloutUtil.makeRestCallout to an @InvocableMethod method.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151167[]' id='answer-id-614423' class='answer   answerof-151167 ' value='614423'   \/><label for='answer-id-614423' id='answer-label-614423' class=' answer'><span>Change the CalloutUtil.makeRestCallout to an @future method.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151167[]' id='answer-id-614424' class='answer   answerof-151167 ' value='614424'   \/><label for='answer-id-614424' id='answer-label-614424' class=' answer'><span>Move the CalloutUtil.makeRestCallout method call below the catch block.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-6' style=';'><div id='questionWrap-6'  class='   watupro-question-id-151168'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>6. <\/span>A Visualforce page contains an industry select list and displays a table of Accounts that have a matching value in their Industry field. <br \/>\r<br>&lt;apex:selectList value=&quot;{!selectedIndustry}&quot;&gt; <br \/>\r<br>&lt;apex:selectOptions values=&quot;{!industries}&quot;\/&gt; <br \/>\r<br>&lt;\/apex:selectList&gt; <br \/>\r<br>When a user changes the value in the industry select list, the table of Accounts should be automatically updated to show the Accounts associated with the selected industry. <br \/>\r<br>What is the optimal way to implement this?<\/div><input type='hidden' name='question_id[]' id='qID_6' value='151168' \/><input type='hidden' id='answerType151168' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151168[]' id='answer-id-614425' class='answer   answerof-151168 ' value='614425'   \/><label for='answer-id-614425' id='answer-label-614425' class=' answer'><span>Add an &lt;apex:actionFunction&gt; within the &lt;apex:selectOptions&gt;.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151168[]' id='answer-id-614426' class='answer   answerof-151168 ' value='614426'   \/><label for='answer-id-614426' id='answer-label-614426' class=' answer'><span>Add an &lt;apex:actionFunction&gt; within the &lt;apex:selectList&gt;.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151168[]' id='answer-id-614427' class='answer   answerof-151168 ' value='614427'   \/><label for='answer-id-614427' id='answer-label-614427' class=' answer'><span>Add an &lt;apex:actionSupport&gt; within the &lt;apex:selectList&gt;.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151168[]' id='answer-id-614428' class='answer   answerof-151168 ' value='614428'   \/><label for='answer-id-614428' id='answer-label-614428' class=' answer'><span>Add an &lt;apex:actionSupport&gt; within the &lt;apex:selectOptions&gt;.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-7' style=';'><div id='questionWrap-7'  class='   watupro-question-id-151169'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>7. <\/span>The test method above calls a web service that updates an external system with Account information and sets the Account\u2019s Integration_Updated__c checkbox to True when it completes. <br \/>\r<br><br><img decoding=\"async\" width=650 height=149 src=\"https:\/\/www.dumpsbase.com\/freedumps\/wp-content\/uploads\/2020\/10\/image004-28.jpg\" v:shapes=\"_x0000_i1026\"><br><br \/>\r<br>The test fails to execute and exits with an error: &quot;Methods defined as TestMethod do not support Web service callouts. &quot; <br \/>\r<br>What is the optimal way to fix this?<\/div><input type='hidden' name='question_id[]' id='qID_7' value='151169' \/><input type='hidden' id='answerType151169' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151169[]' id='answer-id-614429' class='answer   answerof-151169 ' value='614429'   \/><label for='answer-id-614429' id='answer-label-614429' class=' answer'><span>Add Test.startTest() before and Test.setMock and Test.stopTest() after CalloutUtil.sendAccountUpdate.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151169[]' id='answer-id-614430' class='answer   answerof-151169 ' value='614430'   \/><label for='answer-id-614430' id='answer-label-614430' class=' answer'><span>Add Test.startTest() and Test.setMock before and Test.stopTest() after CalloutUtil.sendAccountUpdate.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151169[]' id='answer-id-614431' class='answer   answerof-151169 ' value='614431'   \/><label for='answer-id-614431' id='answer-label-614431' class=' answer'><span>Add if (!Test.isRunningTest()) around CalloutUtil.sendAccountUpdate.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151169[]' id='answer-id-614432' class='answer   answerof-151169 ' value='614432'   \/><label for='answer-id-614432' id='answer-label-614432' class=' answer'><span>Add Test.startTest() before and Test.stopTest() after CalloutUtil.sendAccountUpdate.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-8' style=';'><div id='questionWrap-8'  class='   watupro-question-id-151170'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>8. <\/span>A developer created and tested a Visualforce page in their developer sandbox, but now receives reports that users are encountering ViewState errors when using it in Production. <br \/>\r<br>What should the developer ensure to correct these errors?<\/div><input type='hidden' name='question_id[]' id='qID_8' value='151170' \/><input type='hidden' id='answerType151170' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151170[]' id='answer-id-614433' class='answer   answerof-151170 ' value='614433'   \/><label for='answer-id-614433' id='answer-label-614433' class=' answer'><span>Ensure queries do not exceed governor limits.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151170[]' id='answer-id-614434' class='answer   answerof-151170 ' value='614434'   \/><label for='answer-id-614434' id='answer-label-614434' class=' answer'><span>Ensure properties are marked as Transient.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151170[]' id='answer-id-614435' class='answer   answerof-151170 ' value='614435'   \/><label for='answer-id-614435' id='answer-label-614435' class=' answer'><span>Ensure properties are marked as private.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151170[]' id='answer-id-614436' class='answer   answerof-151170 ' value='614436'   \/><label for='answer-id-614436' id='answer-label-614436' class=' answer'><span>Ensure profiles have access to the Visualforce page.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-9' style=';'><div id='questionWrap-9'  class='   watupro-question-id-151171'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>9. <\/span>Refer to the component code above. <br \/>\r<br><br><img decoding=\"async\" width=561 height=163 src=\"https:\/\/www.dumpsbase.com\/freedumps\/wp-content\/uploads\/2020\/10\/image006-22.jpg\" v:shapes=\"\u56fe\u7247_x0020_1\"><br>The information displays as expected (in three rows) on a mobile device. <br \/>\r<br>However, the information is not displaying as desired (in a single row) on a desktop or tablet. <br \/>\r<br>Which option has the correct component changes to display correctly on desktops and tablets?<\/div><input type='hidden' name='question_id[]' id='qID_9' value='151171' \/><input type='hidden' id='answerType151171' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151171[]' id='answer-id-614437' class='answer   answerof-151171 ' value='614437'   \/><label for='answer-id-614437' id='answer-label-614437' class=' answer'><span>&lt;lightning:layout multipleRows=&quot;true&quot;&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; mediumDeviceSize=&quot;6&quot; largeDeviceSize=&quot;4&quot;&gt; \r\n{!v.account.Name} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; mediumDeviceSize=&quot;6&quot; largeDeviceSize=&quot;4&quot;&gt; \r\n{!v.account.AccountNumber} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; mediumDeviceSize=&quot;6&quot; largeDeviceSize=&quot;4&quot;&gt; \r\n{!v.account.Industry} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;\/lightning:layout&gt;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151171[]' id='answer-id-614438' class='answer   answerof-151171 ' value='614438'   \/><label for='answer-id-614438' id='answer-label-614438' class=' answer'><span>&lt;lightning:layout multipleRows=&quot;true&quot;&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; largeDeviceSize=&quot;4&quot;&gt;{!v.account.Name} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; largeDeviceSize=&quot;4&quot;&gt; \r\n{!v.account.AccountNumber} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; largeDeviceSize=&quot;4&quot;&gt;{!v.account.Industry} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;\/lightning:layout&gt;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151171[]' id='answer-id-614439' class='answer   answerof-151171 ' value='614439'   \/><label for='answer-id-614439' id='answer-label-614439' class=' answer'><span>&lt;lightning:layout multipleRows=&quot;true&quot;&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; mediumDeviceSize=&quot;4&quot;&gt;{!v.account.Name} \r\n&lt;\/lightning:layoutItem&gt; \r\n07B13F58239056B81577933EB624485B \r\n&lt;lightning:layoutItem size=&quot;12&quot; mediumDeviceSize=&quot;4&quot;&gt; \r\n{!v.account.AccountNumber} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; mediumDeviceSize=&quot;4&quot;&gt;{!v.account.Industry} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;\/lightning:layout&gt;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151171[]' id='answer-id-614440' class='answer   answerof-151171 ' value='614440'   \/><label for='answer-id-614440' id='answer-label-614440' class=' answer'><span>&lt;lightning:layout multipleRows=&quot;true&quot;&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; mediumDeviceSize=&quot;6&quot;&gt;{!v.account.Name} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; mediumDeviceSize=&quot;6&quot;&gt; \r\n{!v.account.AccountNumber} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;lightning:layoutItem size=&quot;12&quot; mediumDeviceSize=&quot;6&quot;&gt;{!v.account.Industry} \r\n&lt;\/lightning:layoutItem&gt; \r\n&lt;\/lightning:layout&gt;<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-10' style=';'><div id='questionWrap-10'  class='   watupro-question-id-151172'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>10. <\/span>A company's support process dictates that any time a Case is closed with a Status of 'Could not fix', an Engineering Review custom object record should be created and populated with information from the Case, the Contact, and any of the Products associated with the Case. <br \/>\r<br>What is the correct way to automate this using an Apex trigger?<\/div><input type='hidden' name='question_id[]' id='qID_10' value='151172' \/><input type='hidden' id='answerType151172' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151172[]' id='answer-id-614441' class='answer   answerof-151172 ' value='614441'   \/><label for='answer-id-614441' id='answer-label-614441' class=' answer'><span>An after update trigger that creates the Engineering Review record and inserts it<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151172[]' id='answer-id-614442' class='answer   answerof-151172 ' value='614442'   \/><label for='answer-id-614442' id='answer-label-614442' class=' answer'><span>A before update trigger that creates the Engineering Review record and inserts it<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151172[]' id='answer-id-614443' class='answer   answerof-151172 ' value='614443'   \/><label for='answer-id-614443' id='answer-label-614443' class=' answer'><span>An after upsert trigger that creates the Engineering Review record and inserts it<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151172[]' id='answer-id-614444' class='answer   answerof-151172 ' value='614444'   \/><label for='answer-id-614444' id='answer-label-614444' class=' answer'><span>A before upsert trigger that creates the Engineering Review record and inserts it<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-11' style=';'><div id='questionWrap-11'  class='   watupro-question-id-151173'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>11. <\/span>A company processes Orders within their Salesforce instance. When an Order\u2019s status changes to 'Paid' it must notify the company\u2019s order management system (OMS). The OMS exposes SOAP web service endpoints to listen for when to retrieve the data from Salesforce. <br \/>\r<br>What is the optimal method to implement this?<\/div><input type='hidden' name='question_id[]' id='qID_11' value='151173' \/><input type='hidden' id='answerType151173' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151173[]' id='answer-id-614445' class='answer   answerof-151173 ' value='614445'   \/><label for='answer-id-614445' id='answer-label-614445' class=' answer'><span>Generate the Enterprise WSDL and use it to make a callout to the OM<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151173[]' id='answer-id-614446' class='answer   answerof-151173 ' value='614446'   \/><label for='answer-id-614446' id='answer-label-614446' class=' answer'><span>Generate the Partner WSDL and use it to make a callout to the OM<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151173[]' id='answer-id-614447' class='answer   answerof-151173 ' value='614447'   \/><label for='answer-id-614447' id='answer-label-614447' class=' answer'><span>Create an Outbound Message that contains the session ID and send it to the OM<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151173[]' id='answer-id-614448' class='answer   answerof-151173 ' value='614448'   \/><label for='answer-id-614448' id='answer-label-614448' class=' answer'><span>Create an Apex trigger and make a callout to the OMS from the trigger.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-12' style=';'><div id='questionWrap-12'  class='   watupro-question-id-151174'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>12. <\/span>Consider the Apex controller above, that is called from a Lightning Aura Component. <br \/>\r<br><br><img decoding=\"async\" width=650 height=168 src=\"https:\/\/www.dumpsbase.com\/freedumps\/wp-content\/uploads\/2020\/10\/image008-21.jpg\" v:shapes=\"_x0000_i1028\"><br><br \/>\r<br>What is wrong with it?<\/div><input type='hidden' name='question_id[]' id='qID_12' value='151174' \/><input type='hidden' id='answerType151174' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151174[]' id='answer-id-614449' class='answer   answerof-151174 ' value='614449'   \/><label for='answer-id-614449' id='answer-label-614449' class=' answer'><span>Line 1: class must be global<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151174[]' id='answer-id-614450' class='answer   answerof-151174 ' value='614450'   \/><label for='answer-id-614450' id='answer-label-614450' class=' answer'><span>Lines 1 and 6: class and method must be global<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151174[]' id='answer-id-614451' class='answer   answerof-151174 ' value='614451'   \/><label for='answer-id-614451' id='answer-label-614451' class=' answer'><span>Line 6: method must be static<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151174[]' id='answer-id-614452' class='answer   answerof-151174 ' value='614452'   \/><label for='answer-id-614452' id='answer-label-614452' class=' answer'><span>Line 8: method must first serialize the list to JSON before returning<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-13' style=';'><div id='questionWrap-13'  class='   watupro-question-id-151175'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>13. <\/span>An Apex class does not achieve expected code coverage. The testSetup method explicitly calls a method in the Apex class. <br \/>\r<br>How can the developer generate the code coverage?<\/div><input type='hidden' name='question_id[]' id='qID_13' value='151175' \/><input type='hidden' id='answerType151175' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151175[]' id='answer-id-614453' class='answer   answerof-151175 ' value='614453'   \/><label for='answer-id-614453' id='answer-label-614453' class=' answer'><span>Verify the user has permissions passing a user into System.runAs().<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151175[]' id='answer-id-614454' class='answer   answerof-151175 ' value='614454'   \/><label for='answer-id-614454' id='answer-label-614454' class=' answer'><span>Call the Apex class method from a testMethod instead of the testSetup method.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151175[]' id='answer-id-614455' class='answer   answerof-151175 ' value='614455'   \/><label for='answer-id-614455' id='answer-label-614455' class=' answer'><span>Add @testVisible to the method in the class the developer is testing.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151175[]' id='answer-id-614456' class='answer   answerof-151175 ' value='614456'   \/><label for='answer-id-614456' id='answer-label-614456' class=' answer'><span>Use system.assert() in testSetup to verify the values are being returned.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-14' style=';'><div id='questionWrap-14'  class='   watupro-question-id-151176'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>14. <\/span>A developer is trying to decide between creating a Visualforce component or a Lightning component for a custom screen. <br \/>\r<br>Which functionality consideration impacts the final decision?<\/div><input type='hidden' name='question_id[]' id='qID_14' value='151176' \/><input type='hidden' id='answerType151176' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151176[]' id='answer-id-614457' class='answer   answerof-151176 ' value='614457'   \/><label for='answer-id-614457' id='answer-label-614457' class=' answer'><span>Does the screen need to be rendered as a PDF?<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151176[]' id='answer-id-614458' class='answer   answerof-151176 ' value='614458'   \/><label for='answer-id-614458' id='answer-label-614458' class=' answer'><span>Does the screen need to be accessible from the Lightning Experience UI?<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151176[]' id='answer-id-614459' class='answer   answerof-151176 ' value='614459'   \/><label for='answer-id-614459' id='answer-label-614459' class=' answer'><span>Will the screen make use of a JavaScript framework?<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151176[]' id='answer-id-614460' class='answer   answerof-151176 ' value='614460'   \/><label for='answer-id-614460' id='answer-label-614460' class=' answer'><span>Will the screen be accessed via a mobile app?<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-15' style=';'><div id='questionWrap-15'  class='   watupro-question-id-151177'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>15. <\/span>A developer wishes to improve runtime performance of Apex calls by caching results on the client. <br \/>\r<br>What is the best way to implement this?<\/div><input type='hidden' name='question_id[]' id='qID_15' value='151177' \/><input type='hidden' id='answerType151177' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151177[]' id='answer-id-614461' class='answer   answerof-151177 ' value='614461'   \/><label for='answer-id-614461' id='answer-label-614461' class=' answer'><span>Decorate the server-side method with @AuraEnabled(cacheable=true).<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151177[]' id='answer-id-614462' class='answer   answerof-151177 ' value='614462'   \/><label for='answer-id-614462' id='answer-label-614462' class=' answer'><span>Set a cookie in the browser for use upon return to the page.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151177[]' id='answer-id-614463' class='answer   answerof-151177 ' value='614463'   \/><label for='answer-id-614463' id='answer-label-614463' class=' answer'><span>Call the setStorable() method on the action in the JavaScript client-side code.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151177[]' id='answer-id-614464' class='answer   answerof-151177 ' value='614464'   \/><label for='answer-id-614464' id='answer-label-614464' class=' answer'><span>Decorate the server-side method with @AuraEnabled(storable=true).<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-16' style=';'><div id='questionWrap-16'  class='   watupro-question-id-151178'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>16. <\/span>A developer is asked to update data in an org based on new business rules. The new rules state that Accounts with the type set to 'Customer' should have a status of 'Active', and Accounts with the type set to 'Prospect' should have a status of 'Pending'. No other changes to data should be made. <br \/>\r<br>Which code block will accurately meet the business requirements?<\/div><input type='hidden' name='question_id[]' id='qID_16' value='151178' \/><input type='hidden' id='answerType151178' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151178[]' id='answer-id-614465' class='answer   answerof-151178 ' value='614465'   \/><label for='answer-id-614465' id='answer-label-614465' class=' answer'><span>Map&lt;String, String&gt; statusMap = new Map&lt;String, String&gt;{'Customer'=&gt;'Active', \r\n'Prospect'=&gt;'Pending'} \r\nList&lt;Account&gt; accountUpdates = new List&lt;Account&gt;(); \r\nfor ( Account a : [SELECT Id, Type FROM Account]){ \r\nif ( statusMap.containsKey(a.Type) ) { \r\na.Status = a.Type == 'Customer' ? 'Active' : 'Pending'; \r\n} \r\naccountUpdates.add(a); \r\n} \r\nupdate accountUpdates;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151178[]' id='answer-id-614466' class='answer   answerof-151178 ' value='614466'   \/><label for='answer-id-614466' id='answer-label-614466' class=' answer'><span>Map&lt;String, String&gt; statusMap = new Map&lt;String, String&gt;{'Customer'=&gt;'Active', \r\n'Prospect'=&gt;'Pending'} \r\nList&lt;Account&gt; accountUpdates = new List&lt;Account&gt;(); \r\nfor ( Account a : [SELECT Id, Type FROM Account WHERE Status IN \r\n:statusMap.keySet()]){ \r\na.Status = statusMap.get(a.Type); \r\naccountUpdates.add(a); \r\n07B13F58239056B81577933EB624485B \r\n} \r\nupdate accountUpdates;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151178[]' id='answer-id-614467' class='answer   answerof-151178 ' value='614467'   \/><label for='answer-id-614467' id='answer-label-614467' class=' answer'><span>List&lt;Account&gt; accountUpdates = new List&lt;Account&gt;(); \r\nfor ( Account a : [SELECT Id, Type FROM Account]){ \r\nif ( String.isNotBlank(a.Type) &amp;&amp; a.Type == 'Customer' ){ \r\na.Status = 'Active'; \r\n} \r\nif ( String.isNotBlank(a.Type) &amp;&amp; a.Type == 'Prospect' ){ \r\na.Status = 'Pending'; \r\n} \r\naccountUpdates.add(a); \r\n} \r\nupdate accountUpdades;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151178[]' id='answer-id-614468' class='answer   answerof-151178 ' value='614468'   \/><label for='answer-id-614468' id='answer-label-614468' class=' answer'><span>List&lt;Account&gt; accountUpdates = new List&lt;Account&gt;(); \r\nfor ( Account a : [SELECT Id, Type FROM Account]){ \r\na.Status = a.Type == 'Customer' ? 'Active' : 'Pending'; \r\naccountUpdates.add(a); \r\n} \r\nupdate accountUpdates;<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-17' style=';'><div id='questionWrap-17'  class='   watupro-question-id-151179'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>17. <\/span>What is a benefit of JavaScript remoting over Visualforce Remote Objects?<\/div><input type='hidden' name='question_id[]' id='qID_17' value='151179' \/><input type='hidden' id='answerType151179' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151179[]' id='answer-id-614469' class='answer   answerof-151179 ' value='614469'   \/><label for='answer-id-614469' id='answer-label-614469' class=' answer'><span>Allows for specified re-render targets<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151179[]' id='answer-id-614470' class='answer   answerof-151179 ' value='614470'   \/><label for='answer-id-614470' id='answer-label-614470' class=' answer'><span>Does not require any Apex code<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151179[]' id='answer-id-614471' class='answer   answerof-151179 ' value='614471'   \/><label for='answer-id-614471' id='answer-label-614471' class=' answer'><span>Does not require any JavaScript code<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151179[]' id='answer-id-614472' class='answer   answerof-151179 ' value='614472'   \/><label for='answer-id-614472' id='answer-label-614472' class=' answer'><span>Supports complex server-side application logic<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-18' style=';'><div id='questionWrap-18'  class='   watupro-question-id-151180'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>18. <\/span>A Lightning Component functions in preview mode and needs to be used inside a Lightning App Builder page, but it is not available. <br \/>\r<br>What change should be applied to the component?<\/div><input type='hidden' name='question_id[]' id='qID_18' value='151180' \/><input type='hidden' id='answerType151180' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151180[]' id='answer-id-614473' class='answer   answerof-151180 ' value='614473'   \/><label for='answer-id-614473' id='answer-label-614473' class=' answer'><span>Expose it in the markup using the implements and access attributes.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151180[]' id='answer-id-614474' class='answer   answerof-151180 ' value='614474'   \/><label for='answer-id-614474' id='answer-label-614474' class=' answer'><span>Delete the component, metadata, and Apex controller and recreate them.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151180[]' id='answer-id-614475' class='answer   answerof-151180 ' value='614475'   \/><label for='answer-id-614475' id='answer-label-614475' class=' answer'><span>Refresh the sandbox and upgrade it to the latest API version.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151180[]' id='answer-id-614476' class='answer   answerof-151180 ' value='614476'   \/><label for='answer-id-614476' id='answer-label-614476' class=' answer'><span>Look for errors in the logic in the JavaScript controller.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-19' style=';'><div id='questionWrap-19'  class='   watupro-question-id-151181'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>19. <\/span>Recently a Salesforce org's integration failed because it exceeded the number of allowed API calls in a 24-hour period. The integration handles a near real-time, complex insertion of data into Salesforce. <br \/>\r<br>The flow of data is as follows: <br \/>\r<br>- The integration looks up Contact records with a given email address and, if found, the integration adds a Task to the first matching Contact it finds. <br \/>\r<br>- If a match is not found, the integration looks up Lead records with a given email address and, if found, the integration adds a Task to the first matching Lead it finds. <br \/>\r<br>- If a match is not found, the integration will create a Lead and a Task for that newly created Lead. <br \/>\r<br>What is one way in which the integration can stay near real-time, but not exceed the number of allowed API calls in a 24-hour period?<\/div><input type='hidden' name='question_id[]' id='qID_19' value='151181' \/><input type='hidden' id='answerType151181' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151181[]' id='answer-id-614477' class='answer   answerof-151181 ' value='614477'   \/><label for='answer-id-614477' id='answer-label-614477' class=' answer'><span>Use the REST API as well as the SOAP API to effectively double the API calls allowed in a 24-hour period.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151181[]' id='answer-id-614478' class='answer   answerof-151181 ' value='614478'   \/><label for='answer-id-614478' id='answer-label-614478' class=' answer'><span>Create an Inbound Message that, using Flow, can do all of the logic the integration code was doing.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151181[]' id='answer-id-614479' class='answer   answerof-151181 ' value='614479'   \/><label for='answer-id-614479' id='answer-label-614479' class=' answer'><span>Write a custom Apex web service that, given an email address, does all of the logic the integration code was doing.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151181[]' id='answer-id-614480' class='answer   answerof-151181 ' value='614480'   \/><label for='answer-id-614480' id='answer-label-614480' class=' answer'><span>Create several Apex InboundEmailHandlers to accept calls from the third-party system, thus bypassing the API limits.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-20' style=';'><div id='questionWrap-20'  class='   watupro-question-id-151182'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>20. <\/span>A company wants to build a custom Lightning Component that will display a specified Account Field Set and that can only be added to the Account record page. <br \/>\r<br>Which design resource configuration should be used?<\/div><input type='hidden' name='question_id[]' id='qID_20' value='151182' \/><input type='hidden' id='answerType151182' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151182[]' id='answer-id-614481' class='answer   answerof-151182 ' value='614481'   \/><label for='answer-id-614481' id='answer-label-614481' class=' answer'><span>&lt;design:component label=&quot;Account FS Component&quot;&gt; \r\n&lt;design:attribute name=&quot;fieldSetName&quot; Label=&quot;Field Set Name&quot; \/&gt; \r\n&lt;sfdc:objects&gt; \r\n&lt;sfdc:object&gt;FieldSet&lt;\/sfdc:object&gt; \r\n&lt;\/sfdc:objects&gt; \r\n&lt;\/design:component&gt;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151182[]' id='answer-id-614482' class='answer   answerof-151182 ' value='614482'   \/><label for='answer-id-614482' id='answer-label-614482' class=' answer'><span>&lt;design:component label=&quot;Account FS Component&quot;&gt; \r\n&lt;design:attribute name=&quot;fieldSetName&quot; label=&quot;Field Set Name&quot; \/&gt; \r\n&lt;sfdc:objects&gt; \r\n&lt;sfdc:object&gt;Account&lt;\/sfdc:object&gt; \r\n&lt;\/sfdc:objects&gt; \r\n&lt;\/design:component&gt;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151182[]' id='answer-id-614483' class='answer   answerof-151182 ' value='614483'   \/><label for='answer-id-614483' id='answer-label-614483' class=' answer'><span>&lt;design:component label=&quot;Account FS Component&quot;&gt; \r\n&lt;aura:attribute name=&quot;fieldSetName&quot; label=&quot;Field Set Name&quot; \/&gt; \r\n&lt;sfdc:objects&gt; \r\n&lt;sfdc:object&gt;FieldSet&lt;\/sfdc:object&gt; \r\n&lt;\/sfdc:objects&gt; \r\n&lt;\/design:component&gt;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151182[]' id='answer-id-614484' class='answer   answerof-151182 ' value='614484'   \/><label for='answer-id-614484' id='answer-label-614484' class=' answer'><span>&lt;design:component label=&quot;Account FS Component&quot;&gt; \r\n&lt;aura:attribute name=&quot;fieldSetName&quot; label=&quot;Field Set Name&quot; \/&gt; \r\n07B13F58239056B81577933EB624485B \r\n&lt;sfdc:objects&gt; \r\n&lt;sfdc:object&gt;Account&lt;\/sfdc:object&gt; \r\n&lt;\/sfdc:objects&gt; \r\n&lt;\/design:component&gt;<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-21' style=';'><div id='questionWrap-21'  class='   watupro-question-id-151183'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>21. <\/span>A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration is periodically reporting errors. <br \/>\r<br>Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?<\/div><input type='hidden' name='question_id[]' id='qID_21' value='151183' \/><input type='hidden' id='answerType151183' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151183[]' id='answer-id-614485' class='answer   answerof-151183 ' value='614485'   \/><label for='answer-id-614485' id='answer-label-614485' class=' answer'><span>Remove the Apex Class from the Integration User's Profile.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151183[]' id='answer-id-614486' class='answer   answerof-151183 ' value='614486'   \/><label for='answer-id-614486' id='answer-label-614486' class=' answer'><span>Use the Database method with allOrNone set to False.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151183[]' id='answer-id-614487' class='answer   answerof-151183 ' value='614487'   \/><label for='answer-id-614487' id='answer-label-614487' class=' answer'><span>Use a Try\/Catch block after the insert statement.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151183[]' id='answer-id-614488' class='answer   answerof-151183 ' value='614488'   \/><label for='answer-id-614488' id='answer-label-614488' class=' answer'><span>Deactivate the Trigger before the Integration runs.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-22' style=';'><div id='questionWrap-22'  class='   watupro-question-id-151184'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>22. <\/span>An environment has two Apex Triggers: an after-update trigger on Account and an after-update trigger on Contact. The Account after-update trigger fires whenever an Account\u2019s address is updated, and it updates every associated Contact with that address. The Contact after-update trigger fires on every edit, and it updates every Campaign Member record related to the Contact with the Contact\u2019s state. <br \/>\r<br>Consider the following: A mass update of 200 Account records\u2019 addresses, where each Account has 50 Contacts. Each Contact has 1 Campaign Member. This means there are 10,000 Contact records across the Accounts and 10,000 Campaign Member records across the contacts. <br \/>\r<br>What will happen when the mass update occurs?<\/div><input type='hidden' name='question_id[]' id='qID_22' value='151184' \/><input type='hidden' id='answerType151184' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151184[]' id='answer-id-614489' class='answer   answerof-151184 ' value='614489'   \/><label for='answer-id-614489' id='answer-label-614489' class=' answer'><span>The mass update will fail, since the two triggers fire in the same context, thus exceeding the number of records processed by DML statements.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151184[]' id='answer-id-614490' class='answer   answerof-151184 ' value='614490'   \/><label for='answer-id-614490' id='answer-label-614490' class=' answer'><span>There will be no error, since each trigger fires within its own context and each trigger does not exceed the limit of the number of records processed by DML statements.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151184[]' id='answer-id-614491' class='answer   answerof-151184 ' value='614491'   \/><label for='answer-id-614491' id='answer-label-614491' class=' answer'><span>There will be no error, since the limit on the number of records processed by DML statements is 50,000.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151184[]' id='answer-id-614492' class='answer   answerof-151184 ' value='614492'   \/><label for='answer-id-614492' id='answer-label-614492' class=' answer'><span>The mass update of Account address will succeed, but the Contact address updates will fail due to exceeding number of records processed by DML statements.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-23' style=';'><div id='questionWrap-23'  class='   watupro-question-id-151185'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>23. <\/span>A company has many different unit test methods that create Account records as part of their data setup. A new required field was added to the Account and now all of the unit tests fail. <br \/>\r<br>What is the optimal way for a developer to fix the issue?<\/div><input type='hidden' name='question_id[]' id='qID_23' value='151185' \/><input type='hidden' id='answerType151185' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151185[]' id='answer-id-614493' class='answer   answerof-151185 ' value='614493'   \/><label for='answer-id-614493' id='answer-label-614493' class=' answer'><span>Add a before insert trigger on Account to set the value of the required field.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151185[]' id='answer-id-614494' class='answer   answerof-151185 ' value='614494'   \/><label for='answer-id-614494' id='answer-label-614494' class=' answer'><span>Create a TestDataFactory class that serves as the single place to create Accounts for unit tests and set the required field there.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151185[]' id='answer-id-614495' class='answer   answerof-151185 ' value='614495'   \/><label for='answer-id-614495' id='answer-label-614495' class=' answer'><span>Change the required field to be a validation rule that excludes the System Administrator profile.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151185[]' id='answer-id-614496' class='answer   answerof-151185 ' value='614496'   \/><label for='answer-id-614496' id='answer-label-614496' class=' answer'><span>Add the required field to the data setup for all of the unit tests.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-24' style=';'><div id='questionWrap-24'  class='   watupro-question-id-151186'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>24. <\/span>A user receives the generic &quot;An internal server error has occurred&quot; while interacting with a custom Lightning Component. <br \/>\r<br>What should the developer do to ensure a more meaningful message?<\/div><input type='hidden' name='question_id[]' id='qID_24' value='151186' \/><input type='hidden' id='answerType151186' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151186[]' id='answer-id-614497' class='answer   answerof-151186 ' value='614497'   \/><label for='answer-id-614497' id='answer-label-614497' class=' answer'><span>Add an onerror event handler to the tag.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151186[]' id='answer-id-614498' class='answer   answerof-151186 ' value='614498'   \/><label for='answer-id-614498' id='answer-label-614498' class=' answer'><span>Add an error-view component to the markup.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151186[]' id='answer-id-614499' class='answer   answerof-151186 ' value='614499'   \/><label for='answer-id-614499' id='answer-label-614499' class=' answer'><span>Use an AuraHandledException in a try\/catch block.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151186[]' id='answer-id-614500' class='answer   answerof-151186 ' value='614500'   \/><label for='answer-id-614500' id='answer-label-614500' class=' answer'><span>Use ProcessBuilder to catch the error.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-25' style=';'><div id='questionWrap-25'  class='   watupro-question-id-151187'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>25. <\/span>Consider the Apex class above that defines a RemoteAction used on a Visualforce search page. <br \/>\r<br>global with sharing class MyRemoter { <br \/>\r<br>public String accountName { get; set; } <br \/>\r<br>public static Account account { get; set; } <br \/>\r<br>public AccountRemoter() {} <br \/>\r<br>@RemoteAction <br \/>\r<br>global static Account getAccount(String accountName) { <br \/>\r<br>account = [SELECT Id, Name, NumberOfEmployees <br \/>\r<br>FROM Account WHERE Name = :accountName]; <br \/>\r<br>return account; <br \/>\r<br>} <br \/>\r<br>} <br \/>\r<br>Which code snippet will assert that the remote action returned the correct Account?<\/div><input type='hidden' name='question_id[]' id='qID_25' value='151187' \/><input type='hidden' id='answerType151187' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151187[]' id='answer-id-614501' class='answer   answerof-151187 ' value='614501'   \/><label for='answer-id-614501' id='answer-label-614501' class=' answer'><span>Account a = controller.getAccount('TestAccount'); \r\n07B13F58239056B81577933EB624485B \r\nSystem.assertEquals( 'TestAccount', a.Name );<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151187[]' id='answer-id-614502' class='answer   answerof-151187 ' value='614502'   \/><label for='answer-id-614502' id='answer-label-614502' class=' answer'><span>MyRemoter remote = new MyRemoter(); \r\nAccount a = remote.getAccount('TestAccount'); \r\nSystem.assertEquals( 'TestAccount', a.Name );<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151187[]' id='answer-id-614503' class='answer   answerof-151187 ' value='614503'   \/><label for='answer-id-614503' id='answer-label-614503' class=' answer'><span>MyRemoter remote = new MyRemoter('TestAccount'); \r\nAccount a = remote.getAccount (); \r\nSystem.assertEquals( 'TestAccount', a.Name );<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151187[]' id='answer-id-614504' class='answer   answerof-151187 ' value='614504'   \/><label for='answer-id-614504' id='answer-label-614504' class=' answer'><span>Account a = MyRemoter.getAccount('TestAccount'); \r\nSystem.assertEquals( 'TestAccount', a.Name );<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-26' style=';'><div id='questionWrap-26'  class='   watupro-question-id-151188'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>26. <\/span>A custom Visualforce controller calls the ApexPages.addMessage() method, but no messages are rendering on the page. <br \/>\r<br>Which component should be added to the Visualforce page to display the message?<\/div><input type='hidden' name='question_id[]' id='qID_26' value='151188' \/><input type='hidden' id='answerType151188' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151188[]' id='answer-id-614505' class='answer   answerof-151188 ' value='614505'   \/><label for='answer-id-614505' id='answer-label-614505' class=' answer'><span>&lt;apex:message for=&quot;info&quot;\/&gt;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151188[]' id='answer-id-614506' class='answer   answerof-151188 ' value='614506'   \/><label for='answer-id-614506' id='answer-label-614506' class=' answer'><span>&lt;apex:facet name=&quot;messages&quot; \/&gt;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151188[]' id='answer-id-614507' class='answer   answerof-151188 ' value='614507'   \/><label for='answer-id-614507' id='answer-label-614507' class=' answer'><span>&lt;apex:pageMessage severity=&quot;info&quot; \/&gt;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151188[]' id='answer-id-614508' class='answer   answerof-151188 ' value='614508'   \/><label for='answer-id-614508' id='answer-label-614508' class=' answer'><span>&lt;apex:pageMessages \/&gt;<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-27' style=';'><div id='questionWrap-27'  class='   watupro-question-id-151189'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>27. <\/span>A developer is writing code that requires making callouts to an external web service. <br \/>\r<br>Which scenario necessitates that the callout be made in an @future method?<\/div><input type='hidden' name='question_id[]' id='qID_27' value='151189' \/><input type='hidden' id='answerType151189' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151189[]' id='answer-id-614509' class='answer   answerof-151189 ' value='614509'   \/><label for='answer-id-614509' id='answer-label-614509' class=' answer'><span>The callouts will be made in an Apex Trigger.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151189[]' id='answer-id-614510' class='answer   answerof-151189 ' value='614510'   \/><label for='answer-id-614510' id='answer-label-614510' class=' answer'><span>The callouts will be made in an Apex Test class.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151189[]' id='answer-id-614511' class='answer   answerof-151189 ' value='614511'   \/><label for='answer-id-614511' id='answer-label-614511' class=' answer'><span>The callout could take longer than 60 seconds to complete.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151189[]' id='answer-id-614512' class='answer   answerof-151189 ' value='614512'   \/><label for='answer-id-614512' id='answer-label-614512' class=' answer'><span>Over 10 callouts will be made in a single transaction.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-28' style=';'><div id='questionWrap-28'  class='   watupro-question-id-151190'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>28. <\/span>A developer wants to call an Apex Server-side Controller from a Lightning Aura Component. <br \/>\r<br>What are two limitations to the data being returned by the Controller? (Choose two.)<\/div><input type='hidden' name='question_id[]' id='qID_28' value='151190' \/><input type='hidden' id='answerType151190' value='checkbox'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151190[]' id='answer-id-614513' class='answer   answerof-151190 ' value='614513'   \/><label for='answer-id-614513' id='answer-label-614513' class=' answer'><span>A custom Apex Class can be returned, but only the values of public instance properties and methods annotated with @AuraEnabled are serialized and returned.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151190[]' id='answer-id-614514' class='answer   answerof-151190 ' value='614514'   \/><label for='answer-id-614514' id='answer-label-614514' class=' answer'><span>Lists of Custom Apex Classes cannot be returned by Apex Controllers called by Lightning Aura Components.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151190[]' id='answer-id-614515' class='answer   answerof-151190 ' value='614515'   \/><label for='answer-id-614515' id='answer-label-614515' class=' answer'><span>Basic data types are supported, but defaults, such as maximum size for a number, are defined by the objects that they map to.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151190[]' id='answer-id-614516' class='answer   answerof-151190 ' value='614516'   \/><label for='answer-id-614516' id='answer-label-614516' class=' answer'><span>Only Basic data types and sObjects are supported as return types for Apex Controllers called by Lightning Aura Components.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-29' style=';'><div id='questionWrap-29'  class='   watupro-question-id-151191'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>29. <\/span>Which interface needs to be implemented by a Lightning Component so that it may be displayed in modal dialog by clicking a button on a Lightning Record page?<\/div><input type='hidden' name='question_id[]' id='qID_29' value='151191' \/><input type='hidden' id='answerType151191' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151191[]' id='answer-id-614517' class='answer   answerof-151191 ' value='614517'   \/><label for='answer-id-614517' id='answer-label-614517' class=' answer'><span>force:lightningQuickAction<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151191[]' id='answer-id-614518' class='answer   answerof-151191 ' value='614518'   \/><label for='answer-id-614518' id='answer-label-614518' class=' answer'><span>lightning:quickAction<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151191[]' id='answer-id-614519' class='answer   answerof-151191 ' value='614519'   \/><label for='answer-id-614519' id='answer-label-614519' class=' answer'><span>lightning:editAction<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151191[]' id='answer-id-614520' class='answer   answerof-151191 ' value='614520'   \/><label for='answer-id-614520' id='answer-label-614520' class=' answer'><span>force:lightningEditAction<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-30' style=';'><div id='questionWrap-30'  class='   watupro-question-id-151192'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>30. <\/span>Sometimes events on Salesforce need to be handled by an external system due to the scale or type of process being executed. Consider the use case of a user in Salesforce needing to get pricing for an order they are building in Salesforce while on the phone with a customer. <br \/>\r<br>The pricing logic already exists in a third-party system. Instead of recreating this logic in Salesforce, it will be leveraged by making a request of the third-party system. The response, in this case the pricing, will be returned and stored back in Salesforce. <br \/>\r<br>What is the optimal solution?<\/div><input type='hidden' name='question_id[]' id='qID_30' value='151192' \/><input type='hidden' id='answerType151192' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151192[]' id='answer-id-614521' class='answer   answerof-151192 ' value='614521'   \/><label for='answer-id-614521' id='answer-label-614521' class=' answer'><span>A Visualforce page that can make a real-time Apex callout to display and save the pricing back in Salesforce<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151192[]' id='answer-id-614522' class='answer   answerof-151192 ' value='614522'   \/><label for='answer-id-614522' id='answer-label-614522' class=' answer'><span>An Apex trigger that upon saving the Order will make a real-time Apex callout, saving the pricing back in Salesforce<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151192[]' id='answer-id-614523' class='answer   answerof-151192 ' value='614523'   \/><label for='answer-id-614523' id='answer-label-614523' class=' answer'><span>A Process Builder process and Outbound Message to fetch the pricing upon save and store the pricing in Salesforce<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151192[]' id='answer-id-614524' class='answer   answerof-151192 ' value='614524'   \/><label for='answer-id-614524' id='answer-label-614524' class=' answer'><span>An ETL tool to process batches of newly saved Orders every few minutes to store the pricing back in Salesforce<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-31' style=';'><div id='questionWrap-31'  class='   watupro-question-id-151193'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>31. <\/span>What are three benefits of using declarative customizations over code? (Choose three.)<\/div><input type='hidden' name='question_id[]' id='qID_31' value='151193' \/><input type='hidden' id='answerType151193' value='checkbox'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151193[]' id='answer-id-614525' class='answer   answerof-151193 ' value='614525'   \/><label for='answer-id-614525' id='answer-label-614525' class=' answer'><span>Declarative customizations cannot generate run time errors.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151193[]' id='answer-id-614526' class='answer   answerof-151193 ' value='614526'   \/><label for='answer-id-614526' id='answer-label-614526' class=' answer'><span>Declarative customizations will automatically update with each Salesforce release.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151193[]' id='answer-id-614527' class='answer   answerof-151193 ' value='614527'   \/><label for='answer-id-614527' id='answer-label-614527' class=' answer'><span>Declarative customizations do not require user testing.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151193[]' id='answer-id-614528' class='answer   answerof-151193 ' value='614528'   \/><label for='answer-id-614528' id='answer-label-614528' class=' answer'><span>Declarative customizations are not subject to governor limits.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151193[]' id='answer-id-614529' class='answer   answerof-151193 ' value='614529'   \/><label for='answer-id-614529' id='answer-label-614529' class=' answer'><span>Declarative customizations generally require less maintenance.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-32' style=';'><div id='questionWrap-32'  class='   watupro-question-id-151194'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>32. <\/span>Which use case can only be performed by using asynchronous Apex?<\/div><input type='hidden' name='question_id[]' id='qID_32' value='151194' \/><input type='hidden' id='answerType151194' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151194[]' id='answer-id-614530' class='answer   answerof-151194 ' value='614530'   \/><label for='answer-id-614530' id='answer-label-614530' class=' answer'><span>Scheduling a batch process to complete in the future<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151194[]' id='answer-id-614531' class='answer   answerof-151194 ' value='614531'   \/><label for='answer-id-614531' id='answer-label-614531' class=' answer'><span>Processing high volumes of records<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151194[]' id='answer-id-614532' class='answer   answerof-151194 ' value='614532'   \/><label for='answer-id-614532' id='answer-label-614532' class=' answer'><span>Updating a record after the completion of an insert<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151194[]' id='answer-id-614533' class='answer   answerof-151194 ' value='614533'   \/><label for='answer-id-614533' id='answer-label-614533' class=' answer'><span>Calling a web service from an Apex trigger<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-33' style=';'><div id='questionWrap-33'  class='   watupro-question-id-151195'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>33. <\/span>The test method above calls an @future method that increments the Number_of_Times_Viewed__c value. The assertion is failing because the Number_of_Times_Viewed__c equals 0. <br \/>\r<br>@isTest <br \/>\r<br>static void testIncrement() { <br \/>\r<br>Account acct = new Account(Name = 'Test'); <br \/>\r<br>acct.Number_Of_Times_Viewed__c = 0; <br \/>\r<br>insert acct; <br \/>\r<br>AuditUtil.incrementViewed(acct.Id); <br \/>\r<br>Account acctAfter = [SELECT Number_Of_Times_Viewed__c FROM Account WHERE Id = <br \/>\r<br>:acct.Id][0] <br \/>\r<br>System.assertEquals(1, acctAfter.Number_Of_Times_Viewed__c); <br \/>\r<br>} <br \/>\r<br>What is the optimal way to fix this?<\/div><input type='hidden' name='question_id[]' id='qID_33' value='151195' \/><input type='hidden' id='answerType151195' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151195[]' id='answer-id-614534' class='answer   answerof-151195 ' value='614534'   \/><label for='answer-id-614534' id='answer-label-614534' class=' answer'><span>Change the initialization to acct.Number_Of_Times_Viewed__c = 1.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151195[]' id='answer-id-614535' class='answer   answerof-151195 ' value='614535'   \/><label for='answer-id-614535' id='answer-label-614535' class=' answer'><span>Add Test.startTest() before and Test.stopTest() after AuditUtil.incrementViewed.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151195[]' id='answer-id-614536' class='answer   answerof-151195 ' value='614536'   \/><label for='answer-id-614536' id='answer-label-614536' class=' answer'><span>Add Test.startTest() before and Test.stopTest() after insert acct.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151195[]' id='answer-id-614537' class='answer   answerof-151195 ' value='614537'   \/><label for='answer-id-614537' id='answer-label-614537' class=' answer'><span>Change the assertion to System.assertEquals(0, acctAfter.Number_Of_Times_Viewed__c).<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-34' style=';'><div id='questionWrap-34'  class='   watupro-question-id-151196'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>34. <\/span>A company represents their customers as Accounts that have an External ID field called Customer_Number__c. They have a custom Order (Order__c) object, with a Lookup to Account, to represent Orders that are placed in their external order management system (OMS). When an order is fulfilled in the OMS, a REST call to Salesforce should be made that creates an Order record in Salesforce and relates it to the proper Account. <br \/>\r<br>What is the optimal way to implement this?<\/div><input type='hidden' name='question_id[]' id='qID_34' value='151196' \/><input type='hidden' id='answerType151196' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151196[]' id='answer-id-614538' class='answer   answerof-151196 ' value='614538'   \/><label for='answer-id-614538' id='answer-label-614538' class=' answer'><span>Perform a REST GET on the Account and a REST POST to update the Order__c with the Account\u2019s record I<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151196[]' id='answer-id-614539' class='answer   answerof-151196 ' value='614539'   \/><label for='answer-id-614539' id='answer-label-614539' class=' answer'><span>Perform a REST PATCH to upsert the Order__c and specify the Account\u2019s Customer_Number__c in it.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151196[]' id='answer-id-614540' class='answer   answerof-151196 ' value='614540'   \/><label for='answer-id-614540' id='answer-label-614540' class=' answer'><span>Perform a REST POST to update the Order__c and specify the Account\u2019s Customer_Number__c in it.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151196[]' id='answer-id-614541' class='answer   answerof-151196 ' value='614541'   \/><label for='answer-id-614541' id='answer-label-614541' class=' answer'><span>Perform a REST GET on the Account and a REST PATCH to upsert the Order__c with the Account\u2019s record I<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-35' style=';'><div id='questionWrap-35'  class='   watupro-question-id-151197'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>35. <\/span>What are three benefits of using static resources in Visualforce and Lightning Components? (Choose three.)<\/div><input type='hidden' name='question_id[]' id='qID_35' value='151197' \/><input type='hidden' id='answerType151197' value='checkbox'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151197[]' id='answer-id-614542' class='answer   answerof-151197 ' value='614542'   \/><label for='answer-id-614542' id='answer-label-614542' class=' answer'><span>Static resource files are automatically minified.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151197[]' id='answer-id-614543' class='answer   answerof-151197 ' value='614543'   \/><label for='answer-id-614543' id='answer-label-614543' class=' answer'><span>Static resource files can be referenced by using the $Resource global variable instead of hardcoded IDs.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151197[]' id='answer-id-614544' class='answer   answerof-151197 ' value='614544'   \/><label for='answer-id-614544' id='answer-label-614544' class=' answer'><span>Static resource files can be packaged into a collection of related files in a zip or jar archive.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151197[]' id='answer-id-614545' class='answer   answerof-151197 ' value='614545'   \/><label for='answer-id-614545' id='answer-label-614545' class=' answer'><span>Static resource files do not count against an organization\u2019s quota of data storage.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151197[]' id='answer-id-614546' class='answer   answerof-151197 ' value='614546'   \/><label for='answer-id-614546' id='answer-label-614546' class=' answer'><span>Relative paths can be used in files in static resource archives to refer to other content within the archive.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-36' style=';'><div id='questionWrap-36'  class='   watupro-question-id-151198'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>36. <\/span>A company has a native iOS app for placing orders that needs to connect to Salesforce to retrieve consolidated information from many different objects in a JSON format. <br \/>\r<br>Which is the optimal method to implement this in Salesforce?<\/div><input type='hidden' name='question_id[]' id='qID_36' value='151198' \/><input type='hidden' id='answerType151198' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151198[]' id='answer-id-614547' class='answer   answerof-151198 ' value='614547'   \/><label for='answer-id-614547' id='answer-label-614547' class=' answer'><span>Apex REST Web Service<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151198[]' id='answer-id-614548' class='answer   answerof-151198 ' value='614548'   \/><label for='answer-id-614548' id='answer-label-614548' class=' answer'><span>Apex SOAP Web Service<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151198[]' id='answer-id-614549' class='answer   answerof-151198 ' value='614549'   \/><label for='answer-id-614549' id='answer-label-614549' class=' answer'><span>Apex SOAP Callout<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151198[]' id='answer-id-614550' class='answer   answerof-151198 ' value='614550'   \/><label for='answer-id-614550' id='answer-label-614550' class=' answer'><span>Apex REST Callout<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-37' style=';'><div id='questionWrap-37'  class='   watupro-question-id-151199'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>37. <\/span>A company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an Opportunity\u2019s Probability is greater than 50%. <br \/>\r<br>What is the optimal way to automate this?<\/div><input type='hidden' name='question_id[]' id='qID_37' value='151199' \/><input type='hidden' id='answerType151199' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151199[]' id='answer-id-614551' class='answer   answerof-151199 ' value='614551'   \/><label for='answer-id-614551' id='answer-label-614551' class=' answer'><span>Use an Apex Trigger on Opportunity.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151199[]' id='answer-id-614552' class='answer   answerof-151199 ' value='614552'   \/><label for='answer-id-614552' id='answer-label-614552' class=' answer'><span>Build a Flow on Opportunity.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151199[]' id='answer-id-614553' class='answer   answerof-151199 ' value='614553'   \/><label for='answer-id-614553' id='answer-label-614553' class=' answer'><span>Create a Workflow on Opportunity.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151199[]' id='answer-id-614554' class='answer   answerof-151199 ' value='614554'   \/><label for='answer-id-614554' id='answer-label-614554' class=' answer'><span>Build a Process on Opportunity.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-38' style=';'><div id='questionWrap-38'  class='   watupro-question-id-151200'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>38. <\/span>A company represents their customers as Accounts in Salesforce. All customers have a unique Customer_Number__c that is unique across all of the company\u2019s systems. They also have a custom Invoice__c object, with a Lookup to Account, to represent invoices that are sent out from their external system. This company wants to integrate invoice data back into Salesforce so Sales Reps can see when a customer is paying their bills on time. <br \/>\r<br>What is the optimal way to implement this?<\/div><input type='hidden' name='question_id[]' id='qID_38' value='151200' \/><input type='hidden' id='answerType151200' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151200[]' id='answer-id-614555' class='answer   answerof-151200 ' value='614555'   \/><label for='answer-id-614555' id='answer-label-614555' class=' answer'><span>Ensure Customer_Number__c is an External ID and that a custom field Invoice_Number__c is an External ID and Upsert invoice data nightly.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151200[]' id='answer-id-614556' class='answer   answerof-151200 ' value='614556'   \/><label for='answer-id-614556' id='answer-label-614556' class=' answer'><span>Query the Account Object upon each call to insert invoice data to fetch the Salesforce ID corresponding to the Customer Number on the invoice.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151200[]' id='answer-id-614557' class='answer   answerof-151200 ' value='614557'   \/><label for='answer-id-614557' id='answer-label-614557' class=' answer'><span>Create a cross-reference table in the custom invoicing system with the Salesforce Account ID of each Customer and insert invoice data nightly.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151200[]' id='answer-id-614558' class='answer   answerof-151200 ' value='614558'   \/><label for='answer-id-614558' id='answer-label-614558' class=' answer'><span>Use Salesforce Connect and external data objects to seamlessly import the invoice data into Salesforce without custom code.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-39' style=';'><div id='questionWrap-39'  class='   watupro-question-id-151201'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>39. <\/span>An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders. <br \/>\r<br>What is the optimal method for a developer to troubleshoot this?<\/div><input type='hidden' name='question_id[]' id='qID_39' value='151201' \/><input type='hidden' id='answerType151201' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151201[]' id='answer-id-614559' class='answer   answerof-151201 ' value='614559'   \/><label for='answer-id-614559' id='answer-label-614559' class=' answer'><span>Set up debug logging for every Sales Rep, then monitor the logs for errors and exceptions.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151201[]' id='answer-id-614560' class='answer   answerof-151201 ' value='614560'   \/><label for='answer-id-614560' id='answer-label-614560' class=' answer'><span>Turn off all Workflow Rules, then turn them on one at time to see which one causes the error.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151201[]' id='answer-id-614561' class='answer   answerof-151201 ' value='614561'   \/><label for='answer-id-614561' id='answer-label-614561' class=' answer'><span>Add system.debug() statements to the code and use the Developer Console logs to trace the code.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151201[]' id='answer-id-614562' class='answer   answerof-151201 ' value='614562'   \/><label for='answer-id-614562' id='answer-label-614562' class=' answer'><span>Run the Apex Test Classes for the Apex trigger to ensure the code still has sufficient code coverage.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-40' style=';'><div id='questionWrap-40'  class='   watupro-question-id-151202'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>40. <\/span>A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set. <br \/>\r<br>What is the optimal way to achieve this?<\/div><input type='hidden' name='question_id[]' id='qID_40' value='151202' \/><input type='hidden' id='answerType151202' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151202[]' id='answer-id-614563' class='answer   answerof-151202 ' value='614563'   \/><label for='answer-id-614563' id='answer-label-614563' class=' answer'><span>Create a Process, call an Apex @future(callout=true) method from it, and make the callout from that Apex method.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151202[]' id='answer-id-614564' class='answer   answerof-151202 ' value='614564'   \/><label for='answer-id-614564' id='answer-label-614564' class=' answer'><span>Create a Process, call an Apex @InvocableMethod from it, and make the callout from that Apex method.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151202[]' id='answer-id-614565' class='answer   answerof-151202 ' value='614565'   \/><label for='answer-id-614565' id='answer-label-614565' class=' answer'><span>Create an after insert trigger, call an Apex @InvocableMethod method from it, and make the callout from that Apex method.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151202[]' id='answer-id-614566' class='answer   answerof-151202 ' value='614566'   \/><label for='answer-id-614566' id='answer-label-614566' class=' answer'><span>Create an after insert trigger, call an @future(callout=true) method from it, and make the callout from that Apex method.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-41' style=';'><div id='questionWrap-41'  class='   watupro-question-id-151203'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>41. <\/span>Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?<\/div><input type='hidden' name='question_id[]' id='qID_41' value='151203' \/><input type='hidden' id='answerType151203' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151203[]' id='answer-id-614567' class='answer   answerof-151203 ' value='614567'   \/><label for='answer-id-614567' id='answer-label-614567' class=' answer'><span>insert (records, false)<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151203[]' id='answer-id-614568' class='answer   answerof-151203 ' value='614568'   \/><label for='answer-id-614568' id='answer-label-614568' class=' answer'><span>Database.insert(records, false)<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151203[]' id='answer-id-614569' class='answer   answerof-151203 ' value='614569'   \/><label for='answer-id-614569' id='answer-label-614569' class=' answer'><span>Database.insert(records, true)<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151203[]' id='answer-id-614570' class='answer   answerof-151203 ' value='614570'   \/><label for='answer-id-614570' id='answer-label-614570' class=' answer'><span>insert records<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-42' style=';'><div id='questionWrap-42'  class='   watupro-question-id-151204'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>42. <\/span>Which two relationship queries use the proper syntax? (Choose two.)<\/div><input type='hidden' name='question_id[]' id='qID_42' value='151204' \/><input type='hidden' id='answerType151204' value='checkbox'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151204[]' id='answer-id-614571' class='answer   answerof-151204 ' value='614571'   \/><label for='answer-id-614571' id='answer-label-614571' class=' answer'><span>SELECT Id, Name, Account__r.Name FROM Contact WHERE Account__r.Industry ='Media'<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151204[]' id='answer-id-614572' class='answer   answerof-151204 ' value='614572'   \/><label for='answer-id-614572' id='answer-label-614572' class=' answer'><span>SELECT Name, (SELECT LastName FROM Contacts__r) FROM Account<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151204[]' id='answer-id-614573' class='answer   answerof-151204 ' value='614573'   \/><label for='answer-id-614573' id='answer-label-614573' class=' answer'><span>SELECT Name, (SELECT LastName FROM Contacts) FROM Account<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151204[]' id='answer-id-614574' class='answer   answerof-151204 ' value='614574'   \/><label for='answer-id-614574' id='answer-label-614574' class=' answer'><span>SELECT Id, Name, Account.Name FROM Contact WHERE Account.Industry = 'Media'<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-43' style=';'><div id='questionWrap-43'  class='   watupro-question-id-151205'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>43. <\/span>A developer built a Component to be used at the front desk for quests to self-register upon arrival at a kiosk. The developer is now asked to create a Component for the Utility Tray to alert Users whenever a guest has arrived at the front desk. <br \/>\r<br>What should be used?<\/div><input type='hidden' name='question_id[]' id='qID_43' value='151205' \/><input type='hidden' id='answerType151205' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151205[]' id='answer-id-614575' class='answer   answerof-151205 ' value='614575'   \/><label for='answer-id-614575' id='answer-label-614575' class=' answer'><span>Application Event<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151205[]' id='answer-id-614576' class='answer   answerof-151205 ' value='614576'   \/><label for='answer-id-614576' id='answer-label-614576' class=' answer'><span>DML Operation<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151205[]' id='answer-id-614577' class='answer   answerof-151205 ' value='614577'   \/><label for='answer-id-614577' id='answer-label-614577' class=' answer'><span>Component Event<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151205[]' id='answer-id-614578' class='answer   answerof-151205 ' value='614578'   \/><label for='answer-id-614578' id='answer-label-614578' class=' answer'><span>ChangeLog<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-44' style=';'><div id='questionWrap-44'  class='   watupro-question-id-151206'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>44. <\/span>Given a list of Opportunity records named opportunityList, which code snippet is best for querying all Contacts of the Opportunity\u2019s Account?<\/div><input type='hidden' name='question_id[]' id='qID_44' value='151206' \/><input type='hidden' id='answerType151206' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151206[]' id='answer-id-614579' class='answer   answerof-151206 ' value='614579'   \/><label for='answer-id-614579' id='answer-label-614579' class=' answer'><span>List &lt;Contact&gt; contactList = new List &lt;Contact&gt;(); \r\nfor(Opportunity o : opportunityList){ \r\nAccount a = [SELECT Id, (SELECT Id FROM Contacts) FROM Account WHERE Id = \r\n:o.AccountId] \r\ncontactList.addAll(a.Contacts); \r\n)<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151206[]' id='answer-id-614580' class='answer   answerof-151206 ' value='614580'   \/><label for='answer-id-614580' id='answer-label-614580' class=' answer'><span>List &lt;Contact&gt; contactList = new List &lt;Contact&gt;(); \r\nSet &lt;Id&gt; accountIds = new Set &lt;Id&gt; (); \r\nfor (Opportunity o : opportunityList){ \r\ncontactIds.add(o.ContactId); \r\n} \r\nfor(Contact c : [SELECT Id FROM Contact WHERE Id IN :contactIds]){ \r\ncontactList.add(c); \r\n}<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151206[]' id='answer-id-614581' class='answer   answerof-151206 ' value='614581'   \/><label for='answer-id-614581' id='answer-label-614581' class=' answer'><span>List &lt;Contact&gt; contactList = new List &lt;Contact&gt;(); \r\nSet &lt;Id&gt; accountIds = new Set &lt;Id&gt; (); \r\nfor(Opportunity o : opportunityList){ \r\naccountIds.add(o.AccountId); \r\n} \r\nfor(Account a : [SELECT Id, (SELECT Id FROM Contacts) FROM Account WHERE Id IN \r\n:accountIds]){ \r\n07B13F58239056B81577933EB624485B \r\ncontactList.addAll(a.Contacts); \r\n}<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151206[]' id='answer-id-614582' class='answer   answerof-151206 ' value='614582'   \/><label for='answer-id-614582' id='answer-label-614582' class=' answer'><span>List &lt;Contact&gt; contactList = new List &lt;Contact&gt;(); \r\nfor ( Contact c : [SELECT Id FROM Contact WHERE AccountId IN \r\n:opportunityList.AccountId] ){ \r\ncontactList.add(c); \r\n}<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-45' style=';'><div id='questionWrap-45'  class='   watupro-question-id-151207'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>45. <\/span>An Apex Trigger creates a Contract record every time an Opportunity record is marked as Closed and Won. This trigger is working great, except (due to a recent acquisition) historical Opportunity records need to be loaded into the Salesforce instance. <br \/>\r<br>When a test batch of records is loaded, the Apex Trigger creates Contract records. A developer is tasked with preventing Contract records from being created when mass loading the Opportunities, but the daily users still need to have the Contract records created. <br \/>\r<br>What is the most extendable way to update the Apex Trigger to accomplish this?<\/div><input type='hidden' name='question_id[]' id='qID_45' value='151207' \/><input type='hidden' id='answerType151207' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151207[]' id='answer-id-614583' class='answer   answerof-151207 ' value='614583'   \/><label for='answer-id-614583' id='answer-label-614583' class=' answer'><span>Use a Hierarchy Custom Setting to disable the Trigger for the user who does the data loading.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151207[]' id='answer-id-614584' class='answer   answerof-151207 ' value='614584'   \/><label for='answer-id-614584' id='answer-label-614584' class=' answer'><span>Use a List Custom Setting to disable the Trigger for the user who does the data loading.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151207[]' id='answer-id-614585' class='answer   answerof-151207 ' value='614585'   \/><label for='answer-id-614585' id='answer-label-614585' class=' answer'><span>Add the Profile Id of the user who does the data loading to the Trigger so the Trigger won\u2019t fire for this user.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151207[]' id='answer-id-614586' class='answer   answerof-151207 ' value='614586'   \/><label for='answer-id-614586' id='answer-label-614586' class=' answer'><span>Add a Validation Rule to the Contract to prevent Contract creation by the user who does the data loading.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-46' style=';'><div id='questionWrap-46'  class='   watupro-question-id-151208'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>46. <\/span>Business rules require a Contact to always be created when a new Account is created. <br \/>\r<br>What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?<\/div><input type='hidden' name='question_id[]' id='qID_46' value='151208' \/><input type='hidden' id='answerType151208' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151208[]' id='answer-id-614587' class='answer   answerof-151208 ' value='614587'   \/><label for='answer-id-614587' id='answer-label-614587' class=' answer'><span>Use the Database.Delete method if the Contact insertion fails.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151208[]' id='answer-id-614588' class='answer   answerof-151208 ' value='614588'   \/><label for='answer-id-614588' id='answer-label-614588' class=' answer'><span>Use the Database.Insert method with allOrNone set to False.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151208[]' id='answer-id-614589' class='answer   answerof-151208 ' value='614589'   \/><label for='answer-id-614589' id='answer-label-614589' class=' answer'><span>Disable Validation rules on Contacts and set default values with a Trigger.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151208[]' id='answer-id-614590' class='answer   answerof-151208 ' value='614590'   \/><label for='answer-id-614590' id='answer-label-614590' class=' answer'><span>Use setSavePoint() and rollback() with a try\/catch block.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-47' style=';'><div id='questionWrap-47'  class='   watupro-question-id-151209'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>47. <\/span>Consider the above trigger intended to assign the Account to the manager of the Account\u2019s region. <br \/>\r<br>trigger AssignOwnerByRegion on Account ( before insert, before update ) <br \/>\r<br>{ <br \/>\r<br>List&lt;Account&gt; accountList = new List&lt;Account&gt;(); <br \/>\r<br>for( Account anAccount : trigger.new ) <br \/>\r<br>{ <br \/>\r<br>Region__c theRegion = [ <br \/>\r<br>SELECT Id, Name, Region_Manager__c <br \/>\r<br>FROM Region__c <br \/>\r<br>WHERE Name = :anAccount.Region_Name__c <br \/>\r<br>]; <br \/>\r<br>anAccount.OwnerId = theRegion.Region_Manager__c; <br \/>\r<br>accountList.add( anAccount ); <br \/>\r<br>} <br \/>\r<br>update accountList; <br \/>\r<br>} <br \/>\r<br>Which two changes should a developer make in this trigger to adhere to best practices? (Choose two.)<\/div><input type='hidden' name='question_id[]' id='qID_47' value='151209' \/><input type='hidden' id='answerType151209' value='checkbox'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151209[]' id='answer-id-614591' class='answer   answerof-151209 ' value='614591'   \/><label for='answer-id-614591' id='answer-label-614591' class=' answer'><span>Use a Map to cache the results of the Region__c query by Id.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151209[]' id='answer-id-614592' class='answer   answerof-151209 ' value='614592'   \/><label for='answer-id-614592' id='answer-label-614592' class=' answer'><span>Move the Region__c query to outside the loop.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151209[]' id='answer-id-614593' class='answer   answerof-151209 ' value='614593'   \/><label for='answer-id-614593' id='answer-label-614593' class=' answer'><span>Remove the last line updating accountList as it is not needed.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151209[]' id='answer-id-614594' class='answer   answerof-151209 ' value='614594'   \/><label for='answer-id-614594' id='answer-label-614594' class=' answer'><span>Use a Map accountMap instead of List accountList.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-48' style=';'><div id='questionWrap-48'  class='   watupro-question-id-151210'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>48. <\/span>Which two of the examples above have correct System.debug statements? (Choose two.) <br \/>\r<br>Example 1: <br \/>\r<br>AggregateResult[] groupedResults = [SELECT CampaignId, AVG(Amount) FROM <br \/>\r<br>Opportunity GROUP BY CampaignId]; <br \/>\r<br>for (AggregateResult ar : groupedResults) <br \/>\r<br>{ <br \/>\r<br>System.debug('Campaign ID' + ar.get('CampaignId')); <br \/>\r<br>System.debug('Average amount' + ar.get('expr0')); <br \/>\r<br>} <br \/>\r<br>Example 2: <br \/>\r<br>AggregateResult[] groupedResults = [SELECT CampaignId, AVG(Amount) theAverage <br \/>\r<br>FROM Opportunity GROUP BY CampaignId]; <br \/>\r<br>for (AggregateResult ar : groupedResults) <br \/>\r<br>{ <br \/>\r<br>System.debug('Campaign ID' + ar.get('CampaignId')); <br \/>\r<br>System.debug('Average amount' + ar.get('theAverage')); <br \/>\r<br>} <br \/>\r<br>Example 3: <br \/>\r<br>AggregateResult[] groupedResults = [SELECT CampaignId, AVG(Amount) FROM <br \/>\r<br>Opportunity GROUP BY CampaignId]; <br \/>\r<br>for (AggregateResult ar : groupedResults) <br \/>\r<br>{ <br \/>\r<br>System.debug('Campaign ID' + ar.get('CampaignId')); <br \/>\r<br>System.debug('Average amount' + ar.get.AVG()); <br \/>\r<br>} <br \/>\r<br>07B13F58239056B81577933EB624485B <br \/>\r<br>Example 4: <br \/>\r<br>AggregateResult[] groupedResults = [SELECT CampaignId, AVG(Amount) theAverage <br \/>\r<br>FROM Opportunity GROUP BY CampaignId]; <br \/>\r<br>for (AggregateResult ar : groupedResults) <br \/>\r<br>{ <br \/>\r<br>System.debug('Campaign ID' + ar.get('CampaignId')); <br \/>\r<br>System.debug ('Average amount' + ar.theAverage); <br \/>\r<br>}<\/div><input type='hidden' name='question_id[]' id='qID_48' value='151210' \/><input type='hidden' id='answerType151210' value='checkbox'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151210[]' id='answer-id-614595' class='answer   answerof-151210 ' value='614595'   \/><label for='answer-id-614595' id='answer-label-614595' class=' answer'><span>Example 1<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151210[]' id='answer-id-614596' class='answer   answerof-151210 ' value='614596'   \/><label for='answer-id-614596' id='answer-label-614596' class=' answer'><span>Example 2<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151210[]' id='answer-id-614597' class='answer   answerof-151210 ' value='614597'   \/><label for='answer-id-614597' id='answer-label-614597' class=' answer'><span>Example 3<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151210[]' id='answer-id-614598' class='answer   answerof-151210 ' value='614598'   \/><label for='answer-id-614598' id='answer-label-614598' class=' answer'><span>Example 4<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-49' style=';'><div id='questionWrap-49'  class='   watupro-question-id-151211'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>49. <\/span>Which method should be used to convert a Date to a String in the current user\u2019s locale?<\/div><input type='hidden' name='question_id[]' id='qID_49' value='151211' \/><input type='hidden' id='answerType151211' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151211[]' id='answer-id-614599' class='answer   answerof-151211 ' value='614599'   \/><label for='answer-id-614599' id='answer-label-614599' class=' answer'><span>Date.format<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151211[]' id='answer-id-614600' class='answer   answerof-151211 ' value='614600'   \/><label for='answer-id-614600' id='answer-label-614600' class=' answer'><span>String format<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151211[]' id='answer-id-614601' class='answer   answerof-151211 ' value='614601'   \/><label for='answer-id-614601' id='answer-label-614601' class=' answer'><span>String.valueOf<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151211[]' id='answer-id-614602' class='answer   answerof-151211 ' value='614602'   \/><label for='answer-id-614602' id='answer-label-614602' class=' answer'><span>Date.parse<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-50' style=';'><div id='questionWrap-50'  class='   watupro-question-id-151212'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>50. <\/span>A company has a custom object, Order__c, that has a required, unique, external ID field called Order_Number__c. <br \/>\r<br>Which statement should be used to perform the DML necessary to insert new records and update existing records in a List of Order__c records?<\/div><input type='hidden' name='question_id[]' id='qID_50' value='151212' \/><input type='hidden' id='answerType151212' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151212[]' id='answer-id-614603' class='answer   answerof-151212 ' value='614603'   \/><label for='answer-id-614603' id='answer-label-614603' class=' answer'><span>upsert orders;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151212[]' id='answer-id-614604' class='answer   answerof-151212 ' value='614604'   \/><label for='answer-id-614604' id='answer-label-614604' class=' answer'><span>upsert orders Order_Number__c;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151212[]' id='answer-id-614605' class='answer   answerof-151212 ' value='614605'   \/><label for='answer-id-614605' id='answer-label-614605' class=' answer'><span>merge orders Order_Number__c;<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151212[]' id='answer-id-614606' class='answer   answerof-151212 ' value='614606'   \/><label for='answer-id-614606' id='answer-label-614606' class=' answer'><span>merge orders;<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-51' style=';'><div id='questionWrap-51'  class='   watupro-question-id-151213'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>51. <\/span>A company uses an external system to manage its custom account territory assignments. Every quarter, millions of Accounts may be updated in Salesforce with new Owners when the territory assignments are completed in the external system. <br \/>\r<br>What is the optimal way to update the Accounts from the external system?<\/div><input type='hidden' name='question_id[]' id='qID_51' value='151213' \/><input type='hidden' id='answerType151213' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151213[]' id='answer-id-614607' class='answer   answerof-151213 ' value='614607'   \/><label for='answer-id-614607' id='answer-label-614607' class=' answer'><span>Bulk API<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151213[]' id='answer-id-614608' class='answer   answerof-151213 ' value='614608'   \/><label for='answer-id-614608' id='answer-label-614608' class=' answer'><span>SOAP API<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151213[]' id='answer-id-614609' class='answer   answerof-151213 ' value='614609'   \/><label for='answer-id-614609' id='answer-label-614609' class=' answer'><span>Apex REST Web Service<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151213[]' id='answer-id-614610' class='answer   answerof-151213 ' value='614610'   \/><label for='answer-id-614610' id='answer-label-614610' class=' answer'><span>Composite REST API<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-52' style=';'><div id='questionWrap-52'  class='   watupro-question-id-151214'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>52. <\/span>A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller\u2019s account number before proceeding with the rest of their call script. <br \/>\r<br>Following best practices, what should a developer use to meet this requirement?<\/div><input type='hidden' name='question_id[]' id='qID_52' value='151214' \/><input type='hidden' id='answerType151214' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151214[]' id='answer-id-614611' class='answer   answerof-151214 ' value='614611'   \/><label for='answer-id-614611' id='answer-label-614611' class=' answer'><span>Apex Trigger<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151214[]' id='answer-id-614612' class='answer   answerof-151214 ' value='614612'   \/><label for='answer-id-614612' id='answer-label-614612' class=' answer'><span>Process Builder<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151214[]' id='answer-id-614613' class='answer   answerof-151214 ' value='614613'   \/><label for='answer-id-614613' id='answer-label-614613' class=' answer'><span>Flow Builder<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151214[]' id='answer-id-614614' class='answer   answerof-151214 ' value='614614'   \/><label for='answer-id-614614' id='answer-label-614614' class=' answer'><span>Approvals<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-53' style=';'><div id='questionWrap-53'  class='   watupro-question-id-151215'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>53. <\/span>What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?<\/div><input type='hidden' name='question_id[]' id='qID_53' value='151215' \/><input type='hidden' id='answerType151215' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151215[]' id='answer-id-614615' class='answer   answerof-151215 ' value='614615'   \/><label for='answer-id-614615' id='answer-label-614615' class=' answer'><span>Use the Schema namespace.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151215[]' id='answer-id-614616' class='answer   answerof-151215 ' value='614616'   \/><label for='answer-id-614616' id='answer-label-614616' class=' answer'><span>Use a static resource.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151215[]' id='answer-id-614617' class='answer   answerof-151215 ' value='614617'   \/><label for='answer-id-614617' id='answer-label-614617' class=' answer'><span>Perform a callout to the Metadata AP<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151215[]' id='answer-id-614618' class='answer   answerof-151215 ' value='614618'   \/><label for='answer-id-614618' id='answer-label-614618' class=' answer'><span>Perform a SOQL Query.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-54' style=';'><div id='questionWrap-54'  class='   watupro-question-id-151216'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>54. <\/span>A company has a web page that needs to get Account record information, given its Salesforce record ID, from JavaScript on the page and then display it. <br \/>\r<br>Which method of integration is optimal?<\/div><input type='hidden' name='question_id[]' id='qID_54' value='151216' \/><input type='hidden' id='answerType151216' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151216[]' id='answer-id-614619' class='answer   answerof-151216 ' value='614619'   \/><label for='answer-id-614619' id='answer-label-614619' class=' answer'><span>REST API<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151216[]' id='answer-id-614620' class='answer   answerof-151216 ' value='614620'   \/><label for='answer-id-614620' id='answer-label-614620' class=' answer'><span>Apex SOAP Web Service<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151216[]' id='answer-id-614621' class='answer   answerof-151216 ' value='614621'   \/><label for='answer-id-614621' id='answer-label-614621' class=' answer'><span>Soap API<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151216[]' id='answer-id-614622' class='answer   answerof-151216 ' value='614622'   \/><label for='answer-id-614622' id='answer-label-614622' class=' answer'><span>Apex REST Web Service<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-55' style=';'><div id='questionWrap-55'  class='   watupro-question-id-151217'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>55. <\/span>A large company uses Salesforce across several departments. Each department has its own Salesforce Administrator. It was agreed that each Administrator would have their own sandbox in which to test changes. <br \/>\r<br>Recently, users notice that fields that were recently added for one department suddenly disappear without warning. Also, Workflows that once sent emails and created tasks no longer do so. <br \/>\r<br>Which two statements are true regarding these issues and resolution? (Choose two.)<\/div><input type='hidden' name='question_id[]' id='qID_55' value='151217' \/><input type='hidden' id='answerType151217' value='checkbox'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151217[]' id='answer-id-614623' class='answer   answerof-151217 ' value='614623'   \/><label for='answer-id-614623' id='answer-label-614623' class=' answer'><span>The administrators are deploying their own Change Sets, thus deleting each other\u2019s fields from the objects in production.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151217[]' id='answer-id-614624' class='answer   answerof-151217 ' value='614624'   \/><label for='answer-id-614624' id='answer-label-614624' class=' answer'><span>A sandbox should be created to use as a unified testing environment instead of deploying Change Sets directly to production.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151217[]' id='answer-id-614625' class='answer   answerof-151217 ' value='614625'   \/><label for='answer-id-614625' id='answer-label-614625' class=' answer'><span>Page Layouts should never be deployed via Change Sets, as this causes Workflows and Field-level Security to be reset and fields to disappear.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='checkbox' name='answer-151217[]' id='answer-id-614626' class='answer   answerof-151217 ' value='614626'   \/><label for='answer-id-614626' id='answer-label-614626' class=' answer'><span>The administrators are deploying their own Change Sets over each other, thus replacing entire Page Layouts and Workflows in Production.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-56' style=';'><div id='questionWrap-56'  class='   watupro-question-id-151218'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>56. <\/span>A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. <br \/>\r<br>However, the users want to pick the five fields to use as filter fields when they run the page. <br \/>\r<br>Which feature of Apex code is required to facilitate this solution?<\/div><input type='hidden' name='question_id[]' id='qID_56' value='151218' \/><input type='hidden' id='answerType151218' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151218[]' id='answer-id-614627' class='answer   answerof-151218 ' value='614627'   \/><label for='answer-id-614627' id='answer-label-614627' class=' answer'><span>SOSL queries<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151218[]' id='answer-id-614628' class='answer   answerof-151218 ' value='614628'   \/><label for='answer-id-614628' id='answer-label-614628' class=' answer'><span>describeSObjects()<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151218[]' id='answer-id-614629' class='answer   answerof-151218 ' value='614629'   \/><label for='answer-id-614629' id='answer-label-614629' class=' answer'><span>Dynamic Schema binding<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151218[]' id='answer-id-614630' class='answer   answerof-151218 ' value='614630'   \/><label for='answer-id-614630' id='answer-label-614630' class=' answer'><span>REST API<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-57' style=';'><div id='questionWrap-57'  class='   watupro-question-id-151219'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>57. <\/span>Universal Containers uses Big Objects to store almost a billion customer transactions called <br \/>\r<br>Customer_Transaction__b. <br \/>\r<br>These are the fields on Customer_Transaction__b: <br \/>\r<br>Account__c <br \/>\r<br>Program__c <br \/>\r<br>Points_Earned__c <br \/>\r<br>Location__c <br \/>\r<br>Transaction_Date__c <br \/>\r<br>The following fields have been identified as Index Fields for the Customer_Transaction__b object: Account__c, Program__c, and Transaction_Date__c. <br \/>\r<br>Which SOQL query is valid on the Customer_Transaction__b Big Object?<\/div><input type='hidden' name='question_id[]' id='qID_57' value='151219' \/><input type='hidden' id='answerType151219' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151219[]' id='answer-id-614631' class='answer   answerof-151219 ' value='614631'   \/><label for='answer-id-614631' id='answer-label-614631' class=' answer'><span>SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__b \r\nWHERE Account__c = '001R000000302D3' \r\nAND Program__c ='Shoppers' \r\nAND Transaction_Date__c=2019-05-31T00:00Z<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151219[]' id='answer-id-614632' class='answer   answerof-151219 ' value='614632'   \/><label for='answer-id-614632' id='answer-label-614632' class=' answer'><span>SELECT Account__c, Program__c, Transaction_Date__c \r\nFROM Customer_Transaction__b WHERE Account__c = '001R000000302D3' \r\nAND Program__c LIKE 'Shop%' \r\nAND Transaction_Date__c=2019-05-31T00:00Z<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151219[]' id='answer-id-614633' class='answer   answerof-151219 ' value='614633'   \/><label for='answer-id-614633' id='answer-label-614633' class=' answer'><span>SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__b \r\nWHERE Account__c = '001R000000302D3' \r\nAND Program__c INCLUDES ('Shoppers', 'Womens') \r\nAND Transaction_Date__c=2019-05-31T00:00Z<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151219[]' id='answer-id-614634' class='answer   answerof-151219 ' value='614634'   \/><label for='answer-id-614634' id='answer-label-614634' class=' answer'><span>SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__b \r\nWHERE Account__c = '001R000000302D3' \r\nAND Program__c EXCLUDES ('Shoppers', 'Womens') \r\nAND Transaction_Date__c=2019-05-31T00:00Z<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-58' style=';'><div id='questionWrap-58'  class='   watupro-question-id-151220'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>58. <\/span>Part of a custom Lightning Component displays the total number of Opportunities in the org, which is in the millions. The Lightning Component uses an Apex Controller to get the data it needs. <br \/>\r<br>What is the optimal way for a developer to get the total number of Opportunities for the Lightning Component?<\/div><input type='hidden' name='question_id[]' id='qID_58' value='151220' \/><input type='hidden' id='answerType151220' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151220[]' id='answer-id-614635' class='answer   answerof-151220 ' value='614635'   \/><label for='answer-id-614635' id='answer-label-614635' class=' answer'><span>Apex Batch job that counts the number of Opportunity records<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151220[]' id='answer-id-614636' class='answer   answerof-151220 ' value='614636'   \/><label for='answer-id-614636' id='answer-label-614636' class=' answer'><span>SUM() SOQL aggregate query on the Opportunity object<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151220[]' id='answer-id-614637' class='answer   answerof-151220 ' value='614637'   \/><label for='answer-id-614637' id='answer-label-614637' class=' answer'><span>SOQL for loop that counts the number of Opportunities records<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151220[]' id='answer-id-614638' class='answer   answerof-151220 ' value='614638'   \/><label for='answer-id-614638' id='answer-label-614638' class=' answer'><span>COUNT() SOQL aggregate query on the Opportunity object<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-59' style=';'><div id='questionWrap-59'  class='   watupro-question-id-151221'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>59. <\/span>A company notices that their unit tests in a test class with many methods to create many records for prerequisite reference data are slow. <br \/>\r<br>What can a developer to do address the issue?<\/div><input type='hidden' name='question_id[]' id='qID_59' value='151221' \/><input type='hidden' id='answerType151221' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151221[]' id='answer-id-614639' class='answer   answerof-151221 ' value='614639'   \/><label for='answer-id-614639' id='answer-label-614639' class=' answer'><span>Move the prerequisite reference data setup to a TestDataFactory and call that from each test method.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151221[]' id='answer-id-614640' class='answer   answerof-151221 ' value='614640'   \/><label for='answer-id-614640' id='answer-label-614640' class=' answer'><span>Move the prerequisite reference data setup to a @testSetup method in the test class.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151221[]' id='answer-id-614641' class='answer   answerof-151221 ' value='614641'   \/><label for='answer-id-614641' id='answer-label-614641' class=' answer'><span>Move the prerequisite reference data setup to a static method in the test class and call that from each test method.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151221[]' id='answer-id-614642' class='answer   answerof-151221 ' value='614642'   \/><label for='answer-id-614642' id='answer-label-614642' class=' answer'><span>Move the prerequisite reference data setup to the constructor for the test class.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div class='watu-question ' id='question-60' style=';'><div id='questionWrap-60'  class='   watupro-question-id-151222'>\n\t\t\t<div class='question-content'><div><span class='watupro_num'>60. <\/span>A developer is asked to build a solution that will automatically send an email to the Customer when an Opportunity stage changes. The solution must scale to allow for 10,000 emails per day. The criteria to send the email should be evaluated after all Workflow Rules have fired. <br \/>\r<br>What is the optimal way to accomplish this?<\/div><input type='hidden' name='question_id[]' id='qID_60' value='151222' \/><input type='hidden' id='answerType151222' value='radio'><!-- end question-content--><\/div><div class='question-choices watupro-choices-columns '><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151222[]' id='answer-id-614643' class='answer   answerof-151222 ' value='614643'   \/><label for='answer-id-614643' id='answer-label-614643' class=' answer'><span>Use a MassEmailMessage() with an Apex Trigger.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151222[]' id='answer-id-614644' class='answer   answerof-151222 ' value='614644'   \/><label for='answer-id-614644' id='answer-label-614644' class=' answer'><span>Use a Workflow Email Alert.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151222[]' id='answer-id-614645' class='answer   answerof-151222 ' value='614645'   \/><label for='answer-id-614645' id='answer-label-614645' class=' answer'><span>Use an Email Alert with Process Builder.<\/span><\/label><\/div><div class='watupro-question-choice  ' dir='auto' ><input type='radio' name='answer-151222[]' id='answer-id-614646' class='answer   answerof-151222 ' value='614646'   \/><label for='answer-id-614646' id='answer-label-614646' class=' answer'><span>Use a SingleEmailMessage() with an Apex Trigger.<\/span><\/label><\/div><!-- end question-choices--><\/div><!-- end questionWrap--><\/div><\/div><div style='display:none' id='question-61'>\n\t<div class='question-content'>\n\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dumpsbase.com\/freedumps\/wp-content\/plugins\/watupro\/img\/loading.gif\" width=\"16\" height=\"16\" alt=\"Loading...\" title=\"Loading...\" \/>&nbsp;Loading...\t<\/div>\n<\/div>\n\n<br \/>\n\t\n\t\t\t<div class=\"watupro_buttons flex \" id=\"watuPROButtons4734\" >\n\t\t  <div id=\"prev-question\" style=\"display:none;\"><input type=\"button\" value=\"&lt; Previous\" onclick=\"WatuPRO.nextQuestion(event, 'previous');\"\/><\/div>\t\t  \t\t  \t\t   \n\t\t   \t  \t\t<div><input type=\"button\" name=\"action\" class=\"watupro-submit-button\" onclick=\"WatuPRO.submitResult(event)\" id=\"action-button\" value=\"View Results\"  \/>\n\t\t<\/div>\n\t\t<\/div>\n\t\t\n\t<input type=\"hidden\" name=\"quiz_id\" value=\"4734\" id=\"watuPROExamID\"\/>\n\t<input type=\"hidden\" name=\"start_time\" id=\"startTime\" value=\"2026-06-24 02:47:26\" \/>\n\t<input type=\"hidden\" name=\"start_timestamp\" id=\"startTimeStamp\" value=\"1782269246\" \/>\n\t<input type=\"hidden\" name=\"question_ids\" value=\"\" \/>\n\t<input type=\"hidden\" name=\"watupro_questions\" value=\"151163:614405,614406,614407,614408 | 151164:614409,614410,614411,614412 | 151165:614413,614414,614415,614416 | 151166:614417,614418,614419,614420 | 151167:614421,614422,614423,614424 | 151168:614425,614426,614427,614428 | 151169:614429,614430,614431,614432 | 151170:614433,614434,614435,614436 | 151171:614437,614438,614439,614440 | 151172:614441,614442,614443,614444 | 151173:614445,614446,614447,614448 | 151174:614449,614450,614451,614452 | 151175:614453,614454,614455,614456 | 151176:614457,614458,614459,614460 | 151177:614461,614462,614463,614464 | 151178:614465,614466,614467,614468 | 151179:614469,614470,614471,614472 | 151180:614473,614474,614475,614476 | 151181:614477,614478,614479,614480 | 151182:614481,614482,614483,614484 | 151183:614485,614486,614487,614488 | 151184:614489,614490,614491,614492 | 151185:614493,614494,614495,614496 | 151186:614497,614498,614499,614500 | 151187:614501,614502,614503,614504 | 151188:614505,614506,614507,614508 | 151189:614509,614510,614511,614512 | 151190:614513,614514,614515,614516 | 151191:614517,614518,614519,614520 | 151192:614521,614522,614523,614524 | 151193:614525,614526,614527,614528,614529 | 151194:614530,614531,614532,614533 | 151195:614534,614535,614536,614537 | 151196:614538,614539,614540,614541 | 151197:614542,614543,614544,614545,614546 | 151198:614547,614548,614549,614550 | 151199:614551,614552,614553,614554 | 151200:614555,614556,614557,614558 | 151201:614559,614560,614561,614562 | 151202:614563,614564,614565,614566 | 151203:614567,614568,614569,614570 | 151204:614571,614572,614573,614574 | 151205:614575,614576,614577,614578 | 151206:614579,614580,614581,614582 | 151207:614583,614584,614585,614586 | 151208:614587,614588,614589,614590 | 151209:614591,614592,614593,614594 | 151210:614595,614596,614597,614598 | 151211:614599,614600,614601,614602 | 151212:614603,614604,614605,614606 | 151213:614607,614608,614609,614610 | 151214:614611,614612,614613,614614 | 151215:614615,614616,614617,614618 | 151216:614619,614620,614621,614622 | 151217:614623,614624,614625,614626 | 151218:614627,614628,614629,614630 | 151219:614631,614632,614633,614634 | 151220:614635,614636,614637,614638 | 151221:614639,614640,614641,614642 | 151222:614643,614644,614645,614646\" \/>\n\t<input type=\"hidden\" name=\"no_ajax\" value=\"0\">\t\t\t<\/form>\n\t<p>&nbsp;<\/p>\n<\/div>\n\n<script type=\"text\/javascript\">\n\/\/jQuery(document).ready(function(){\ndocument.addEventListener(\"DOMContentLoaded\", function(event) { \t\nvar question_ids = \"151163,151164,151165,151166,151167,151168,151169,151170,151171,151172,151173,151174,151175,151176,151177,151178,151179,151180,151181,151182,151183,151184,151185,151186,151187,151188,151189,151190,151191,151192,151193,151194,151195,151196,151197,151198,151199,151200,151201,151202,151203,151204,151205,151206,151207,151208,151209,151210,151211,151212,151213,151214,151215,151216,151217,151218,151219,151220,151221,151222\";\nWatuPROSettings[4734] = {};\nWatuPRO.qArr = question_ids.split(',');\nWatuPRO.exam_id = 4734;\t    \nWatuPRO.post_id = 14350;\nWatuPRO.store_progress = 0;\nWatuPRO.curCatPage = 1;\nWatuPRO.requiredIDs=\"0\".split(\",\");\nWatuPRO.hAppID = \"0.49275100 1782269246\";\nvar url = \"https:\/\/www.dumpsbase.com\/freedumps\/wp-content\/plugins\/watupro\/show_exam.php\";\nWatuPRO.examMode = 1;\nWatuPRO.siteURL=\"https:\/\/www.dumpsbase.com\/freedumps\/wp-admin\/admin-ajax.php\";\nWatuPRO.emailIsNotRequired = 0;\nWatuPROIntel.init(4734);\nWatuPRO.inCategoryPages=1;});    \t \n<\/script>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9224,287],"tags":[9217,9219,9221,9222,9223,9220,10254,10253],"class_list":["post-14350","post","type-post","status-publish","format-standard","hentry","category-platform-developer-ii","category-salesforce","tag-pdii","tag-pdii-dumps","tag-pdii-dumps-questions","tag-pdii-exam-dumps","tag-pdii-exam-questions","tag-pdii-free-dumps","tag-pdii-real-dumps-questions","tag-platform-developer-ii-pdii-exam"],"_links":{"self":[{"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/posts\/14350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/comments?post=14350"}],"version-history":[{"count":1,"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/posts\/14350\/revisions"}],"predecessor-version":[{"id":14351,"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/posts\/14350\/revisions\/14351"}],"wp:attachment":[{"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/media?parent=14350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/categories?post=14350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dumpsbase.com\/freedumps\/wp-json\/wp\/v2\/tags?post=14350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}