لا تريد أن تفوت شيئا؟

نصائح اجتياز امتحان الشهادة

آخر أخبار الامتحانات ومعلومات الخصم

برعاية وحديثة من قبل خبرائنا

نعم، أرسل لي النشرة الإخبارية

خذ اختبارات أخرى عبر الإنترنت

السؤال #1
What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?
A. Use the Schema namespace
B. Use a static resource
C. Perform a callout to the Metadata AP
D. Perform a SOQL Query
عرض الإجابة
اجابة صحيحة: A
السؤال #2
A Visualforce page loads slowly due to the large amount of data it displays. Which strategy can a developer use to improve the performance?
A. Use Javascript to move data processing to the browser instead of the controller
B. Use the transient keywords for the List variables used in the custom controller
C. Use lazy loading to load the data on demand, instead of the controller’s constructor
D. Use an in the page to load all of the data asynchronously
عرض الإجابة
اجابة صحيحة: C
السؤال #3
How should a developer verify that a specific Account record is being tested in a test class for a Visualforce controller?
A. Insert the Account in the test class, instantiate the page reference in the test class, then use System
B. Insert the Account into Salesforce, instantiate the page reference in the test class, then use system
C. Instantiate the page reference in the test class, insert the Account in the test class, then use system
عرض الإجابة
اجابة صحيحة: A
السؤال #4
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. What is the correct way to automate this using an Apex trigger?
A. An after update trigger that creates the Engineering Review record and inserts itcorrect
B. A before update trigger that creates the Engineering Review record and inserts it
C. An after upsert trigger that creates the Engineering Review record and inserts it
D. A before upsert trigger that creates the Engineering Review record and inserts it
عرض الإجابة
اجابة صحيحة: A
السؤال #5
Consider the Apex controller above, that is called from a Lightning Aura Component.
A. Line 1: class must be global
B. Lines 1 and 6: class and method must be global
C. Line 6: method must be staticcorrect
D. Line 8: method must first serialize the list to JSON before returning
عرض الإجابة
اجابة صحيحة: C
السؤال #6
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. What is the optimal way to accomplish this?
A. Use a MassEmailMessage() with an Apex Trigger
B. Use a Workflow Email Alert
C. Use an Email Alert with Process Builder
D. Use a SingleEmailMessage() with an Apex Trigger
عرض الإجابة
اجابة صحيحة: C
السؤال #7
Universal Containers uses Big Objects to store almost a billion customer transactions called Customer_Transaction__b. These are the fields on Customer_Transaction__b: Account__c Program__c Points_Earned__c Location__c Transaction_Date__c The following fields have been identified as Index Fields for the Customer_Transaction__b object: Account__c, Program__c, and Transaction_Date__c. Which SOQL query is valid on the Customer_Transaction__b Big Object?
A. SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__bWHERE Account__c = '001R000000302D3'AND Program__c ='Shoppers'AND Transaction_Date__c=2019-05-31T00:00Zcorrect
B. SELECT Account__c, Program__c, Transaction_Date__cFROM Customer_Transaction__b WHERE Account__c = '001R000000302D3'AND Program__c LIKE 'Shop%'AND Transaction_Date__c=2019-05-31T00:00Z
C. SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__bWHERE Account__c = '001R000000302D3'AND Program__c INCLUDES ('Shoppers', 'Womens')AND Transaction_Date__c=2019-05-31T00:00Z
D. SELECT Account__c, Program__c, Transaction_Date__c FROM Customer_Transaction__bWHERE Account__c = '001R000000302D3'AND Program__c EXCLUDES ('Shoppers', 'Womens')AND Transaction_Date__c=2019-05-31T00:00Z
عرض الإجابة
اجابة صحيحة: A
السؤال #8
A developer Is asked to develop a new AppExthange application. A feature of the program creates Survey records when a Case reaches a certain stage and Is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Surveys at different times. Additionally, the out-of-the-box AppExchange app needs to come with a set of best practice settings that apply to most customers. What should the developer use to store and package the custom configuration settings for the
A. Custom Settings
B. Custom Metadatacorrect
C. Custom Objects
D. Process Builder
عرض الإجابة
اجابة صحيحة: B
السؤال #9
A Visualforce page contains an industry select list and displays a table of Accounts that have a matching value in their Industry field. 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. What is the optimal way to implement this?
A. Add an within the
B. Add an within the
C. Add an within the
D. Add an within the
عرض الإجابة
اجابة صحيحة: C
السؤال #10
Consider the controller code above that is called from a Lightning component and returns data wrapped in a class. Consider the controller code above that is called from a Lightning component and returns data wrapped in a class. The developer verified that the Queries return a single record each and there is error handing in the Lightning component, but the component is not getting anything back when calling the controller getSomeData(). What is wrong?
A. The member's Name and Option of the class MyDataWrapper should be annotated with @AuraEnabled also
B. The member's Name and Option should not be declared public
C. The member's Name and Option should not have getter and setter
D. Instances of Apex classes such as MyDataWrapper cannot be returned to a Lightning component
عرض الإجابة
اجابة صحيحة: A
السؤال #11
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. What is the optimal way for a developer to get the total number of Opportunities for the Lightning Component?
A. Apex Batch job that counts the number of Opportunity records
B. SUM() SOQL aggregate query on the Opportunity object
C. SOQL for loop that counts the number of Opportunities records
D. COUNT() SOQL aggregate query on the Opportunity objectcorrect
عرض الإجابة
اجابة صحيحة: D
السؤال #12
Just prior to a new deployment, the Salesforce Administrator who configured a new order fulfillment process in a developer sandbox suddenly left the company. The users had fully tested all of the changes in the sandbox and signed off on them. Unfortunately, although a Change Set was started, it was not complete. A developer is brought in to help finish the deployment. What should the developer do to identify the configuration changes that need to be moved into production?
A. Leverage the Setup Audit Trail to review the changes made by the departed Administrator and identify which changes should be added to the Change Set
B. Use the Metadata API and a supported development IDE to push all of the configuration from the sandbox into production to ensure no changes are lost
C. Set up Continuous Integration and a Git repository to automatically merge all changes from the sandbox metadata with the production metadata
D. In Salesforce setup, look at the last modified date for every object to determine which should be added to the Change Set
عرض الإجابة
اجابة صحيحة: A
السؤال #13
AWC wants the real-time inventory reduction for a product to be sent to many of its external systems, including some future systems the company is Currently planning. What should a develops add to the code at the placeholder to meet these requirement!? A) B) C) D)
A. Option A
B. Option B
C. Option Ccorrect
D. Option D
عرض الإجابة
اجابة صحيحة: C
السؤال #14
A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller’s account number before proceeding with the rest of their call script. Following best practices, what should a developer use to meet this requirement?
A. Apex Trigger
B. Process Builder
C. Flow Buildercorrect
D. Approvals
عرض الإجابة
اجابة صحيحة: C
السؤال #15
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. What is the optimal method for a developer to troubleshoot this?
A. Set up debug logging for every Sales Rep, then monitor the logs for errors and exceptions
B. Turn off all Workflow Rules, then turn them on one at time to see which one causes the error
C. Add system
D. Run the Apex Test Classes for the Apex trigger to ensure the code still has sufficient code coverage
عرض الإجابة
اجابة صحيحة: C
السؤال #16
The Salesforce admin at cloud kicks created a custom object called Region_ c to store all postal zip codes in the United States and the Cloud Kicks sales region the Zip code belong to. Object Name: Fields: Cloud Kicks wants a trigger on the Lead to populate the Region based on the Lead's zip code. Which code segment is the most efficient way to fulfill this request? A) B) C)
A. Option A
B. Option Bcorrect
C. Option C
عرض الإجابة
اجابة صحيحة: B
السؤال #17
Which two best practices should the developer Implement to optimize this code? Choose 2 answers
A. Use a collection for the DML statement
B. Query the Pricing_structure__c records outside of the loop
C. Change the trigger context to after update, after insert
D. Remove the DML statement
عرض الإجابة
اجابة صحيحة: ABD
السؤال #18
Use of transient keyword in visualforce page controllers help with which common performance issues?
A. Improves query performance
B. Improves page transfers
C. Reduces view state
D. Reduces Load time
عرض الإجابة
اجابة صحيحة: C
السؤال #19
A developer is building a complex commission calculation engine in Apex that is called from an Opportunity trigger. During QA it was reported that the calculations are incorrect.The developer has representative test data and passing test methods in their developer sandbox.Which three tools or techniques could the developer use to execute the code and pause it at key lines to visually inspect values of various Apex variables?Choose 3 answers
A. Apex Interactive Debugger
B. Workbench
C. Developer Console
D. Breakpoints
E. Apex Replay Debugger
عرض الإجابة
اجابة صحيحة: ACE
السؤال #20
Consider the Apex class above that defines a RemoteAction used on a Visualforce search page. global with sharing class MyRemoter { public String accountName { get; set; } public static Account account { get; set; } public AccountRemoter() {} @RemoteAction global static Account getAccount(String accountName) { account = [SELECT Id, Name, NumberOfEmployees FROM Account WHERE Name = :accountName]; return account; } } Which code snippet will assert that the remote action returned the correct Account?
A. Account a = controller
B. MyRemoter remote = new MyRemoter();Account a = remote
C. MyRemoter remote = new MyRemoter('TestAccount');Account a = remote
D. Account a = MyRemoter
عرض الإجابة
اجابة صحيحة: D
السؤال #21
What is a benefit of JavaScript remoting over Visualforce Remote Objects?
A. Allows for specified re-render targets
B. Does not require any Apex code
C. Does not require any JavaScript code
D. Supports complex server-side application logiccorrect
عرض الإجابة
اجابة صحيحة: D
السؤال #22
What is a consideration when testing batch Apex? (Choose two.)
A. Test methods must execute the batch with a scope size of less than 200 records
B. Test methods must call the batch execute() method once
C. Test methods must use the @isTest (SeeAllData=truE
D. Test methods must run the batch between Test
عرض الإجابة
اجابة صحيحة: BD
السؤال #23
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’s 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’s state. Consider the following: A mass update of 200 Account records’ addresses, where each Account has 50 Contacts. Eac
A. The mass update will fail, since the two triggers fire in the same context, thus exceeding the number of records processed by DML statements
B. 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
C. There will be no error, since the limit on the number of records processed by DML statements is 50,000
D. 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
عرض الإجابة
اجابة صحيحة: B
السؤال #24
A developer created a Lightning web component for the Account record page that displays the five most recently contacted Contacts for an Account. The Apex method,Contacts, returns a list of Contacts and will be wired to a property in the component.Which two lines must change in the above code to make the Apex method able to be wired?Choose 2 answers
A. Add @AuraEnabled {cacheable=trues) to line 08
B. Remove private from line 09
C. Add public to line 04
D. Add @AuraEnabled {cacheable=true) to line 03
عرض الإجابة
اجابة صحيحة: AB
السؤال #25
In a previous data audit, It was determined that close to 5 million Opportunity records are stored within the Salesforce environment. The organization-wide default for the object are set to Public Read-Only and most opportunities are related to an external case. The method is called from a Lightning web component. Some end users do not provide a cased value and experience low performance while running the query. Which two techniques should the developer implement to avoid low performance queries from execut
A. Implement a LIMIT clause within the SOQL query to restrict the result set
B. Ensure the user-provided input is not null before executing the SOQL query
C. Implement the with sharing keyword on the Apex class
D. Use SOSL instead of SOQL queries to perform text-based searches
عرض الإجابة
اجابة صحيحة: AD
السؤال #26
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. What is the optimal way to update the Accounts from the external system?
A. Bulk APIcorrect
B. SOAP API
C. Apex REST Web Service
D. Composite REST API
عرض الإجابة
اجابة صحيحة: A
السؤال #27
The test method above calls a web service that updates an external system with Account information and sets the Account's Integration_Updated__c checkbox to True when it completes. The test fails to execute and exits with an error: "Methods defined as TestMethod do not support Web service callouts. " What is the optimal way to fix this?
A. Add Test
B. Add Test
C. Add if (!Test
D. Add Test
عرض الإجابة
اجابة صحيحة: B
السؤال #28
Universal Containers needs to integrate with a Heroku service that resizes product images submitted by users. What are two alternatives to implement the integration and protect against malicious calls to Heroku app's endpoint? Choose 2 answers
A. Create a trigger that uses an @future Apex HTTP callout passing JSON serialized data and some form of pre-shared secret key
B. Create a trigger that uses an @future Apex HTTP callout passing JSON serialized data; therefore the Heroku app can automatically reply back to the callout with the resized images in Salesforce
C. Create a Workflow Rule with an Outbound Message and select Send Session ID so that the Heroku app can use it to send the resized images back to Salesforce
D. Create a Workflow Rule with an Outbound Message allowing the Heroku app to automatically store the resized images in Salesforce
عرض الإجابة
اجابة صحيحة: ACD
السؤال #29
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. 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
A. Use a Hierarchy Custom Setting to disable the Trigger for the user who does the data loading
B. Use a List Custom Setting to disable the Trigger for the user who does the data loading
C. Add the Profile Id of the user who does the data loading to the Trigger so the Trigger won’t fire for this user
D. Add a Validation Rule to the Contract to prevent Contract creation by the user who does the data loading
عرض الإجابة
اجابة صحيحة: A
السؤال #30
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’s Probability is greater than 50%. What is the optimal way to automate this?
A. Use an Apex Trigger on Opportunity
B. Build a Flow on Opportunity
C. Create a Workflow on Opportunity
D. Build a Process on Opportunity
عرض الإجابة
اجابة صحيحة: D

View The Updated Salesforce Exam Questions

SPOTO Provides 100% Real Salesforce Exam Questions for You to Pass Your Salesforce Exam!

عرض الإجابات بعد التقديم

يرجى إرسال البريد الإلكتروني الخاص بك والواتس اب للحصول على إجابات الأسئلة.

ملحوظة: يرجى التأكد من صلاحية معرف البريد الإلكتروني وWhatsApp حتى تتمكن من الحصول على نتائج الاختبار الصحيحة.

بريد إلكتروني:
رقم الواتس اب/الهاتف: