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

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

A Visualforce page contains an industry select list and displays a table of Accounts that have a matching value in their Industry field.

<apex:selectList value="{!selectedIndustry}">
<apex:selectOptions values="{!industries}"/>
</apex:selectList>

When a user changes the value in the industry select list, the table of Accounts should be automatically updated to show the Accounts associated with the selected industry.

What is the optimal way to implement this?

  1. Add an <apex:actionFunction> within the <apex:selectOptions>.
  2. Add an <apex:actionFunction> within the <apex:selectList>.
  3. Add an <apex:actionSupport> within the <apex:selectList>.
  4. Add an <apex:actionSupport> within the <apex:selectOptions>.

Answer(s): C





The test method above calls a web service that updates an external system with Account information and sets the Account’s Integration_Updated c checkbox to True when it completes. The test fails to execute and exits with an error: "Methods defined as TestMethod do not support Web service callouts."
What is the optimal way to fix this?

  1. Add Test.startTest() before and Test.setMock and Test.stopTest() after CalloutUtil.sendAccountUpdate.
  2. Add Test.startTest() and Test.setMock before and Test.stopTest() after CalloutUtil.sendAccountUpdate.
  3. Add if (!Test.isRunningTest()) around CalloutUtil.sendAccountUpdate.
  4. Add Test.startTest() before and Test.stopTest() after CalloutUtil.sendAccountUpdate.

Answer(s): B



A developer created and tested a Visualforce page in their developer sandbox, but now receives reports that users are encountering ViewState errors when using it in Production.
What should the developer ensure to correct these errors?

  1. Ensure queries do not exceed governor limits.
  2. Ensure properties are marked as Transient.
  3. Ensure properties are marked as private.
  4. Ensure profiles have access to the Visualforce page.

Answer(s): B



<lightning:layout multipleRows="true">
<lightning:layoutItem size="12">{!v.account.Name}
</lightning:layoutItem>

<lightning:layoutItem size="12">{!v.account.AccountNumber}
</lightning:layoutItem>

<lightning:layoutItem size="12">{!v.account.Industry}
</lightning:layoutItem>
</lightning:layout>

Refer to the component code above. The information displays as expected (in three rows) on a mobile device. However, the information is not displaying as desired (in a single row) on a desktop or tablet.
Which option has the correct component changes to display correctly on desktops and tablets?

  1. <lightning:layout multipleRows="true">
    <lightning:layoutItem size="12" mediumDeviceSize="6" largeDeviceSize="4">{!v.account.Name}
    </lightning:layoutItem>

    <lightning:layoutItem size="12" mediumDeviceSize="6" largeDeviceSize="4">{!v.account.AccountNumber}
    </lightning:layoutItem>

    <lightning:layoutItem size="12" mediumDeviceSize="6" largeDeviceSize="4">{!v.account.Industry}
    </lightning:layoutItem>
    </lightning:layout>
  2. <lightning:layout multipleRows="true">
    <lightning:layoutItem size="12" largeDeviceSize="4">{!v.account.Name}
    </lightning:layoutItem>

    <lightning:layoutItem size="12" largeDeviceSize="4">{!v.account.AccountNumber}
    </lightning:layoutItem>

    <lightning:layoutItem size="12" largeDeviceSize="4">{!v.account.Industry}
    </lightning:layoutItem
  3. <lightning:layout multipleRows="true">
    <lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.Name}
    </lightning:layoutItem>

    <lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.AccountNumber}
    </lightning:layoutItem>

    <lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.Industry}
    </lightning:layoutItem>
    </lightning:layout>
  4. <lightning:layout multipleRows="true">
    <lightning:layoutItem size="12" mediumDeviceSize="6">{!v.account.Name}
    </lightning:layoutItem>

    <lightning:layoutItem size="12" mediumDeviceSize="6">{!v.account.AccountNumber}
    </lightning:layoutItem>

    <lightning:layoutItem size="12" mediumDeviceSize="6">{!v.account.Industry}
    </lightning:layoutItem>
    </lightning:layout>

Answer(s): C



A company's support process dictates that any time a Case is closed with a Status of 'Could not fix', an Engineering Review custom object record should be created and populated with information from the Case, the Contact, and any of the Products associated with the Case.
What is the correct way to automate this using an Apex trigger?

  1. An after update trigger that creates the Engineering Review record and inserts it
  2. A before update trigger that creates the Engineering Review record and inserts it
  3. An after upsert trigger that creates the Engineering Review record and inserts it
  4. A before upsert trigger that creates the Engineering Review record and inserts it

Answer(s): A



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

P
Paul
10/21/2023 8:25:00 AM

i think it is good question

U
Unknown
8/15/2023 5:09:00 AM

good for students who wish to give certification.

C
Ch
11/20/2023 10:56:00 PM

is there a google drive link to the images? the links in questions are not working.

J
Joey
5/16/2023 5:25:00 AM

very promising, looks great, so much wow!

A
alaska
10/24/2023 5:48:00 AM

i scored 87% on the az-204 exam. thanks! i always trust

N
nnn
7/9/2023 11:09:00 PM

good need more

U
User-sfdc
12/29/2023 7:21:00 AM

sample questions seems good

T
Tamer dam
8/4/2023 10:21:00 AM

huawei is ok

Y
YK
12/11/2023 1:10:00 AM

good one nice

D
de
8/28/2023 2:38:00 AM

please continue

D
DMZ
6/25/2023 11:56:00 PM

this exam dumps just did the job. i donot want to ruffle your feathers but your exam dumps and mock test engine is amazing.

J
Jose
8/30/2023 6:14:00 AM

nice questions

T
Tar01
7/24/2023 7:07:00 PM

the explanation are really helpful

D
DaveG
12/15/2023 4:50:00 PM

just passed my exam yesterday on my first attempt. these dumps were extremely helpful in passing first time. the questions were very, very similar to these questions!

A
A.K.
6/30/2023 6:34:00 AM

cosmos db is paas not saas

S
S Roychowdhury
6/26/2023 5:27:00 PM

what is the percentage of common questions in gcp exam compared to 197 dump questions? are they 100% matching with real gcp exam?

B
Bella
7/22/2023 2:05:00 AM

not able to see questions

S
Scott
9/8/2023 7:19:00 AM

by far one of the best sites for free questions. i have pass 2 exams with the help of this website.

D
donald
8/19/2023 11:05:00 AM

excellent question bank.

A
Ashwini
8/22/2023 5:13:00 AM

it really helped

S
sk
5/13/2023 2:07:00 AM

excelent material

C
Christopher
9/5/2022 10:54:00 PM

the new versoin of this exam which i downloaded has all the latest questions from the exam. i only saw 3 new questions in the exam which was not in this dump.

S
Sam
9/7/2023 6:51:00 AM

question 8 - can cloudtrail be used for storing jobs? based on aws - aws cloudtrail is used for governance, compliance and investigating api usage across all of our aws accounts. every action that is taken by a user or script is an api call so this is logged to [aws] cloudtrail. something seems incorrect here.

T
Tanvi Rajput
8/14/2023 10:55:00 AM

question 13 tda - c01 answer : quick table calculation -> percentage of total , compute using table down

P
PMSAGAR
9/19/2023 2:48:00 AM

pls share teh dump

Z
zazza
6/16/2023 10:47:00 AM

question 44 answer is user risk

P
Prasana
6/23/2023 1:59:00 AM

please post the questions for preparation

T
test user
9/24/2023 3:15:00 AM

thanks for the questions

D
Draco
7/19/2023 5:34:00 AM

please reopen it now ..its really urgent

M
Megan
4/14/2023 5:08:00 PM

these practice exam questions were exactly what i needed. the variety of questions and the realistic exam-like environment they created helped me assess my strengths and weaknesses. i felt more confident and well-prepared on exam day, and i owe it to this exam dumps!

A
abdo casa
8/9/2023 6:10:00 PM

thank u it very instructuf

D
Danny
1/15/2024 9:10:00 AM

its helpful?

H
hanaa
10/3/2023 6:57:00 PM

is this dump still valid???

G
Georgio
1/19/2024 8:15:00 AM

question 205 answer is b

AI Tutor 👋 I’m here to help!