Pytania i odpowiedzi

Nowy SF

Zebrane pytania i odpowiedzi do zestawu. fdfds
Ilość pytań: 111 Rozwiązywany: 803 razy
Pytanie 1
A devloper needs to provide a way to mass edit, update and delete records from a list view. In which two ways can this be accomplished? Choose 2 answers
Create a new Visualforce page and Apex Controller for the list view that provides mass edit, update and delete functionality
Download an unmanaged package from the AppExchange that provides customizable mass edit, update and delete functionality
Pytanie 2
Opportunity opp = [SELECT Id, StageName FROM Opportunity LIMIT 1]; Given the code above, how can a developer get the label for the StageName field?
Call "opp.StageName.getDescribe().getLabel()".
Pytanie 3
A developer wants to handle the click event for a lightning:button component. The onclick attribute for the component references a JavaScript function in which resource in the component bundle?
helper.js
Pytanie 4
Which statement is true about developing in a multi-tenant environment?
Governor limits prevent Apex from impacting the performance of multiple tenants on the same Instance
Pytanie 5
Which two components are available to deploy using the Metadata API? Choose 2 answers
Lead Conversion Settings
Case Settings
Pytanie 6
A change set deployment from a sandbox to production fails due to a failure in a managed package unit test. The developer spoke with the managed package owner and they determined it is a false positive and can be ignored. What should the developer do to successfully deploy?
Select "Run local tests" to run all tests in the org that are not in the managed package.
Pytanie 7
A developer needs to create a custom Visualforce button for the Opportunity object page layout that will cause a web service to be called and redirect the user to a new page when clicked. Which three attributes need to be defined in the tag of the Visualforce page to enable this functionality? Choose 3 answers
standardController
extensions
action
Pytanie 8
Which two statements can a developer use to throw a custom exception of type MissingFieldValueException? Choose 2 answers
throw new MissingFieldValueException('Problem occurred');
Pytanie 9
A developer uses a Test Setup method to create an Account named 'Test'. The first test method deletes the Account record.
Use SELECT Id from Account where Name = 'Test'.
Pytanie 10
A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page. What should the developer do to deploy to production?
Create a test class that provides coverage of the custom controller.
Pytanie 11
A developer declared a class as follows. public class wysiwyg { // properties and methods including DML } Which Invocation of a class method will obey the organization-wide defaults and sharing settings for the running user in the Salesforce organization?
A developer using the Developer Console that invokes a method in this class from the execute anonymous window
Pytanie 12
How many levels of child records can be returned in a single SOQL query from one parent object?
1
Pytanie 13
A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type. Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? Choose 2 answers
Execute a SOQL query on the RecordType object
Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
Pytanie 14
Which two statements are true regarding formula fields? Choose 2 answers
Fields that are referenced by a formula field can not be deleted until the formula is modified or deleted.
Formula fields may reference formula fields on the same object to a level of one deep.
Pytanie 15
An Account trigger updates all related Contacts and Cases each time an Account is saved using the following two DML statements: update allContacts; update allCases; What is the result if the Case update exceeds the governor limit for maximum number of DML records?
The Account save fails and no Contacts or Cases are updated.
Pytanie 16
A developer needs to include a Visualforce page in the detail section of a page layout for the Account object, but does not see the page as an available option in the Page Layout Editor. Which attribute must the developer include in the tag to ensure the Visualforce page can be embeddded in a page layout?
standardController="Accout"
Pytanie 17
Which three operations affect the number of times a trigger can fire?
Process Flows
Workflow Rules
Roll-Up Summary fields
Pytanie 18
Which process automation should be used to send an outbound message without us....
Workflow rule
Pytanie 19
which option should a developer use to create 500 Accounts and make sure that duplicates are not created for existing Account Sites?
Data Import Wizard
Pytanie 20
Which two SOSL searches will return records matching search criteria contained in any of the searchable text fields on an object? Choose 2 answers
[FIND 'Acme*' IN ALL FIELDS RETURNING Account, Opportunity];

Powiązane tematy

#it