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

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

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

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

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

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

السؤال #1
Given a list of Opportunity records named opportunityList, which code snippet is best for querying all Contacts of the Opportunity’s Account?
A. List contactList = new List ();for(Opportunity o : opportunityList){Account a = [SELECT Id, (SELECT Id FROM Contacts) FROM Account WHERE Id =:o
B. List contactList = new List ();Set accountIds = new Set ();for (Opportunity o : opportunityList){contactIds
C. List contactList = new List ();Set accountIds = new Set ();for(Opportunity o : opportunityList){accountIds
D. List contactList = new List ();for ( Contact c : [SELECT Id FROM Contact WHERE AccountId IN:opportunityList
عرض الإجابة
اجابة صحيحة: C
السؤال #2
What are three benefits of using static resources in Visualforce and Lightning Components? (Choose three.)
A. Static resource files are automatically minified
B. Static resource files can be referenced by using the $Resource global variable instead of hardcoded IDs
C. Static resource files can be packaged into a collection of related files in a zip or jar archive
D. Static resource files do not count against an organization’s quota of data storage
E. Relative paths can be used in files in static resource archives to refer to other content within the archive
عرض الإجابة
اجابة صحيحة: ABCE
السؤال #3
The Contact object in an org is configured with workflow rules that trigger field updates. The fields are not updating, even though the end user expects them to. The developer creates a debug log to troubleshoot the problem. What should the developer specify in the debug log to see the values of the workflow rule conditions and debug the problem?
A. INFO level for the Database log categorycorrect
B. ERROR level for the Workflow log category
C. ERROR level for the Database log category
D. INFO level for the Workflow log category
عرض الإجابة
اجابة صحيحة: A
السؤال #4
A Lightning Component functions in preview mode and needs to be used inside a Lightning App Builder page, but it is not available. What change should be applied to the component?
A. Expose it in the markup using the implements and access attributes
B. Delete the component, metadata, and Apex controller and recreate them
C. Refresh the sandbox and upgrade it to the latest API version
D. Look for errors in the logic in the JavaScript controller
عرض الإجابة
اجابة صحيحة: A
السؤال #5
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?
A. insert (records, false)
B. Database
C. Database
D. insert records
عرض الإجابة
اجابة صحيحة: B
السؤال #6
Which method should be used to convert a Date to a String in the current user's locale?
A. String
B. Date
C. String
D. Date
عرض الإجابة
اجابة صحيحة: B
السؤال #7
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. Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?
A. Remove the Apex Class from the Integration User's Profile
B. Use the Database method with allOrNone set to False
C. Use a Try/Catch block after the insert statement
D. Deactivate the Trigger before the Integration runs
عرض الإجابة
اجابة صحيحة: C
السؤال #8
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. Which code block will accurately meet the business requirements?
A. Map statusMap = new Map{'Customer'=>'Active','Prospect'=>'Pending'}List accountUpdates = new List();for ( Account a : [SELECT Id, Type FROM Account]){if ( statusMap
B. Map statusMap = new Map{'Customer'=>'Active','Prospect'=>'Pending'}List accountUpdates = new List();for ( Account a : [SELECT Id, Type FROM Account WHERE Status IN:statusMap
C. List accountUpdates = new List();for ( Account a : [SELECT Id, Type FROM Account]){if ( String
D. List accountUpdates = new List();for ( Account a : [SELECT Id, Type FROM Account]){a
عرض الإجابة
اجابة صحيحة: D
السؤال #9
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 Actions Tab
B. Salesforce Lightning Inspector Event Log Tab
C. Salesforce Lightning Inspector Transactions Tab
D. Salesforce Lightning Inspector Storage Tab
عرض الإجابة
اجابة صحيحة: D
السؤال #10
{!v.account.Name} {!v.account.AccountNumber} {!v.account.Industry} Refer to the component code above. The information displays as expected (in three rows) on a mobile device. However, the information is not displaying as desired (in a single row) on a desktop or tablet. Which option h
A. {!v
B. {!v
C. {!v
D. {!v
عرض الإجابة
اجابة صحيحة: C
السؤال #11
A developer created the code to perform an HTP GET request to an external system. When the code is executed, the callout is unsuccessful and the following error appears within the Developer Console:System.CalloutException: Unauthorized endpoint Which recommended approach should the developer implement to the callout exception?
A. create a remote site setting configuration that includes the endpoint
B. Annotate the getERPCatalogContents method With @Future (Callout-true)
C. use the setHeader () method to specify Basic Authentication
D. Change the access modifier for ERPCatelog from Public to globalcorrect
عرض الإجابة
اجابة صحيحة: 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. apex:messages
B. aura:messages
C. lightning-messagescorrect
D. lightning-error
عرض الإجابة
اجابة صحيحة: C
السؤال #13
A developer creates an application event that has triggered an infinite loop. What may have caused this problem?
A. The event is fired from a custom renderer
B. An event is fired ‘ontouchend’ and is unhandled
C. The event has multiple registered in the project
D. The event handler calls a trigger
عرض الإجابة
اجابة صحيحة: A
السؤال #14
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's 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. What is the optimal way to implement this?
A. Use Salesforce Connect and external data objects to seamlessly import the invoice data into Salesforce without custom code
B. 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
C. Create a cross-reference table in the custom invoicing system with the Salesforce Account ID of each Customer and insert invoice data nightly
D. Query the Account Object upon each call to insert invoice data to fetch the Salesforce ID corresponding to the Customer Number on the invoice
عرض الإجابة
اجابة صحيحة: B
السؤال #15
As part of a new integration, a developer is asked to implement a new custom search functional that is capable of performing unrestricted Queries and can account for all values within a custom picklist field. Type_ c, on the Opportunity object. The search feature must also account for NULL values. The organization-wide default for the Opportunity object is set to Public Read-Only, and a new custom index has been created for the type_ c, field. There are more than 5 million Opportunity records within the env
A. Create a formula field that substitutes Null values for a sting of text, create an index for the formula field, then use the formula within the where cause
B. Perform two SOQL query; one to query Opportunities where Type c _ NULL, and another to query where Type_ c = Null, then join the result set using Apex
C. Use a SOSL query to return ALL opportunities that have a value of NULL in any field
D. Use the OR operator to combine WHERE Causes to strictly search for each value within the picklist, including Type__ c =NUL
عرض الإجابة
اجابة صحيحة: B
السؤال #16
Refer to the component code above.
A. {!v
B. {!v
C. {!v
D. {!v
عرض الإجابة
اجابة صحيحة: C
السؤال #17
A developer writes a lightning web component that displays a dropdown list of all custom objects in the org from which a user will select Apex method prepares and returns data to the component. What should the developer do to determine which objects to include in the response?
A. Check the isCustom ( ) value on the sObject describe result
B. Use the getCustomObject ( ) method from the Schema class
C. Import the list of all custom objects from @salesforce/schema
D. Check the getObjectType () value for Custom' or 'Standard' on the sObject describe result
عرض الإجابة
اجابة صحيحة: A
السؤال #18
How can the DISTANCE and GEOLOCATION functions be used in SOQL queries? (Choose two.)
A. To filter results based on distance from a latitude and longitude
B. To get the distance results from a latitude and longitude
C. To order results by distance from a latitude or longitude
D. To group results in distance ranges from a latitude and longitude
عرض الإجابة
اجابة صحيحة: AC
السؤال #19
The Account object has a field, auais_Code__c, that is used to specify what type of auditing the Account needs and a Lookup to User, Ruditor_c, that is the assigned auditor. When an Account is initially created, the user specifies the Audit_Code__c. Each User in the org has a unique text field, Rudi. that is used to automatically assign the correct user to the Account’s Auditor__c field. What should be changed to most optimize the code’s effidency? Choose 2 answers
A. Build a Mep> of audit code to accounts,correct
B. Add an initial SOQL query to get all distinct audit codes
C. Sulld eMepcié, List of Account I¢ to aucit codes
D. Add a WHERE clause to the SOQL query to filter on audit codes
عرض الإجابة
اجابة صحيحة: AD
السؤال #20
A company has a custom object, Order__c, that has a required, unique, external ID field called Order_Number__c. 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?
A. upsert orders;
B. upsert orders Order_Number__c;correct
C. merge orders Order_Number__c;
D. merge orders;
عرض الإجابة
اجابة صحيحة: B
السؤال #21
A custom Visualforce controller calls the ApexPages.addMessage() method, but no messages are rendering on the page. Which component should be added to the Visualforce page to display the message?
A.
B.
C.
D. correct
عرض الإجابة
اجابة صحيحة: D
السؤال #22
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. What is the optimal way for a developer to fix the issue?
A. Add a before insert trigger on Account to set the value of the required field
B. Create a TestDataFactory class that serves as the single place to create Accounts for unit tests and set the required field there
C. Change the required field to be a validation rule that excludes the System Administrator profile
D. Add the required field to the data setup for all of the unit tests
عرض الإجابة
اجابة صحيحة: B
السؤال #23
A developer 15 tasked with creating an application-centric feature on which end-users can access and update information. This feature must be available in lightning Experience while working seamlessly in multiple device form factors, such as desktops, phones, and tablets. Additionally, the feature must support Addressable URL Tabs and interact with the Salesforce Console APIs. What arm two approaches a developer can take to build the application and support the business requirements? Choose 2 answers
A. Create the application using Aura Components wrapped in Lightning Web Components
B. Create the application using Lightning web Components wrapped in Aura Components
C. Create application using Aura Components
D. Create the application using Lightning Experience Builder
عرض الإجابة
اجابة صحيحة: ABC
السؤال #24
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. The CalloutUtil.makeRestCallout fails with a 'You have uncommitted work pending. Please commit or rollback before calling out' error. What should be done to address the problem?
A. Remove the Database
B. Change the CalloutUtil
C. Change the CalloutUtil
D. Move the CalloutUtil
عرض الإجابة
اجابة صحيحة: C
السؤال #25
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. 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. Which two statements are true regarding these issues and resolution? (Choose two.)
A. The administrators are deploying their own Change Sets, thus deleting each other’s fields from the objects in production
B. A sandbox should be created to use as a unified testing environment instead of deploying Change Sets directly to production
C. Page Layouts should never be deployed via Change Sets, as this causes Workflows and Field-level Security to be reset and fields to disappear
D. The administrators are deploying their own Change Sets over each other, thus replacing entire Page Layouts and Workflows in Production
عرض الإجابة
اجابة صحيحة: ABD
السؤال #26
Assuming the CreateOneAccount class creates one account and implements the Queuetable interface, which syntax tests the Apex code? A) B) C) D)
A. Option A
B. Option Bcorrect
C. Option C
D. Option D
عرض الإجابة
اجابة صحيحة: B
السؤال #27
Universal Containers (UC) has custom Order and Order Line objects that represent orders placed by its customers. A developer has a new requirement that UC's external enterprise resource planning (CRP) system placed by its customers. integrate with Salesforce to create orders for existing customers in Salesforce whenever an ERP system. What should the developer use to create the orders in Salesforce?
A. Connect APIcorrect
B. Change Data Capture API
C. SObject Tree API
D. Event Monitoring API
عرض الإجابة
اجابة صحيحة: A
السؤال #28
Refer to the following code snippets: MyOpportunities.js OpportunityController.cIs A developer is experiencing issues with a Lightning web component. The component must surface information about Opportunities owned by the currently logged-in user When the component Is rendered, the following message Is displayed: "Error retrieving data". Which modification should be implemented to the Apex class to overcome the issue7
A. Ensure the OWD for the Opportunity object is Public
B. Use the Cacheable-true attribute in the Apex method
C. Edit the code to use the without sharing keyword in the Apex class
D. Use the continuation-true attribute in the Apex method
عرض الإجابة
اجابة صحيحة: B
السؤال #29
A developer is writing a Jest for a Lightning web component that conditionally displays child components based on a user’s checkbox selections. What should the developer do to property test that the correct components display and hide for each scenario?
A. Reset the DOM after each test with the after Each method
B. Add a teardown block to reset the DOM after each test
C. Create a new describe block for each testcorrect
D. Create a new jsdom instance for each test
عرض الإجابة
اجابة صحيحة: C
السؤال #30
A developer is trying to decide between creating a Visualforce component or a Lightning component for a custom screen. Which functionality consideration impacts the final decision?
A. Does the screen need to be rendered as a PDF?correct
B. Does the screen need to be accessible from the Lightning Experience UI?
C. Will the screen make use of a JavaScript framework?
D. Will the screen be accessed via a mobile app?
عرض الإجابة
اجابة صحيحة: A

View The Updated Salesforce Exam Questions

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

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

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

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

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