Free Certified Platform Developer II Exam Braindumps (page: 3)

Page 3 of 90

<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



A company processes Orders within their Salesforce instance.
When an Order’s status changes to 'Paid' it must notify the company’s order management system (OMS). The OMS exposes SOAP web service endpoints to listen for when to retrieve the data from Salesforce.
What is the optimal method to implement this?

  1. Generate the Enterprise WSDL and use it to make a callout to the OMS.
  2. Generate the Partner WSDL and use it to make a callout to the OMS.
  3. Create an Outbound Message that contains the session ID and send it to the OMS.
  4. Create an Apex trigger and make a callout to the OMS from the trigger.

Answer(s): C





Consider the Apex controller above, that is called from a Lightning Aura Component.
What is wrong with it?

  1. Line 1: class must be global
  2. Lines 1 and 6: class and method must be global
  3. Line 6: method must be static
  4. Line 8: method must first serialize the list to JSON before returning

Answer(s): C



Page 3 of 90



Post your Comments and Discuss Salesforce Certified Platform Developer II exam with other Community members:

Jenil Gandhi commented on November 14, 2024
Hi everyone could sone share the certification voucher for PD2.
INDIA
upvote

Aniq commented on December 02, 2023
Hi every one Could some share the certification voucher for PD2
Anonymous
upvote

Rasheed commented on June 07, 2023
Worth the price. I got 50% off when I selected 2 exams.
PAKISTAN
upvote

Lisha commented on September 21, 2022
Thank you!
Anonymous
upvote