PDII Exam Questions - Online Test
PDII Premium VCE File
Learn More
100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours
Our pass rate is high to 98.9% and the similarity percentage between our PDII study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the Salesforce PDII exam in just one try? I am currently studying for the Salesforce PDII exam. Latest Salesforce PDII Test exam practice questions and answers, Try Salesforce PDII Brain Dumps First.
Salesforce PDII Free Dumps Questions Online, Read and Test Now.
NEW QUESTION 1
A developer needs to create a Lightning page for entering Order Information. An error message should be displayed if the zip code entered as part of the Order's shipping address is not numeric. What is a recommended way for the error message be displayed to the end user?
- A. Use the < ui : outputText> tag to display errors.
- B. Use the < apex:Message> tag to display errors.
- C. Use the < aura:component> tag to display errors.
- D. Use the < ui:inputDefaultError> tag to display errors.
Answer: D
NEW QUESTION 2
A developer is building a Visualforce page that interacts with external services. Which interface should the developer implement to test this functionality? Choose 2 answers
- A. HTTPCalloutMock
- B. HTTPRequestMock
- C. HTTPResponseMock
- D. StaticResourceCalloutMock
Answer: AD
NEW QUESTION 3
What Visualforce tag can be used to display custom messages in pages using the Salesforce UI styling for errors, warnings, and other types of messages?
- A. < apex: customMessage>
- B. < apex:error>
- C. < apex:message>
- D. < apex:pageMessage>
Answer: D
NEW QUESTION 4
A company has 20,000 rows in the Account object and 2 million rows in the Sales_Data_c object that is related to Account. All of the records in the Sales_Data_c object have a field that contains the string 'Le.‘ Which statement will throw a "Too many query rows" exception? Choose 2 answers
- A. List< List< sObject>> result= [FIND 'Le' IN ALL FIELDS RETURNING Sales_Data_c(Id)];
- B. List< Account> result = [SELECT Id, (SELECT Id FROM Sales_Data_r) FROM Account]
- C. List< sObject> result = Database.query('SELECT Id FROM Sales_Data_c LIMIT 50000');
- D. List< AggregateResult> result = [SELECT count(Id) total FROM Sales_Data_c];
Answer: AB
NEW QUESTION 5
What field type can be used in the WHERE clause to improve SOQL query performance? Choose 3 answers
- A. Email fields
- B. Name fields
- C. Telephone fields
- D. Lookup fields
- E. External Id fields
Answer: BDE
NEW QUESTION 6
What is the optimal syntax for adding a link to a case in a Visualforce page? Choose 2 answers
- A. < apex:outputLink value="{!URLFOR($Action.Case.Open, case)}" target="_blank"> [] {lcase.Name} </apex:outputLink>
- B. < apex:outputLink value="/{!case.Id}" target="_blank"> [] {lcase.Name} < /apex:outputLink>
- C. < apex:outputLink value="{!URLFOR($Action.Case.View,case.Id)}" target="_blank"> (LIE{!case.Name} < /apex:outputLink>
- D. < apex:outputLink value="{!viewCase(case.Id)}" target="_blank"> [] {lcase.Name} </apex:outputLink>
Answer: BC
NEW QUESTION 7
What are the ways a developer can create test data of Contacts?
- A. Test.createTestData()
- B. myDataFactory.createContacts(10)
- C. Test.loadData(Contact.sObjectType, 'staticResource')
- D. Test.loadTestRecords(Contact.sObjectType, 'staticResource')
Answer: BC
NEW QUESTION 8
What is a valid request for the following REST method: @HttpPost global static void myPostMethod(String sl,Integer il, Boolean bl, String b2) Choose 2 answers
- A. < request> < sl>my first string < 11>123 < 32>my second string < b1>false < /request>
- B. < request> < sl>"my first string" < il>123 < sZ>"my second string" < bl>false < /request>
- C. Sl" : "my first string", 11" : "123", "b1" : "false", “S2" : "my second string"
- D. "il" : 123, “S1" : "my first string", "S2" : "my second string", “bl" : false
Answer: BD
NEW QUESTION 9
During the Visualforce Page execution, what step follows immediately after "Evaluate constructors on controller and extensions"?
- A. Create the view state
- B. Evaluate constructors, extensions, and expression on attribute definitions on any custom components present
- C. Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page
- D. Send HTML to Browser
Answer: B
NEW QUESTION 10
How can Apex class functionality be exposed for invocation from a Lightning process? Choose 2 answers
- A. Expose the class as a custom REST API.
- B. Use the @InvocableMethod annotation.
- C. Extend the ProcessInvocable base class.
- D. Implement the Process.Plugin interface.
Answer: BD
NEW QUESTION 11
During the order of execution of a Visualforce page GET request, what happens after this step: Evaluate constructors on controllers and extensions?
- A. Evaluate constructors and expressions on custom components.
- B. Create view state if < apex: form> exists.
- C. Send the HTML response to the browser.
- D. Evaluate expressions, action attributes, and method calls.
Answer: A
NEW QUESTION 12
What is the transaction limit for the number of records per DML statement?
- A. 5,000
- B. 20,000
- C. 50,000
- D. 10,000
- E. There is no limit
Answer: D
NEW QUESTION 13
A company requires all internal users to submit a Case for adding a new Account in Salesforce. The case record captures all the data required to create an Account. The case approval process is a manual process. When a case is approved, an Account record should automatically be created based on the case details. What is the recommended solution?
- A. Configure a custom button on the Case page to update the Case Status and insert a new Account record.
- B. Develop an After Update trigger on Case to create an Account record based on Case Status.
- C. Develop a Before Update trigger on Case to create an Account record based on Case Status.
- D. Develop a Lightning Process to create an Account Record when the Case status becomes Approved.
Answer: D
NEW QUESTION 14
Which of the following exceptions cannot be caught and will force an error? (Choose 3)
- A. LimitException
- B. AssertException
- C. SObjectExceptions
- D. DMLException
- E. License exceptions
- F. ListException
Answer: ABE
NEW QUESTION 15
Which is a valid Apex REST Annotation? Choose 2 answers
- A. @HttpPatch
- B. @HttpDelete
- C. @HttpUpsert
- D. @HttpAction
Answer: AB
NEW QUESTION 16
Choose the correct definition for <apex:pageMessages>
- A. Standard Salesforce formatting, throws a specific message on a page
- B. Standard Salesforce formatting, shows all errors that occur on pag
- C. Can add more messages through the "ApexPages.addMessage" function
- D. A single message, without formatting, that can be associated with a specific component on the page
- E. No formatting; displays all errors on a page B: Standard Salesforce formatting, shows all errors that occur on pag
- F. Can add more messages through the "ApexPages.addMessage" function
Answer: B
NEW QUESTION 17
How could a developer create a Visualforce page for a Multilanguage organization? Choose 2 answers
- A. Use by default to support translation workbench.
- B. Use custom labels to display validation rule errors in the current user's language.
- C. Use custom labels to display text in the current user's language.
- D. Use the language attribute of to support translation workbench.
Answer: CD
P.S. Dumps-hub.com now are offering 100% pass ensure PDII dumps! All PDII exam questions have been updated with correct answers: https://www.dumps-hub.com/PDII-dumps.html (189 New Questions)