Salesforce Certified Platform Developer II Certified Platform Developer II Dumps in PDF

Free Salesforce Certified Platform Developer II Real Questions (page: 7)

What are three benefits of using declarative customizations over code? (Choose three.)

  1. Declarative customizations cannot generate run time errors.
  2. Declarative customizations will automatically update with each Salesforce release.
  3. Declarative customizations do not require user testing.
  4. Declarative customizations are not subject to governor limits.
  5. Declarative customizations generally require less maintenance.

Answer(s): B,D,E



Which use case can only be performed by using asynchronous Apex?

  1. Scheduling a batch process to complete in the future
  2. Processing high volumes of records
  3. Updating a record after the completion of an insert
  4. Calling a web service from an Apex trigger

Answer(s): D



@isTest static void testIncrement() {
Account acct = new Account(Name = 'Test');
acct.Number_Of_Times_Viewed__c = 0;
insert acct;

AuditUtil.incrementViewed(acct.Id);
Account acctAfter = [SELECT Number_Of_Times_Viewed__c FROM Account WHERE Id = :acct.Id][0]

System.assertEquals(1, acctAfter.Number_Of_Times_Viewed__c);
}

The test method above calls an @future method that increments the Number_of_Times_Viewed c value. The assertion is failing because the Number_of_Times_Viewed c equals 0.

What is the optimal way to fix this?

  1. Change the initialization to acct.Number_Of_Times_Viewed c = 1.
  2. Add Test.startTest() before and Test.stopTest() after AuditUtil.incrementViewed.
  3. Add Test.startTest() before and Test.stopTest() after insert acct.
  4. Change the assertion to System.assertEquals(0, acctAfter.Number_Of_Times_Viewed c).

Answer(s): B



A company represents their customers as Accounts that have an External ID field called
Customer_Number c. They have a custom Order (Order c) object, with a Lookup to Account, to represent Orders that are placed in their external order management system (OMS).
When an order is fulfilled in the OMS, a REST call to Salesforce should be made that creates an Order record in Salesforce and relates it to the proper Account.

What is the optimal way to implement this?

  1. Perform a REST GET on the Account and a REST POST to update the Order c with the Account’s record ID.
  2. Perform a REST PATCH to upsert the Order c and specify the Account’s Customer_Number c in it.
  3. Perform a REST POST to update the Order c and specify the Account’s Customer_Number c in it.
  4. Perform a REST GET on the Account and a REST PATCH to upsert the Order c with the Account’s record I

Answer(s): B



What are three benefits of using static resources in Visualforce and Lightning Components? (Choose three.)

  1. Static resource files are automatically minified.
  2. Static resource files can be referenced by using the $Resource global variable instead of hardcoded IDs.
  3. Static resource files can be packaged into a collection of related files in a zip or jar archive.
  4. Static resource files do not count against an organization’s quota of data storage.
  5. Relative paths can be used in files in static resource archives to refer to other content within the archive.

Answer(s): B,C,E



Share your comments for Salesforce Certified Platform Developer II exam with other users:

A
Ayushi Baria
11/7/2023 7:44:00 AM

this is very helpfull for me

A
alma
8/25/2023 1:20:00 PM

just started preparing for the exam

C
CW
7/10/2023 6:46:00 PM

these are the type of questions i need.

N
Nobody
8/30/2023 9:54:00 PM

does this actually work? are they the exam questions and answers word for word?

S
Salah
7/23/2023 9:46:00 AM

thanks for providing these questions

R
Ritu
9/15/2023 5:55:00 AM

interesting

R
Ron
5/30/2023 8:33:00 AM

these dumps are pretty good.

S
Sowl
8/10/2023 6:22:00 PM

good questions

B
Blessious Phiri
8/15/2023 2:02:00 PM

dbua is used for upgrading oracle database

R
Richard
10/24/2023 6:12:00 AM

i am thrilled to say that i passed my amazon web services mls-c01 exam, thanks to study materials. they were comprehensive and well-structured, making my preparation efficient.

J
Janjua
5/22/2023 3:31:00 PM

please upload latest ibm ace c1000-056 dumps

M
Matt
12/30/2023 11:18:00 AM

if only explanations were provided...

R
Rasha
6/29/2023 8:23:00 PM

yes .. i need the dump if you can help me

A
Anonymous
7/25/2023 8:05:00 AM

good morning, could you please upload this exam again?

A
AJ
9/24/2023 9:32:00 AM

hi please upload sre foundation and practitioner exam questions

P
peter parker
8/10/2023 10:59:00 AM

the exam is listed as 80 questions with a pass mark of 70%, how is your 50 questions related?

B
Berihun
7/13/2023 7:29:00 AM

all questions are so important and covers all ccna modules

N
nspk
1/19/2024 12:53:00 AM

q 44. ans:- b (goto setup > order settings > select enable optional price books for orders) reference link --> https://resources.docs.salesforce.com/latest/latest/en-us/sfdc/pdf/sfom_impl_b2b_b2b2c.pdf(decide whether you want to enable the optional price books feature. if so, select enable optional price books for orders. you can use orders in salesforce while managing price books in an external platform. if you’re using d2c commerce, you must select enable optional price books for orders.)

M
Muhammad Rawish Siddiqui
12/2/2023 5:28:00 AM

"cost of replacing data if it were lost" is also correct.

A
Anonymous
7/14/2023 3:17:00 AM

pls upload the questions

M
Mukesh
7/10/2023 4:14:00 PM

good questions

E
Elie Abou Chrouch
12/11/2023 3:38:00 AM

question 182 - correct answer is d. ethernet frame length is 64 - 1518b. length of user data containing is that frame: 46 - 1500b.

D
Damien
9/23/2023 8:37:00 AM

i need this exam pls

N
Nani
9/10/2023 12:02:00 PM

its required for me, please make it enable to access. thanks

E
ethiopia
8/2/2023 2:18:00 AM

seems good..

W
whoAreWeReally
12/19/2023 8:29:00 PM

took the test last week, i did have about 15 - 20 word for word from this site on the test. (only was able to cram 600 of the questions from this site so maybe more were there i didnt review) had 4 labs, bgp, lacp, vrf with tunnels and actually had to skip a lab due to time. lots of automation syntax questions.

V
vs
9/2/2023 12:19:00 PM

no comments

J
john adenu
11/14/2023 11:02:00 AM

nice questions bring out the best in you.

O
Osman
11/21/2023 2:27:00 PM

really helpful

E
Edward
9/13/2023 5:27:00 PM

question #50 and question #81 are exactly the same questions, azure site recovery provides________for virtual machines. the first says that it is fault tolerance is the answer and second says disater recovery. from my research, it says it should be disaster recovery. can anybody explain to me why? thank you

M
Monti
5/24/2023 11:14:00 PM

iam thankful for these exam dumps questions, i would not have passed without this exam dumps.

A
Anon
10/25/2023 10:48:00 PM

some of the answers seem to be inaccurate. q10 for example shouldnt it be an m custom column?

P
PeterPan
10/18/2023 10:22:00 AM

are the question real or fake?

C
CW
7/11/2023 3:19:00 PM

thank you for providing such assistance.

AI Tutor 👋 I’m here to help!