Topic 2 : Exam Pool B
What actions types should be configured to display a custom success message?
A.
Update a record.
B.
Post a feed item.
C.
Delete a record.
D.
Close a case.
Update a record.
Which actions can a developer perform using the Schema Builder?Choose 2 answers
A.
Create a custom field and automatically add it to an existing page layout.
B.
Create a view containing only standard and system objects.
C.
Create a custom object and define a lookup relationship on that object
D.
Create a view of objects and relationships without fields
Create a view containing only standard and system objects.
Create a custom object and define a lookup relationship on that object
A developer has a unit test that is failing. To identify the issue, the developer copies the code inside the test
method and executes it via the Execute Anonymous Apex Tool. The code then executes without failing. Why did the unit test failed, but not the Execute Anonymous?
A.
The test method has a syntax error in the code.
B.
The test method relies on existing data in the database
C.
The test method use a try/catch block
D.
The test method calls an @future method.
The test method relies on existing data in the database
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
The Invoice should have a Master-Detail relationship to the Account
A developer creates an Apex Trigger with the following code block:List<Account> customers = new
List<Account>();For (Order__c o: trigger.new){Account a = [SELECT Id, Is_Customer__c FROM Account
WHERE Id =
:o.Customer__c];a.Is_Customer__c = true;customers.add(a);}Database.update(customers, false);The developer
tests the code using Apex Data Loader and successfully loads 10 Orders. Then, the developer loads 150
Orders.How many Orders are successfully loaded when the developer attempts to load the 150 Orders?
A.
0
B.
1
C.
150
D.
100
0
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.
Match an external Id Text field to a column in the imported file.
Match the Id field to a column in the imported file.
A developer needs to know if all tests currently pass in a Salesforce environment. Which feature can the
developer use? (Choose 2)
A.
ANT Migration Tool
B.
Workbench Metadata Retrieval
C.
Salesforce UI Apex Test Execution
D.
Developer Console
Salesforce UI Apex Test Execution
Developer Console
What must the Controller for a Visualforce page utilize to override the Standard Opportunity view button?
A.
The StandardSetController to support related lists for pagination.
B.
The Opportunity StandardController for pre -built functionality.
C.
A callback constructor to reference the StandardController.
D.
A constructor that initializes a private Opportunity variable.
The Opportunity StandardController for pre -built functionality.
A developer has the following query: Contact c = [SELECT id, firstname, lastname, email FROM Contact
WHERE lastname = 'Smith']; What does the query return if there is no Contact with the last name 'Smith'?
A.
A contact initialized to null.
B.
An error that no rows are found.
C.
An empty List of Contacts.
D.
A Contact with empty values
An error that no rows are found.
What is a characteristic of the Lightning Component Framework? Choose 2 answers:
A.
It has an event-driven architecture.
B.
It works with existing Visualforce pages.
C.
It includes responsive components.
D.
It uses XML as its data format.
It has an event-driven architecture.
It includes responsive components.
A company wants a recruiting app that models candidates and interviews; displays the total number of
interviews on each candidate record; and defines security on interview records that is independent from the security on candidate records. What would a developer do to accomplish this task? Choose 2 answers
A.
Create a roll -up summary field on the Candidate object that counts Interview records.
B.
Create a master -detail relationship between the Candidate and Interview objects.
C.
Create a lookup relationship between the Candidate and Interview objects.
D.
Create a trigger on the Interview object that updates a field on the Candidate object
Create a lookup relationship between the Candidate and Interview objects.
Create a trigger on the Interview object that updates a field on the Candidate object
Which type of information is provided by the Checkpoints tab in the Developer Console? (Choose 2)
A.
Namespace
B.
Time
C.
Exception
D.
Debug Statement
Namespace
Time
Page 12 out of 33 Pages |
Previous |