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

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

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

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

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

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

السؤال #1
An org has a custom object, Part__c. Its records are regularly imported from the company's Enterprise Resource Planning (ERP) system. What can be used to ensure the correct Part__c records are updated in Salesforce when imports are made?
A. A Formula field
B. An External ID field
C. A Master-detail field
D. A Lookup field
عرض الإجابة
اجابة صحيحة: B
السؤال #2
Within the System.Limit class, what would you call to get the total limit you can call in a single transaction?
A. get[typeOfLimit] --> (Ex
B. getLimit [typeOfLirr
عرض الإجابة
اجابة صحيحة: B
السؤال #3
A business process requires sending new Account records to an external system. The Account Name, Id, CreatedDate, and CreatedById must be passed to the external system in near real-time when an Account is inserted without error. How should a developer achieve this?
A. Use a before insert trigger and an @future method
B. Use a before insert trigger and a Queueable class
C. Use a Process Builder that calls an @InvocableMethod method
D. Use a Workflow rule that calls an @InvocableMethod method
عرض الإجابة
اجابة صحيحة: C
السؤال #4
How should a developer assert that a trigger with an asynchronous process has successfully run?
A. Create at test data in the test class, use System
B. Insert records into Salesforce, use seeAllData-true, then perform assertions
C. Create all test data, use @future In the test class, then perform assertions
D. Create all test data in the test class, invoke Test
عرض الإجابة
اجابة صحيحة: D
السؤال #5
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. What can a developer use to analyze and diagnose the problem in the Lightning Page?
A. Salesforce Lightning Inspector Storage Tabcorrect
B. Salesforce Lightning Inspector Actions Tab
C. Salesforce Lightning Inspector Event Log Tab
D. Salesforce Lightning Inspector Transactions Tab
عرض الإجابة
اجابة صحيحة: A
السؤال #6
Which scenario requires a developer to use an Apex callout instead of Outbound Messaging?
A. The callout needs to be asynchronous
B. The callout needs to be invoked from a Workflow Rule
C. The Target system uses a REST API
D. The Target system uses a SOAP API
عرض الإجابة
اجابة صحيحة: D
السؤال #7
Account object has a field, Audit_Code__, that is used to specify what type of auditing the Account needs and a Lookup to user, Auditor__ that is the assigned auditor.When an Account is initially created, the user specifies the Audit_Code__. Each User in the org has a unique text field, that is used to automatically assign the correct user to the Account Auditor__ field.What should be changed to most optimize the code's efficiency? Choose 2 answers
A. Build a Map> of audit code to accounts
B. Add an initial SOQL query to get all distinct audit codes
C. Add a WHERE clause to the SOQL query to filter On audit codes
D. Build a Map> of Account Id to audit codes
عرض الإجابة
اجابة صحيحة: AC
السؤال #8
Universal Containers (UC) currently does not development in its full copy sandbox. Recently, UC has projects that require multiple developers to develop concurrently. UC is running into issues with developers making changes that cause errors In work done by other developers. Additionally, when they are ready to deploy, many unit tests fail which prevents the deployment.Which three types of orgs should be recommended to UC to eliminate these problems?Choose 3 answers
A. Data Migration org
B. Development org
C. Staging org
D. Systems Integration org
E. Continuous Integration (CI) Org
عرض الإجابة
اجابة صحيحة: ACE
السؤال #9
A developer migrated functionality from JavaScript demoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data. Which modification to the method is necessary?
A. A The method must be decorated with uraEnabled
B. The method must return a JSON Object
C. The method must be decorated with (cacheable=true)
D. The method must return a String of a serialized JSON Array
عرض الإجابة
اجابة صحيحة: A
السؤال #10
Which code statement includes an Apex method named updateAccount in the class AccountController for use in a Lightning web component?
A. Import updateAccounts from AccountController';
B. Import updateAccounts from @salesforceapexAccountControllerupdateAccounts';
C. Import updateAccounts from @salesforceapex AccountController';
D. Import updateAccounts from AccountControllerupdateAccount';
عرض الإجابة
اجابة صحيحة: C
السؤال #11
Consider the following code snippet:A developer created the following test class to provide the proper code coverage for the snippet above:However, when the test runs, no data is returned and the assertion fails.Which edit should the developer make to ensure the test class runs successfully?
A. Enclose the method call within Test
B. Implement the seeAllData=true attribute in the @isTest annotation
C. Implement the without sharing keyword in the searchfeature Apex class
D. Implement the setFixedSearchResults method in the test class
عرض الإجابة
اجابة صحيحة: D
السؤال #12
A developer creates a Lightning web component to allow a Contact to be quickly entered. However, error messages are not displayed.Which component should the developer add to the form to display error messages?
A. lightning-messages
B. aura:messages
C. lightning-error
D. apex:messages
عرض الإجابة
اجابة صحيحة: A
السؤال #13
A developer created a Lightning web component that allows users to input a text value that is used to search for Accounts by calling an Apex method. The Apex method returns a list of AccountWrappers and is called imperatively from a JavaScript event handler.Which two changes should the developer make so the Apex method functions correctly? Choose 2 answers
A. Add @AuraEnafcle3 to line 09
B. Add @AuraEnabled to line 03
C. Add @AuraEnabled to lines 11 and 12
D. Add @AuraEnat:ei to line 01
عرض الإجابة
اجابة صحيحة: BC
السؤال #14
A Lightning web component exists in the system and displays information about the record in context as a modal. Salesforce administrators need to use this component within the Lightning App Builder.Which two settings should the developer configure within the xml resource file?Choose 2 answers
A. Set the IsExposed attribute to True
B. Set the IsVisible attribute to True
C. Specify the target to be lightning__RecordPage
D. Specify the target to be lightning__AppPage
عرض الإجابة
اجابة صحيحة: AC
السؤال #15
As part of point-to-point integration, a developer must call an external web service which, due to high demand, takes a long time to provide a response. As part of the request, the developer must collect key inputs from the end user before making the callout.Which two elements should the developer use to implement these business requirements?Choose 2 answers
A. Apex method that returns a Continuation object
B. Screen now
C. Process Builder
D. Lightning web component
عرض الإجابة
اجابة صحيحة: AD
السؤال #16
If the "PageReference.setRedirect" Apex function is set to True, what type of request is made?
A. Get request
B. Postback request
C. If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
عرض الإجابة
اجابة صحيحة: A
السؤال #17
A business requires that every parent record must have a child record. A developer writes an Apex method with two DML statements to insert a parent record and a child record. A validation rule blocks child records from being created. The method uses a try/catch block to handle the DML exception. What should the developer do to ensure the parent always has a child record?
A. Use Database
B. Use addError () on the parent record if an error occurs on the child record
C. Set a database savepoint to rollback if there are errors
D. Delete the parent record in the catch statement when an error occurs on the child record DML operation
عرض الإجابة
اجابة صحيحة: C
السؤال #18
A company uses Salesforce to sell products to customers. They also have an external product information management (PIM) system that is the system of record for products. A developer received these requirements:Whenever a product is created or updated in the PIM, a product must be created or updated as a Product2 record in Salesforce and a PricebookEntry record must be created or updated automatically by Salesforce. The PricebookEntry should be created In a Pricebook2 that is specified In a custom setting.W
A. Apex REST
B. Event Monitoring
C. Invocable Action
D. SObJect Tree
عرض الإجابة
اجابة صحيحة: A
السؤال #19
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
السؤال #20
A developer wrote the following method to find all the test accounts in the org: What should be used to fix this falling test?
A. Test
B. Test
C. @isTest (See AllData=true) to access org data for the test
D. @testSetup method to set up expected data
عرض الإجابة
اجابة صحيحة: B
السؤال #21
The test method above tests in Apex trigger that the developer knows will make a lot of queries when a lot of Accounts are simultaneously updated to be customers. The test method fails at the Line 20 because of too many SOQL queries.What is the correct way to fix this?
A. Change the DataFactory class to create fewer Accounts so that the number of queries in the trigger is reduced
B. Add Test
C. Add Test
D. Replace most of the Apex Trigger with Process Builder processes to reduce the number of queries in the trigger
عرض الإجابة
اجابة صحيحة: B
السؤال #22
A company manages information about their product offerings in custom objects named Catalog and Catalog Item. Catalog Item has a master-detail field to Catalog, and each Catalog may have as many as 100,000 Catalog Items. Both custom objects have a CurrencylsoCode Text field that contains the currency code they should use. If a Catalog's CurrencylsoCode changes, all of its Catalog Items' CurrencylsoCodes should be changed as well. What should a developer use to update the CurrencylsoCodes on the Catalog Item
A. An after insert trigger on Catalog that updates the Catalog Items if the Catalog's CurrencylsoCode is different
B. An after insert trigger on Catalog Item that updates the Catalog Items if the Catalog's CurrencylsoCode is different
C. A Database
D. A Database
عرض الإجابة
اجابة صحيحة: D
السؤال #23
Universal Containers allows customers to log into a Salesforce Community and update their orders via a custom Visualforce page. Universal Containers' sales representatives can edit the orders on the same Visualforce page. What should a developer use in an Apex test class to test that record sharing is enforced on the Visualforce page?
A. Use System
B. Use System
C. Use System
D. Use System
عرض الإجابة
اجابة صحيحة: C
السؤال #24
Salesforce users consistently receive a "Maximum trigger depth exceeded" error when saving m Account.How can a developer fix this error?
A. Split the trigger logic into two separate triggers
B. Modify the trigger to use the isMultiThread=true annotation
C. Convert trigger to use the uture annotation, and chain any subsequent trigger invocations to the Account object
D. Use a helper class to set a Boolean to TRUE the first time a trigger is fired, and then; modify the trigger to only fire when modify the trigger to only fire when the Boolean is FALSE
عرض الإجابة
اجابة صحيحة: D
السؤال #25
A developer Is tasked with ensuring that email addresses entered into the system for Contacts and for a Custom Object called Survey_Response__c do not belong to a list of blacklisted domains. The list of blacklisted domains will be storedIn a custom object for ease of maintenance by users. Note that the Survey_Response__c object is populated via a custom visualforce page.What is the optimal way to implement this?
A. Implement the logic in an Apex trigger on Contact and also implement the logic within the Custom visualforce page controller
B. Implement the logic in the Custom Visualforce page controller and call that method from an Apex trigger on Contact
C. Implement the logic in a helper class that is called by an Apex trigger on Contact and from the Custom Visualforce page controller
D. Implement the logic in a Validation Rule on the Contact and a validation Rule on the Survey_Response__c object
عرض الإجابة
اجابة صحيحة: C
السؤال #26
A developer wrote a test class that successfully asserts a trigger on Account. It fires and updates data correctly in a sandbox environment. A salesforce admin with a custom profile attempts to deploy this trigger via a change set into theproduction environment, but the test class fails with an insufficient privileges error.What should a developer do to fix the problem?
A. Add system
B. Configure the production environment to enable `'Run All tests as Admin User
C. Verify that Test, statement ( ) is not inside a For loop in the test class
D. Add seeAllData=true to the test class to work within the sharing model for the production environment
عرض الإجابة
اجابة صحيحة: A
السؤال #27
A company has a custom component that allows users to search for records of a certain object type by invoking an Apex Controller that returns a list of results based on the user's input, when the search Is completed, a searchComplete event is fired, with the results put in a results attribute of the event. The component is designed to be used within other components and may appear on a single page more than once.What is the optimal code that should be added to fire the event when the search has completed?
A. Option A
B. Option B
C. Option C
D. Option D
عرض الإجابة
اجابة صحيحة: B
السؤال #28
What are two benefits of using External IDs? Choose 2 answers
A. An External ID is indexed and can improve the performance of SOQL queries
B. An External ID field can be used to reference a unique ID from another, external system
C. An External ID can be a formula field to help create a unique key from two fields in Salesforce
D. An External ID can be used with Salesforce Mobile to make external data visible
عرض الإجابة
اجابة صحيحة: AB
السؤال #29
A developer wants to write a generic Apex method that will compare the Salesforce Name field between any two object records. For example, to compare the Name field of an Account and an Opportunity; or the Name of an Account and a Contact.How should the developer do this?
A. Use a String
B. Invoke a Schema,describe() function to compare the values of each Name field
C. Cast each object into an sObject and use sObject
D. Use the salesforce metadata API to extract the value of each object and compare the name fields
عرض الإجابة
اجابة صحيحة: C
السؤال #30
A developer created an Apex class that updates an Account based on input from a Lightning web component that is used to register an Account. The update to the Account should only be made if it has not already been registered. What should the developer do to ensure that users do not overwrite each other’s updates to the same Account if they make updates at the same time?
A. Use CastiCase
B. Add a try/catch block around the update
C. Use upsert instead of update
D. Use FOR UPDATE in a SOQL query
عرض الإجابة
اجابة صحيحة: A

View The Updated Salesforce Exam Questions

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

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

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

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

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