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

Free Salesforce Certified Platform Developer II Dumps Questions (page: 4)

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?

  1. Map<String, String> statusMap = new Map<String, String>{'Customer'=>'Active', 'Prospect'=>'Pending'}
    List<Account> accountUpdates = new List<Account>();
    for ( Account a : [SELECT Id, Type FROM Account]){
    if ( statusMap.containsKey(a.Type) ) {
    a.Status = a.Type == 'Customer' ? 'Active' : 'Pending';
    }
    accountUpdates.add(a);
    }
    update accountUpdates;
  2. Map<String, String> statusMap = new Map<String, String>{'Customer'=>'Active', 'Prospect'=>'Pending'}
    List<Account> accountUpdates = new List<Account>();
    for ( Account a : [SELECT Id, Type FROM Account WHERE Status IN :statusMap.keySet()]){
    a.Status = statusMap.get(a.Type);
    accountUpdates.add(a);
    }
    update accountUpdates;
  3. List<Account> accountUpdates = new List<Account>();
    for ( Account a : [SELECT Id, Type FROM Account]){
    if ( String.isNotBlank(a.Type) && a.Type == 'Customer' ){
    a.Status = 'Active';
    }
    if ( String.isNotBlank(a.Type) && a.Type == 'Prospect' ){
    a.Status = 'Pending';
    }
    accountUpdates.add(a);
    }
    update accountUpdades;
  4. List<Account> accountUpdates = new List<Account>();
    for ( Account a : [SELECT Id, Type FROM Account]){
    a.Status = a.Type == 'Customer' ? 'Active' : 'Pending';
    accountUpdates.add(a);
    }
    update accountUpdates;

Answer(s): C



What is a benefit of JavaScript remoting over Visualforce Remote Objects?

  1. Allows for specified re-render targets
  2. Does not require any Apex code
  3. Does not require any JavaScript code
  4. Supports complex server-side application logic

Answer(s): D



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?

  1. Expose it in the markup using the implements and access attributes.
  2. Delete the component, metadata, and Apex controller and recreate them.
  3. Refresh the sandbox and upgrade it to the latest API version.
  4. Look for errors in the logic in the JavaScript controller.

Answer(s): A



Recently a Salesforce org's integration failed because it exceeded the number of allowed API calls in a 24-hour period. The integration handles a near real-time, complex insertion of data into Salesforce.

The flow of data is as follows:

-The integration looks up Contact records with a given email address and, if found, the integration adds a Task to the first matching Contact it finds.
-If a match is not found, the integration looks up Lead records with a given email address and, if found, the integration adds a Task to the first matching Lead it finds.
-If a match is not found, the integration will create a Lead and a Task for that newly created Lead.

What is one way in which the integration can stay near real-time, but not exceed the number of allowed API calls in a 24-hour period?

  1. Use the REST API as well as the SOAP API to effectively double the API calls allowed in a 24-hour period.
  2. Create an Inbound Message that, using Flow, can do all of the logic the integration code was doing.
  3. Write a custom Apex web service that, given an email address, does all of the logic the integration code was doing.
  4. Create several Apex InboundEmailHandlers to accept calls from the third-party system, thus bypassing the API limits.

Answer(s): C



A company wants to build a custom Lightning Component that will display a specified Account Field Set and that can only be added to the Account record page.

Which design resource configuration should be used?

  1. <design:component label="Account FS Component">
    <design:attribute name="fieldSetName" Label="Field Set Name" />
    <sfdc:objects>
    <sfdc:object>FieldSet</sfdc:object>
    </sfdc:objects>
    </design:component>
  2. <design:component label="Account FS Component">
    <design:attribute name="fieldSetName" label="Field Set Name" />
    <sfdc:objects>
    <sfdc:object>Account</sfdc:object>
    </sfdc:objects>
    </design:component>
  3. <design:component label="Account FS Component">
    <aura:attribute name="fieldSetName" label="Field Set Name" />
    <sfdc:objects>
    <sfdc:object>FieldSet</sfdc:object>
    </sfdc:objects>
    </design:component>
  4. <design:component label="Account FS Component">
    <aura:attribute name="fieldSetName" label="Field Set Name" />
    <sfdc:objects>
    <sfdc:object>Account</sfdc:object>
    </sfdc:objects>
    </design:component>

Answer(s): B



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

I
indira m
8/14/2023 12:15:00 PM

please provide the pdf

R
ribrahim
8/1/2023 6:05:00 AM

hey guys, just to let you all know that i cleared my 312-38 today within 1 hr with 100 questions and passed. thank you so much brain-dumps.net all the questions that ive studied in this dump came out exactly the same word for word "verbatim". you rock brain-dumps.net!!! section name total score gained score network perimeter protection 16 11 incident response 10 8 enterprise virtual, cloud, and wireless network protection 12 8 application and data protection 13 10 network défense management 10 9 endpoint protection 15 12 incident d

A
Andrew
8/23/2023 6:02:00 PM

very helpful

L
latha
9/7/2023 8:14:00 AM

useful questions

I
ibrahim
11/9/2023 7:57:00 AM

page :20 https://exam-dumps.com/snowflake/free-cof-c02-braindumps.html?p=20#collapse_453 q 74: true or false: pipes can be suspended and resumed. true. desc.: pausing or resuming pipes in addition to the pipe owner, a role that has the following minimum permissions can pause or resume the pipe https://docs.snowflake.com/en/user-guide/data-load-snowpipe-intro

F
Franklin Allagoa
7/5/2023 5:16:00 AM

i want hcia exam dumps

S
SSA
12/24/2023 1:18:00 PM

good training

B
BK
8/11/2023 12:23:00 PM

very useful

D
Deepika Narayanan
7/13/2023 11:05:00 PM

yes need this exam dumps

B
Blessious Phiri
8/15/2023 3:31:00 PM

these questions are a great eye opener

J
Jagdesh
9/8/2023 8:17:00 AM

thank you for providing these questions and answers. they helped me pass my exam. you guys are great.

T
TS
7/18/2023 3:32:00 PM

good knowledge

A
Asad Khan
11/1/2023 2:44:00 AM

answer 10 should be a because only a new project will be created & the organization is the same.

R
Raj
9/12/2023 3:49:00 PM

can you please upload the dump again

C
Christian Klein
6/23/2023 1:32:00 PM

is it legit questions from sap certifications ?

A
anonymous
1/12/2024 3:34:00 PM

question 16 should be b (changing the connector settings on the monitor) pc and monitor were powered on. the lights on the pc are on indicating power. the monitor is showing an error text indicating that it is receiving power too. this is a clear sign of having the wrong input selected on the monitor. thus, the "connector setting" needs to be switched from hdmi to display port on the monitor so it receives the signal from the pc, or the other way around (display port to hdmi).

N
NSPK
1/18/2024 10:26:00 AM

q 10. ans is d (in the target org: open deployment settings, click edit next to the source org. select allow inbound changes and save

M
mohamed abdo
9/1/2023 4:59:00 AM

very useful

T
Tom
3/18/2022 8:00:00 PM

i purchased this exam dumps from another website with way more questions but they were all invalid and outdate. this exam dumps was right to the point and all from recent exam. it was a hard pass.

E
Edrick GOP
10/24/2023 6:00:00 AM

it was a good experience and i got 90% in the 200-901 exam.

A
anonymous
8/10/2023 2:28:00 AM

hi please upload this

B
Bakir
7/6/2023 7:24:00 AM

please upload it

A
Aman
6/18/2023 1:27:00 PM

really need this dump. can you please help.

N
Neela Para
1/8/2024 6:39:00 PM

really good and covers many areas explaining the answer.

K
Karan Patel
8/15/2023 12:51:00 AM

yes, can you please upload the exam?

N
NISHAD
11/7/2023 11:28:00 AM

how many questions are there in these dumps?

P
Pankaj
7/3/2023 3:57:00 AM

hi team, please upload this , i need it.

D
DN
9/4/2023 11:19:00 PM

question 14 - run terraform import: this is the recommended best practice for bringing manually created or destroyed resources under terraform management. you use terraform import to associate an existing resource with a terraform resource configuration. this ensures that terraform is aware of the resource, and you can subsequently manage it with terraform.

Z
Zhiguang
8/19/2023 11:37:00 PM

please upload dump. thanks in advance.

D
deedee
12/23/2023 5:51:00 PM

great great

A
Asad Khan
11/1/2023 3:10:00 AM

answer 16 should be b your organizational policies require you to use virtual machines directly

S
Sale Danasabe
10/24/2023 5:21:00 PM

the question are kind of tricky of you didnt get the hnag on it.

L
Luis
11/16/2023 1:39:00 PM

can anyone tell me if this is for rhel8 or rhel9?

H
hik
1/19/2024 1:47:00 PM

good content

AI Tutor 👋 I’m here to help!