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

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

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

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

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

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

السؤال #1
What can be used to override the Account's standard Edit button for Lightning Experience?
A. Lightning action
B. Lightning componentcorrect
C. Lightning page
D. Lightning flow
عرض الإجابة
اجابة صحيحة: B
السؤال #2
Which two events need to happen when deploying to a production org? Choose 2 answers
A. All custom objects must have visibility set to a value other than in Development
B. All Apex code must have at least 75% test coverage
C. All triggers must have some test coverage
D. All Visual flows must have at least 1% test coverage
عرض الإجابة
اجابة صحيحة: BC
السؤال #3
When viewing a Quote, the sales representative wants to easily see how many discounted items are included in the Quote Line Items. What should a developer do to meet this requirement?
A. Create a trigger on the Quote object that queries the Quantity field on discounted Quote Line Items
B. Create a Workflow Rule on the Quote Line Item object that updates a field on the parent Quote when the item is discounted
C. Create a roll-up summary field on the Quote object that performs a SUM on the quote Line Item Quantity field, filtered for only discounted Quote Line Items
D. Create a formula field on the Quote object that performs a SUM on the Quote Line Item Quantity field, filtered for only discounted Quote Line Items
عرض الإجابة
اجابة صحيحة: C
السؤال #4
A developer wants to mark each Account in a List as either or Inactive based on the LastModified field value being more than 90 days. Which Apex technique should the developer use?
A. A for loop, with a switch statement inside
B. A Switch statement, with a for loop inside
C. An If/else statement, with a for loop inside
D. A for loop, with an if/else statement insidecorrect
عرض الإجابة
اجابة صحيحة: D
السؤال #5
A developer is implementing an Apex class for a financial system. Within the class, the variables ‘creditAmount’ and ‘debtAmount’ should not be able to change once a value is assigned. In which two ways can the developer declare the variables to ensure their value can only be assigned one time? Choose 2 answers
A. Use the static keyword and assign its value in the class constructor
B. Use the final keyword and assign its value in the class constructor
C. Use the static keyword and assign its value in a static initializer
D. Use the final keyword and assign its value when declaring the variable
عرض الإجابة
اجابة صحيحة: ABD
السؤال #6
A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an Orderltem object that has a master-detail relationship to Order. During order processing, an order may be split into multiple orders. What should a developer do to allow their code to move some existing Orderltem records to a new Order record?
A. Change the master-detail relationship to an external lookup relationship
B. Add without sharing to the Apex class declaration
C. Create a junction object between Orderltem and Order
D. Select the Allow reparenting option on the master-detail relationship
عرض الإجابة
اجابة صحيحة: C
السؤال #7
A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces. public interface Sortable { void sort(); } public interface Drawable { void draw(); } Which is the correct implementation?
A. Public class DrawList implements Sortable, Implements Drawable {public void sort() { /*implementation*/}public void draw() { /*implementation*/}]
B. Public class DrawList extends Sortable, Drawable {public void sort() { /*implementation*/}public void draw() { /*implementation*/}}
C. Public class DrawList implements Sortable, Drawable {public void sort() { /*implementation*/}public void draw() { /*implementation*/}}correct
D. Public class DrawList extends Sortable, extends Sortable, extends Drawable {public void sort() { /*implementation*/ }public void draw() { /* implementation */}
عرض الإجابة
اجابة صحيحة: C
السؤال #8
A develop completed modification to a customized feature that is comprised of two elements: Apex trigger Trigger handler Apex class What are two factors that the developer must take into account to properly deploy the modification to the production environment?
A. Apex classes must have at least 75% code coverage org-wide
B. At least one line of code must be executed for the Apex trigger
C. All methods in the test classes must use @isTest
D. Test methods must be declared with the testMethod keyword
عرض الإجابة
اجابة صحيحة: AB
السؤال #9
An org has an existing Flow that creates an Opportunity with an Update Records element. A developer update the Flow to also create a Contact and store the created Contact's ID on the Opportunity. Which update should the developer make in the Flow?
A. Add a new Get Records element
B. Add a new Update Records element
C. Add a new Quick Action element (of type Create)
D. Add a new Create Records element
عرض الإجابة
اجابة صحيحة: D
السؤال #10
Which approach should be used to provide test data for a test class?
A. Query for existing records in the database
B. Execute anonymous code blocks that create data
C. Access data in @TestVisible class variables
D. Use a test data factory class to create test data
عرض الإجابة
اجابة صحيحة: D
السؤال #11
A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default} | Opportunity record type, and set certain default values based on the record type before inserting the record. How can the developer find the current user's default record type? ns
A. Query the Profile where the ID equals userInfo
B. Use Opportunity
C. Use the Schema
عرض الإجابة
اجابة صحيحة: B
السؤال #12
What are three capabilities of the tag when loading JavaScript resources in Aura components? Choose 3 answers
A. Loading files from Documentscorrect
B. One-time loading for duplicate scriptscorrect
C. Specifying loading ordercorrect
D. Loading scripts In parallelcorrect
E. Loading externally hosted scripts
عرض الإجابة
اجابة صحيحة: ABCD
السؤال #13
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own. What should the developer use to enforce sharing permission for the currently logged-in user while using the custom search tool?
A. Use the schema describe calls to determine if the logged-in users has access to the Account object
B. Use the without sharing keyword on the class declaration
C. Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user
D. Use the with sharing keyword on the class declaration
عرض الإجابة
اجابة صحيحة: D
السؤال #14
Cloud kicks has a multi-screen flow that its call center agents use when handling inbound service desk calls. At one of the steps in the flow, the agents should be presented with a list of order numbers and dates that are retrieved from an external order management system in real time and displayed on the screen. What should a developer use to satisfy this requirement?
A. An Apex controller
B. An Apex REST classcorrect
C. An outbound message
D. An invocable method
عرض الإجابة
اجابة صحيحة: B
السؤال #15
Which action causes a before trigger to fire by default for Accounts?
A. Renaming or replacing picklists
B. updating addresses using Mass Address updated tool
C. Importing data using the Data Loader and the Bulk API
D. Converting Leads to Contacts
عرض الإجابة
اجابة صحيحة: C
السؤال #16
Refer to the following code snippet for an environment that has more than 200 Accounts belonging to the Technology' industry: Which three statements are accurate about debug logs? Choose 3 answers
A. Debug log levels are cumulative, where FINE log level includes all events logged at the DEBUG, INFO, WARN, and ERROR levels
B. The maximum size of a debug log is 5 M
C. Only the 20 most recent debug logs for a user are kept
D. Debug logs can be set for specific users, classes, and triggers
E. System debug logs are retained for 24 hours
عرض الإجابة
اجابة صحيحة: ACD
السؤال #17
Universal Containers has large number of custom applications that were built using a third-party javaScript framework and exposed using Visualforce pages. The Company wants to update these applications to apply styling that resembles the look and feel of Lightning Experience. What should the developer do to fulfill the business request in the quickest and most effective manner?
A. Incorporate the Salesforce Lightning Design System CSS stylesheet into the JavaScript applications
B. Rewrite all Visualforce pages asLightning components
C. Set the attribute enableLightning to true in the definition
D. Enable Available for Lightning Experience, Lightning Communities, and the mobile app on Visualforce pages used by the custom application
عرض الإجابة
اجابة صحيحة: A
السؤال #18
A developer has the following requirements: ? Calculate the total amount on an Order. ? Calculate the line amount for each Line Item based on quantity selected and price. ? Move Line Items to a different Order if a Line Item is not in stock. Which relationship implementation supports these requirements on its own7
A. Line Item has a re-parentable master-detail field to Order
B. Order has a re-parentable master-detail field to Line Item
C. Line Item has a re-parentable lookup field to Order
D. Order has a re-parentable lookup field to Line Item
عرض الإجابة
اجابة صحيحة: A
السؤال #19
While writing an Apex class that creates Accounts, a developer wants to make sure that all required fields are handled properly. Which approach should the developer use to be sure that the Apex class works correctly?
A. Perform a code review with another developer
B. Include a try/catch block to the Apex class
C. Run the code in an Execute Anonymous block
D. Add the business logic to a test class
عرض الإجابة
اجابة صحيحة: B
السؤال #20
A developer needs to make a custom Lightning Web Component available in the Salesforce Classic user interface Which approach can be used to accomplish this?
A. Embed the Lightning Web Component is a Visualforce Component and add directly to the page layout
B. Use the Lightning Out JavaScript library to embed the Lightning Web Component in a Visualforce page and add to the page layout
C. Use a Visualforce page with a custom controller to invoke the Lightning Web Component using a call to an Apex method
D. Wrap the Lightning Web Component in an Aura Component and surface the Aura Component as a Visualforce tab
عرض الإجابة
اجابة صحيحة: B
السؤال #21
A developer must create a CreditcardPayment class that provides an implementation of an existing Payment class. Public virtual class Payment { public virtual void makePayment(Decimal amount) { /*implementation*/ } } Which is the correct implementation?
A. Public class CreditcardPayment extends Payment {public override void makePayment(Decimal amount) { /*implementation*/ }}correct
B. Public class CreditCardPayment implements Payment {public virtual void makePayment(Decimal amount) { /*implementation*/ }}
C. Public class CreditCardPayment extends Payment {public virtual void makePayment(Decimal amount) { /*implementation*/ }}
D. Public class CreditCardPayment implements Payment {public override void makePayment(Decimal amount) { /*Implementation*/ }}
عرض الإجابة
اجابة صحيحة: A
السؤال #22
A developer is alerted to an issue with a custom Apex trigger that is causing records to be duplicated. What is the most appropriate debugging approach to troubleshoot the issue?
A. Review the Historical Event logs to identify the source of the issue
B. Add system
C. Use the Apex Interactive Debugger to step through the code and identify the issue
D. Disable the trigger in production and test to see if the issue still occurs
عرض الإجابة
اجابة صحيحة: C
السؤال #23
A Lightning component has a wired property, searchResults, that stores a list of Opportunities. Which definition of the Apex method, to which the searchResults property is wired, should be used?
A. @AuraEnabled(cacheable=true)public static List search(String term) { /* implementation*/ }correct
B. @AuraEnabled(cacheable=true) public List search(String term) { /*implementation*/ }
C. @AuraEnabled(cacheable=false) public static List search(String term) { /*implementation*/ }
D. @AuraEnabled(cacheable=false) public List search(String term) { /*implementation*/ }
عرض الإجابة
اجابة صحيحة: A
السؤال #24
A developer needs to have records with specific field values in order to test a new Apex class. What should the developer do to ensure the data is available to the test?
A. Use Anonymous Apex to create the required data
B. Use Test
C. Use SOQL to query the org for the required data
D. Use Test
عرض الإجابة
اجابة صحيحة: B
السؤال #25
A Developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger. Which method allows access to the price book?
A. Use Test
B. Use @IsTest(SeeAllData=true) and delete the existing standard price book
C. Use Test
D. Use @TestVisible to allow the test method to see the standard price book
عرض الإجابة
اجابة صحيحة: A
السؤال #26
How should a developer write unit tests for a private method in an Apex class?
A. Use the SeeAllData annotation
B. Add a test method in the Apex class
C. Use the TestVisible annotation
D. Mark the Apex class as global
عرض الإجابة
اجابة صحيحة: C
السؤال #27
What should a developer use to implement an automatic Approval Process submission for Cases?
A. An Assignment Rule
B. Scheduled Apex
C. Process Builder
D. A Workflow Rule
عرض الإجابة
اجابة صحيحة: C
السؤال #28
Which two platform features align to the Controller portion of MVC architecture? (Choose two.)
A. Process Builder actions
B. Workflow rules
C. Standard objects
D. Date fields
عرض الإجابة
اجابة صحيحة: AB
السؤال #29
Which two are best practices when it comes to component and application event handling? (Choose two.)
A. Reuse the event logic in a component bundle, by putting the logic in the helper
B. Use component events to communicate actions that should be handled at the application level
C. Handle low-level events in the event handler and re-fire them as higher-level events
D. Try to use application events as opposed to component events
عرض الإجابة
اجابة صحيحة: AC
السؤال #30
which statement is true regarding execution order when triggers are associated to the same object and event?
A. Trigger execution order cannot be guaranteed
B. executed In the order they are modified
C. Triggers are executed alphabetically by trigger name
D. Triggers are executed in the order they are created
عرض الإجابة
اجابة صحيحة: A

View The Updated Salesforce Exam Questions

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

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

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

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

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