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:

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.

M
Mn8300
11/9/2023 8:53:00 AM

nice questions

N
Nico
4/23/2023 11:41:00 PM

my 3rd purcahse from this site. these exam dumps are helpful. very helpful.

C
Chere
9/15/2023 4:21:00 AM

found it good

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

excellent material

V
vinesh phale
9/11/2023 2:51:00 AM

very helpfull

B
Bhagiii
11/4/2023 7:04:00 AM

well explained.

R
Rahul
8/8/2023 9:40:00 PM

i need the pdf, please.

C
CW
7/11/2023 2:51:00 PM

a good source for exam preparation

A
Anchal
10/23/2023 4:01:00 PM

nice questions

J
J Nunes
9/29/2023 8:19:00 AM

i need ielts general training audio guide questions

A
Ananya
9/14/2023 5:16:00 AM

please make this content available

S
Swathi
6/4/2023 2:18:00 PM

content is good

L
Leo
7/29/2023 8:45:00 AM

latest dumps please

L
Laolu
2/15/2023 11:04:00 PM

aside from pdf the test engine software is helpful. the interface is user-friendly and intuitive, making it easy to navigate and find the questions.

Z
Zaynik
9/17/2023 5:36:00 AM

questions and options are correct, but the answers are wrong sometimes. so please check twice or refer some other platform for the right answer

M
Massam
6/11/2022 5:55:00 PM

90% of questions was there but i failed the exam, i marked the answers as per the guide but looks like they are not accurate , if not i would have passed the exam given that i saw about 45 of 50 questions from dump

A
Anonymous
12/27/2023 12:47:00 AM

answer to this question "what administrative safeguards should be implemented to protect the collected data while in use by manasa and her product management team? " it should be (c) for the following reasons: this administrative safeguard involves controlling access to collected data by ensuring that only individuals who need the data for their job responsibilities have access to it. this helps minimize the risk of unauthorized access and potential misuse of sensitive information. while other options such as (a) documenting data flows and (b) conducting a privacy impact assessment (pia) are important steps in data protection, implementing a "need to know" access policy directly addresses the issue of protecting data while in use by limiting access to those who require it for legitimate purposes. (d) is not directly related to safeguarding data during use; it focuses on data transfers and location.

AI Tutor 👋 I’m here to help!