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

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

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

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

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

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

السؤال #1
A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what defined for payments in the PaymentProcessor interface. public interface PaymentProcessor { void pay(Decimal amount); }Which is the correct implementation to use the PaymentProcessor interface class?
A. Public class CheckPaymentProcessor implements PaymentProcessor { public void pay(Decimal amount) {}
B. }
C. Public class CheckPaymentProcessor implements PaymentProcessor { public void pay(Decimal amount); }
D. Public class CheckPaymentProcessor extends PaymentProcessor { public void pay(Decimal amount); }
E. Public class CheckPaymentProcessor extends PaymentProcessor { public void pay(Decimal amount) {} }
عرض الإجابة
اجابة صحيحة: A
السؤال #2
Requirements state that a child record be to deleted when its parent is deleted, and a child can be moved to a different parent when necessary. Which type of relationship should be built between the parent and child objects in Schema Builder to support these requirements?
A. Lookup Relathionship from to child to the parent
B. Child relationship
C. Master-Detail relationship
D. Lookup Relathionship from to parent to the child
عرض الإجابة
اجابة صحيحة: C
السؤال #3
A developer needs to create a custom visualforce button for the opportunity object page layout that will cause a web service to be called and redirect the user to a new page when clicked. Which three attributes need to be defined in thetag of the visualforce page to enable this functionality?
A. Standardcontroller
B. Extensions
C. Action
D. Controller
عرض الإجابة
اجابة صحيحة: ABC
السؤال #4
A developer creates an Apex class that includes private methods. What can the developer do to ensure that the private methods can be accessed by the test class?
A. Add the TestVisible attribute to the Apex class
B. Add the SeeAllData attribute to the test methods
C. Add the TestVisible attribute to the apex methods
D. Add the SeeAllData attribute to the test class
عرض الإجابة
اجابة صحيحة: C
السؤال #5
How can a custom type be identified as unique when added to a Set?
A. Methods in the class must be static
B. The class must implement the Equals and Hashcode methods
C. Methods in the class must be global
D. The class must have a method with the @InvocableMethod annotation
عرض الإجابة
اجابة صحيحة: B
السؤال #6
A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console:Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x < 250; x+ +) {Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;}catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount');How many accounts are in the org after this code is run?
A. 101
B. 100
C. 102
D. 252
عرض الإجابة
اجابة صحيحة: B
السؤال #7
A developer considers the following snippet of code: Boolean isOK; integer x; String theString = 'Hello'; if (isOK == false && theString == 'Hello') { x = 1; } else if (isOK == true && theString =='Hello') { x = 2; } else if (isOK != null && theString == 'Hello') { x = 3; } else { x = 4; } Based on this code, what is the value of %?
A. 1
B. 3correct
C. 4
D. 2
عرض الإجابة
اجابة صحيحة: B
السؤال #8
The Account object has a custom formula field,Level__c, that is defined as a Formula(Number) with two decimal places. Which three are valid assignments? Choose 3.
A. Long myLevel = acct
B. Object myLevel = acct
C. Double myLevel = acct
D. Decimal myLevel = acct
E. Integer myLevel = acct
عرض الإجابة
اجابة صحيحة: BCD
السؤال #9
Which code displays the contents of a Visualforce page as a PDF?
A.
B.
C. correct
D.
عرض الإجابة
اجابة صحيحة: C
السؤال #10
What is the value of the Trigger.old context variable in a before insert trigger?
A. An empty list of sObjects
B. Undefined
C. null
D. A list of newly created sObjects without IDs
عرض الإجابة
اجابة صحيحة: C
السؤال #11
A developer needs to write a method that searches for a phone number that could be on multiple object types. Which method should the developer use to accomplish this task?
A. SOQL Query that includes ALL ROWS
B. SOQL query on each object
C. SOSL Query that includes ALL ROWS
D. SOSL query on each object
عرض الإجابة
اجابة صحيحة: C
السؤال #12
An org has an existing flow that edits an Opportunity with an Update Records element. A developer must update the flow to also create a Contact and store the created Contact’s ID on the Opportunity. Which update must the developer make in the flow?
A. Add a new Update Records element
B. Add a new Get Records element
C. Add a new Roll Back Records element
D. Add a new Create Records element
عرض الإجابة
اجابة صحيحة: D
السؤال #13
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 own?
A. Order has a re-parentable lookup field to Line Item,
B. Order has a re-parentable master-detail field to Line Item
C. Line Item has a re-parentable lookup field to Order
D. Line Item has a re-parentable master-detail field to Order
عرض الإجابة
اجابة صحيحة: D
السؤال #14
When the value of a field of an account record is updated, which method will update the value of a custom field opportunity? Choose 2 answers.
A. A process builder on the Account object
B. An Apex trigger on the Account object
C. A cross-object formula field on the Account object
D. A workflow rule on the Account object
عرض الإجابة
اجابة صحيحة: AB
السؤال #15
A developer has an integer variable called maxAttempts. The developer needs to ensure that once maxAttempts is initialized, it preserves its value for the length of the Apex transaction; while being able to share the variable's state between trigger executions. How should the developer declare maxAttempts to meet these requirements?
A. Declare maxattempts as a constant using the static and final keywords
B. Declare maxattempts as a member variable on the trigger definition
C. Declare maxattempts as a variable on a helper class
D. Declare maxAttempts as a private static variable on a helper class
عرض الإجابة
اجابة صحيحة: A
السؤال #16
What is a capability of a StandardSetController?Choose 2 answers
A. It allows pages to perform mass updates of records
B. It allows pages to perform pagination with large record sets
C. It enforces field-level security when reading large record sets
D. It extends the functionality of a standard or custom controller
عرض الإجابة
اجابة صحيحة: AB
السؤال #17
What is the preferred way to reference web content such as images, style sheets, JavaScript, and other libraries that is used in Visualforce pages?
A. By accessing the content from Chatter Files
B. By uploading the content in the Documents tab
C. By accessing the content from a third -party CON
D. By uploading the content as a Static Resource
عرض الإجابة
اجابة صحيحة: D
السؤال #18
A developer completed modifications 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 them to the production environment? Choose 2 answers
A. Apex classes must have at least 75% code coverage org-wide
B. All methods in the test classes must use @istest
C. At least one line of code must be executed for the Apex trigger
D. Test methods must be declared with the testMethod keyword
عرض الإجابة
اجابة صحيحة: AB
السؤال #19
A user selects a value from a multi-select picklist. How is this selected value represented in Apex?
A. As a string ending with a comma
B. As a string
C. As a list< String > with one element
D. As a set< string > with one element
عرض الإجابة
اجابة صحيحة: B
السؤال #20
Universal Containers decided to transition from Classic to Lightning Experience. They asked a developer to replace a JavaScript button that was being used to create records with prepopulated values. What can the developer use to accomplish this?
A. Quick Actionscorrect
B. Validation rules
C. Record triggered flows
D. Apex triggers
عرض الإجابة
اجابة صحيحة: A
السؤال #21
Universal Containers decides to use purely declarative development to build out a new Salesforce application. Which two options can be used to build out the business logic layer for this application? Choose 2 answers
A. Validation Rulescorrect
B. Remote Actions
C. Record-Triggered Flowcorrect
D. Batch Jobs
عرض الإجابة
اجابة صحيحة: AC
السؤال #22
A company wants to create an employee rating program that allows employees to rate each other. An employee's average rating must be displayed on the employee record. Employees must be able to create rating records, but are not allowed to create employee records. Which two actions should a developer take to accomplish this task? choose 2 answers
A. Create a master-detail relanstionship between the rating and employee object
B. Create a trigger on the rating object that updates a field on the employee object
C. Create a roll-up sumary field on the employee and use avg to calculate the average rating score
D. Create a lookup realntionship beteween the rating and employee object
عرض الإجابة
اجابة صحيحة: AC
السؤال #23
Which is a valid Apex assignment?
A. Integer x = 5
B. Float x = 5
C. Integer x = 5*1
D. Double x = 5;
عرض الإجابة
اجابة صحيحة: D
السؤال #24
In Lightning component framework, which resource can be used to fire events? Choose 2 answers.
A. Third-party Javascript code
B. Javascript controller actions
C. Visualforce controller actions
D. Third-party web service code
عرض الإجابة
اجابة صحيحة: AB
السؤال #25
A developer must implement a CheckPaymentProcessor class that provides check processing payment capabilities that adhere to what is defined for payments in the Payment Processor interface.Which implementation is correct to use the PaymentProcessor interface class?A)B)C)D)
A. Option A
B. Option B
C. Option C
D. Option D
عرض الإجابة
اجابة صحيحة: C
السؤال #26
Which two condition cause workflow rules to fire? Choose 2 answers
A. Changing territory assignments of accounts and opportunities
B. Updating record using bulk API
C. Converting leads to person account
D. An Apex batch process that changes field values
عرض الإجابة
اجابة صحيحة: BD
السؤال #27
Universal Containers has an order system that uses an Order Number to identify an order for customers and service agents. Order records will be imported into Salesforce. How should the Order Number field be defined in Salesforce?
A. Direct Lookup
B. Lookup
C. External ID and Uniquecorrect
D. Indirect Lookup
عرض الإجابة
اجابة صحيحة: C
السؤال #28
A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered to help debug the issue?
A. Add a System
B. Add a try/catch around the insert method
C. Set the second insert method parameter to TRUE
D. Collect the insert method return value a Saveresult record
عرض الإجابة
اجابة صحيحة: D
السؤال #29
A developer creates a Lightning web component that imports a method within an Apex class. When a Validate button is pressed, the method runs to execute complex validations. In this implementation scenario, which two options are.. of the Controller according to the MVC architecture? Choose 2 answers
A. HTML filecorrect
B. Apex classcorrect
C. JavaScript filecorrect
D. XML file
عرض الإجابة
اجابة صحيحة: ABC
السؤال #30
A sales manager wants to make sure that whenever an opportunity stage is changed to 'Closed Won', a new case will be of created for the support team to collect necessary information from the customer. How should a developer accomplish this?
A. Create a Process Builder to create the new case
B. Set up a validation rule on the Opportunity Stage
C. Create a lookup field to the Case object on the opportunity object
D. Create a workflow rule to create the new case
عرض الإجابة
اجابة صحيحة: A

View The Updated Salesforce Exam Questions

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

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

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

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

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