Salesforce Certified Platform Developer II Certified Platform Developer II Exam Questions in PDF

Free Salesforce Certified Platform Developer II Dumps 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
Ankit S
11/13/2023 3:58:00 AM

q15. answer is b. simple

S
S. R
12/8/2023 9:41:00 AM

great practice

M
Mungara
3/14/2023 12:10:00 AM

thanks to this exam dumps, i felt confident and passed my exam with ease.

A
Anonymous
7/25/2023 2:55:00 AM

need 1z0-1105-22 exam

N
Nigora
5/31/2022 10:05:00 PM

this is a beautiful tool. passed after a week of studying.

A
Av dey
8/16/2023 2:35:00 PM

can you please upload the dumps for 1z0-1096-23 for oracle

M
Mayur Shermale
11/23/2023 12:22:00 AM

its intresting, i would like to learn more abouth this

J
JM
12/19/2023 2:23:00 PM

q252: dns poisoning is the correct answer, not locator redirection. beaconing is detected from a host. this indicates that the system has been infected with malware, which could be the source of local dns poisoning. location redirection works by either embedding the redirection in the original websites code or having a user click on a url that has an embedded redirect. since users at a different office are not getting redirected, it isnt an embedded redirection on the original website and since the user is manually typing in the url and not clicking a link, it isnt a modified link.

F
Freddie
12/12/2023 12:37:00 PM

helpful dump questions

D
Da Costa
8/25/2023 7:30:00 AM

question 423 eigrp uses metric

B
Bsmaind
8/20/2023 9:22:00 AM

hello nice dumps

B
beau
1/12/2024 4:53:00 PM

good resource for learning

S
Sandeep
12/29/2023 4:07:00 AM

very useful

K
kevin
9/29/2023 8:04:00 AM

physical tempering techniques

B
Blessious Phiri
8/15/2023 4:08:00 PM

its giving best technical knowledge

T
Testbear
6/13/2023 11:15:00 AM

please upload

S
shime
10/24/2023 4:23:00 AM

great question with explanation thanks!!

T
Thembelani
5/30/2023 2:40:00 AM

does this exam have lab sections?

S
Shin
9/8/2023 5:31:00 AM

please upload

P
priti kagwade
7/22/2023 5:17:00 AM

please upload the braindump for .net

R
Robe
9/27/2023 8:15:00 PM

i need this exam 1z0-1107-2. please.

C
Chiranthaka
9/20/2023 11:22:00 AM

very useful!

N
Not Miguel
11/26/2023 9:43:00 PM

for this question - "which three type of basic patient or member information is displayed on the patient info component? (choose three.)", list of conditions is not displayed (it is displayed in patient card, not patient info). so should be thumbnail of chatter photo

A
Andrus
12/17/2023 12:09:00 PM

q52 should be d. vm storage controller bandwidth represents the amount of data (in terms of bandwidth) that a vms storage controller is using to read and write data to the storage fabric.

R
Raj
5/25/2023 8:43:00 AM

nice questions

M
max
12/22/2023 3:45:00 PM

very useful

M
Muhammad Rawish Siddiqui
12/8/2023 6:12:00 PM

question # 208: failure logs is not an example of operational metadata.

S
Sachin Bedi
1/5/2024 4:47:00 AM

good questions

K
Kenneth
12/8/2023 7:34:00 AM

thank you for the test materials!

H
Harjinder Singh
8/9/2023 4:16:00 AM

its very helpful

S
SD
7/13/2023 12:56:00 AM

good questions

K
kanjoe
7/2/2023 11:40:00 AM

good questons

M
Mahmoud
7/6/2023 4:24:00 AM

i need the dumb of the hcip security v4.0 exam

W
Wei
8/3/2023 4:18:00 AM

upload the dump please

AI Tutor 👋 I’m here to help!