A developer wants to display all of the available record types for a Case object. The developer also wants to display the picklist values for the Case.Status field. The Case object and the Case.Status field are on a custom Visualforce page. Which action can the developer perform to get the record types and picklist values in the controller? (Choose 2)
A. Use Schema.PicklistEntry returned by Case.Status.getDescribe().getPicklistValues().
B. Use Schema.RecordTypeInfo returned by Case.sObjectType.getDescribe().getRecordTypeInfos().
C. Use SOQL to query Case records in the org to get all the RecordType values available for Case.
D. Use SOQL to query case records in the org to get all values for the Status picklist field.
A developer writes a SOQL query to find child records for a specific parent. How many levels can be returned in a single query?
A. 1
B. 7
C. 5
D. 3
When can a developer use a custom Visualforce page in a Force.com application? (Choose 2)
A. To generate a PDF document with application data
B. To create components for dashboards and layouts
C. To deploy components between two organizations
D. To modify the page layout settings for a custom object
A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console:Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x < 150; x++) {Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;} catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount');How many accounts are in the org after this code is run?
A. 101
B. 100
C. 102
D. 252
A reviewer is required to enter a reason in the comments field only when a candidate is recommended to be hired. Which action can a developer take to enforce this requirement?
A. Create a required Visualforce component.
B. Create a formula field.
C. Create a required comments field.
D. Create a validation rule.
Which user can edit a record after it has been locked for approval? (Choose 2)
A. Any user with a higher role in the hierarchy
B. A user who is assigned as the current approver
C. Any user who approved the record previously
D. An administrator
When loading data into an operation, what can a developer do to match records to update existing records? (Choose 2)
A. Match an auto-generated Number field to a column in the imported file.
B. Match an external Id Text field to a column in the imported file.
C. Match the Name field to a column in the imported file.
D. Match the Id field to a column in the imported file.
A developer wants to create a custom object to track Customer Invoices.How should Invoices and Accounts be related to ensure that all Invoices are visible to everyone with access to an Account?
A. The Account should have a Master-Detail relationship to the Invoice.
B. The Invoice should have a Master-Detail relationship to the Account
C. The Account should have a Lookup relationship to the Invoice
D. The Invoice should have a Lookup relationship to the Account Previous
What is a capability of formula fields? (Choose 3)
A. Generate a link using the HYPERLINK function to a specific record in a legacy system.
B. Display the previous values for a field using the PRIORVALUE function.
C. Return and display a field value from another object using the VLOOKUP function.
D. Determine if a datetime field has passed using the NOW function.
E. Determine which of three different images to display using the IF function.
What is the proper process for an Apex Unit Test
A. Query for test data using SeeAllData = true. Call the method being tested. Verify that the results are correct.
B. Query for test data using SeeAllData = true. Execute runAllTests(). Verify that the results are correct.
C. Create data for testing. Execute runAllTests(). Verify that the results are correct.
D. Create data for testing. Call the method being tested. Verify that the results are correct.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PDI exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.