Strona 1

Nowy SF

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
Download an unmanaged package from the AppExchange that provides customizable mass edit, update and delete functionality
Create a new Visualforce page and Apex Controller for the list view that provides mass edit, update and delete functionality
Download a managed package from the AppExchange that provides customizable Enhanced List Views and buttons.
Configure the user interface and enable both inline editing and enhanced lists
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 "Opportunity.StageName.Label".
Call "opp.StageName.getDescribe().getLabel()".
Call "opp.StageName.Label".
Call ""Opportunity.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
handler.js
controller.js
renderer.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
Global Apex classes can be referenced from multiple tenants on the same instance.
Apex Sharing controls access to records from multiple tenants on the same instance.
Org-level data security controls which users can see data from multiple tenants on the same instance.
Pytanie 5
Which two components are available to deploy using the Metadata API? Choose 2 answers
Case Settings
Lead Conversion Settings
Web-to-Case
Web-to-Lead
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 "Fast Deploy" to run only the tests that are in the change set.
Select "Run local tests" to run all tests in the org that are not in the managed package.
Select "Run local tests" to run only the tests that are in the change set.
Edit the managed package's unit test.
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
renderAs
extensions
action
readOnly
standardController
Pytanie 8
Which two statements can a developer use to throw a custom exception of type MissingFieldValueException? Choose 2 answers
throw new MissingFieldValueException();
throw (MIssingFieldValueException, 'Problem occurred');
throw new MissingFieldValueException('Problem occurred');
throw Exception(new MissingFieldValueException());

Powiązane tematy

#it