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?
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?
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?
<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?
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?
Answer(s): A
Post your Comments and Discuss Salesforce PDII exam dumps with other Community members:
Random Commented on August 01, 2025 great questions Anonymous
SFUsr Commented on July 27, 2025 great material Anonymous
papu Commented on July 27, 2025 nice material Anonymous
SP Commented on July 03, 2025 Good material for preparing PD2 exam Anonymous
SP Commented on July 03, 2025 Good for practice Anonymous
Anand Commented on June 27, 2025 Good for practice Anonymous
mam Commented on June 25, 2025 good question and exercise Anonymous
Priyanka Commented on June 16, 2025 I think the website functions well and gives very good practise questions , i found some of the other sites to be glitchy Anonymous
Sagar Dhawle Commented on June 16, 2025 Good For Practice ,nice questions Anonymous
Omar SAIDI Commented on June 03, 2025 Good for practice. FRANCE
Farooqi Commented on November 21, 2023 Good for practice. INDIA
Farooqi Commented on November 21, 2023 good for practice. INDIA