Pytania i odpowiedzi

Nowy SF

Zebrane pytania i odpowiedzi do zestawu. fdfds
Ilość pytań: 111 Rozwiązywany: 4087 razy
Pytanie 81
How can a developer set up a debug log on a specific user?
Set up a trace flag for the user, and define a logging level and time period for the trace.
Pytanie 82
A developer needs to update an unrelated object when a record gets saved.
before update
before insert
Pytanie 83
What can be used to delete components from production?
An ant migration tool deployment with a destructiveChanges XML file and an empty package.xml file
Pytanie 84
Given the code below, which three statements can be used to create the controller variable? public class AccountListController { public List getAccounts() return controller.getRecords(); } } Choose 3 answers
Always use ApexPages.StandardSetController
Pytanie 85
Which three statements are true regarding the eisTest annotation? Choose 3 answers
A method annotated @isTest (SeeAllData=false) in a class annotated @isTest (SeeAllData=true) has access to all org data.
A method annotated @isTest(SeeAliData=true) in a class annotated @istest (SeeAliData=faise) has access to all org data
Profiles are visible in a test even if a class is annotated @isTest (SeeAL1Data=false).
Pytanie 86
Candidates are reviewed by four separate reviewers and their comments and scores which range from 1 (lowest) to 5 (highest) are stored on a review record that is a detail record for a candidate. What is the best way to indicate that a combined review score of 15 or better is required to recommend that the candidate come in for an interview?
Use a Rollup Summary field to calculates the sum of the review scores, and store this in a total score field on the candidate.
Pytanie 87
A developer needs to include a Visualforce page in the detail section of not see the page as an available option In the Page Layout Editor. Which attribute must the developer include in the tag to in a page layout?
standardController="Account"
Pytanie 88
A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?
A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard
Pytanie 89
What is a key difference between a Master-Detail Relationship and a Lookup Relationship?
A Master-Detail Relationship detail record inherits the sharing and security of its master record.
Pytanie 90
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 getRecordTypeInfosByDeveloperName() method in the DescribeSObjectResult class
Pytanie 91
A developer created a Visualforce page using a custom controller that calls an Apex helper class. A method in the helper class hits a governor limit. What is the result of the transaction?
All changes in the transaction are rolled back
Pytanie 92
Which statement is true about a Hierarchical relationship as it pertains to User records?
It uses a special lookup relationship to allow one User record to be related to another User record.
Pytanie 93
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 94
Which three data types can be returned from an SOQL statement?
List of sObjects
Integer
Single sObject
Pytanie 95
In order to override a standard action with a Visualforce page, which attribute must be defined in the tag?
standardController
Pytanie 96
What is a benefit of using a trigger framework?
Simplifies addition of context-specific logic
Pytanie 97
What are three techniques that a developer can use to invoke an anonymous block of code? Choose 3 answers
Type code into the Developer Console and execute it directly.
Type code into the Execute Anonymous tab in the Force.com IDE and click Execute.
Use the SOAP API to make a call to execute anonymous code.
Pytanie 98
What are two characteristics of partial copy sandboxes versus full sandboxes? Choose 2 answers
supports more frequent refreshes
requires a sandbox template
Pytanie 99
Which two statements are true about Apex code executed in Anonymous Blocks? Choose 2 answers
The code runs with the permissions of the logged in user.
Successful DML operations are automatically committed.
Pytanie 100
An after trigger on the Account object performs a DML update operation on all of the child Opportunities of an Account. There are no active triggers on the Opportunity object, yet a "maximum trigger depth exceeded" error occurs in certain situations. Which two reasons possibly explain the Account trigger firing recursively? Choose 2 answers
Changes to Opportunities are causing cross-object workflow field updates to be made on the Account
Changes to Opportunities are causing roll-up summary fields to update on the Account.

Powiązane tematy

#it