Quiz
Examen Developer I - II
Fragen in diesem Quiz (60)
1 In a single record, a user selects multiple values from multi-picklist. How are the selected values represented in Apex?
Choose one answer- ASeparated by comma
- BString-semicolon
- CBy using List
- DBy using Map
- EBy using Set
2 A developer needs to ensure there inssufficient test coverage for an Apex that interacts with accounts. The developer needs to create test data. What is the prefered way to load this test data in Salesforce?
Choose one answer- ABy using Static Resource
- BBy using Documents
- CBy using HttpCalloutMocks
- DBy using WebServiceTest
3A developer wants to list all of the tasks for each Account in Account Detail page.
When a task is created for a Contact, What does the developer need to do to display the task on the related Account records?
Choose one answer- ANothing. Task cannot related Account and Contact
- BNothing. The task is automatically displayed on Account Page.
- CA workflow rule
- DA formula field
4 What should a system administrator use to disable access to a custom application for a group of users?
Choose one answer- APage Layout
- BWeb tabs
- CSharing rules
- DProfiles
5What is a valid statement about Apex classses and interfaces?
Choose 2 answers- AA class can have multiple levels of inner classes.
- BException classses must end with the word exception
- CThe default modifier for a class is private
- DThe default modifier for an interface is private
6Which type of information is provided by the checkpoint tab in Developer Console.
Choose 2 answers- ANamespace
- BDebug statement
- CTime
- DA exception
7The SOAP API gives advanced administrators and developers the ability to implement custom functionality. Benefits to using the SOAP API include which of the following?
Choose 1 answers- AAbility to to create, retrieve, update or delete records, such as accounts,
leads, and custom objects. - BAbility to maintain passwords, perform searches, and much more.
- CAbility to use SOAP API in any language that supports Web services.
- DBoth A and B are true
- EAll of the above
- AAbility to to create, retrieve, update or delete records, such as accounts,
8 When using the Developer Console or monitoring a debug log, you can specify the level of information that gets included in the log. For which of the following categories can you specify the level?
Choose 1 answer (en las respuestas hay 3 buenas :D )- AWorkflow
- BApex Profiling
- CLightning Component
- DVisualforce
- EAPI Calls
9Which of the following are limits of Debug logs?
Choose 2 answers- AEach debug log must be 2 MB or smaller
- BEach debug log must be 4 MB or smaller
- CEach organization can retain up to 25MB of debug logs
- DEach organization can retain up to 50 MB of debug logs
10What Force.com development tools can be used to write and manage Apex classes and triggers?
Choose 2 answers- ADeveloper Console
- BForce.com Migration Tool
- CForce.com IDE
- DWorkbench
11 Which of the following can be included within a Visualforce page.
Choose 3 answers- ACSS
- BC++
- CApex code
- DJavascript
- EFlash
12Every Visualforce page must be contained within which of the following components?
Choose 1 answers- A<apex:form>
- B<apex:inputField>
- C<apex:page>
- D<apex:composition>
- E<apex:detail>
13 What primary Visualforce types are exposed in both the Metadata API as well as the standard Force.com SOAP API?
Choose 3 answers- AApexPage
- BApexComponent
- CpageBlockSection
- DStaticResource
- EpageMessages
14User defined Apex classes represent which element of the MVC paradigm?
Choose 1 answers- AModel
- BView
- CController
15 Sometimes, even after you write test methods for all your class methods, code coverage is not at 100%. What can be a common cause for this?
Choose 1 answers- ANot using the ClassName_Test naming convention.
- BNot covering all data values for conditional code execution.
- CTest methods can’t make callouts to external services.
- DUsing data created within the test class.
16Test methods can have which of the following syntax?
Choose 1 answers- A@isTest notation is used for the class
- BtestMethod
- CPrivate access modifiers only
- DtestData = true
17efore you can deploy your code or package it for the Force.com AppExchange, at least __ of Apex code must be covered by tests, and all those tests must pass.
Choose 1 answers- A65%
- B70%
- C75%
- D80%
- E85%
18What are some of the benefits of Apex unit tests?
Choose 2 answers- AEliminate the need for user acceptance testing
- BMeeting the code coverage requirements for deploying Apex to production
or distributing Apex to customers via packages - CHigh-quality apps delivered to the production org, which makes production
users more productive - DHigh-quality apps delivered to package subscribers, will increase their orgs
code coverage
19Apex code can only be written in a sandbox environment or a Production org.
Choose 1 answers- ATrue
- BFalse
20What are some examples of how you can run Apex within governor execution limits?
Choose 2 answers- ABulkify DML calls
- BPlacing SOQL queries inside for loop blocks
- CUse SOQL for loops to operate on records in batches
- DUse the with sharing keywords when declaring a class
21What are some of the benefits of calling public utility methods from a trigger?
Choose 3 answers- ACalling methods of other classes allows for higher governor limits.
- BCalling methods of other classes enables code reuse.
- CCalling methods of other classes reduces the size of your triggers.
- DCalling methods of other classes is the only way to ensure encapsulation.
- ECalling methods of other classes improves maintenance of your Apex code.
22Which of the following are true of Apex triggers?
Choose 2 answers- ATriggers can be called with <apex:trigger> on a Visualforce page.
- BTriggers offer a faster way to perform tasks that can done by using the
point-and-click tools in the Salesforce user interface. - CTriggers are active by default when created.
- DSalesforce automatically fires active triggers when the specified database
events occur.
23 A public access modifier declares what?
Choose 1 answers- AThe public access modifier declares that this class is visible in your
application or namespace. - BThe public access modifier declares that this class cannot be referenced by
any other classes. - CThe public access modifier declares that this class can be called from the
Web Services API. - DThe public access modifier declares that this class can only be referenced by
child classes.
- AThe public access modifier declares that this class is visible in your
24 As a best practice, you should use standard object names for class names to ensure consistent results.
Choose 1 answers- ATrue
- BFalse
25hich of the following best describes the following block of code?
Account a = new Account(Name='Acme');
try {
insert a;
} catch(DmlException e) {
// Process exception here
}
Choose 2 answers- AA Database method inside of a try-catch block.
- BAn insert DML statement inside a try-catch block.
- CThe code will not compile without a finally statement.
- DA best practice would to include a general exception at the end of the block.
26 When deciding between database class methods and DML to perform DML
operations, which approach returns results for exception handling?
Choose 1 answers- ADatabase Class Methods
- BStandalone DML statements
- CMarking the attribute results = true
- D@ReturnResults notation
27The platform prevents users from making which of the following types of
modifications when those changes cause Apex code to become invalid?
Choose 2 answers- AChanging a field or object name
- BConverting from one data type to anotherYour answer
- CUpdating a field or object
- DMaking certain organization-wide changes, such as record sharing, field
history tracking, or record types
28 The ID of an sObject is a read-only value and can never be modified explicitly in Apex unless it is cleared during a clone operation, or is assigned with a constructor.
Choose 1 answers- ATrue
- BFalse
29 What feature should be used to assign different picklist values for different business processes.
Choose 1 answers- APage Layout
- BRecord Type
- CYour answer
- DValidation Rule
- EField Level Security
- FFormula Field
30In addition to numbers, other data types can be implicitly converted. Which of the following rules apply?
Choose 2 answers- AIDs can always be assigned to Strings.
- BIDs can never assigned to Strings.
- CStrings can be assigned to IDs. However, at runtime, the value is checked to
ensure that it is a legitimate ID. If it is not, a runtime exception is thrown. - DThe getID() method can be used to test whether a string is an ID.
31Which of the following data types are considered Apex primitives?
Choose 3 answers- AId
- BObject
- CsObject
- DCollection
- EBlob
32Numbers form a hierarchy of types. Variables of lower numeric types can always be assigned to higher types without explicit conversion. Which of the following is the hierarchy for numbers, from lowest to highest?
Choose 1 answers- AInteger, Long, Double, Decimal
- BInteger, Double, Decimal, Long
- CDouble, Integer, Decimal, Long
- DLong, Integer, Decimal, Double
33Which of the following statements are true about the ! operator in Apex?
- AIt terminates a line of code
- BIt is often read aloud as “bang”
- CIt cannot be used with Apex Triggers
- DIt reverses the outcome of a Boolean statement
34What is one thing you can do with workflow that you can't do with processes?
Choose 1 answers- ASend outbound messages without code.
- BSend inbound messages without code.
- CConfigure actions to be executed at multiple intervals.
- DConfigure actions to be executed at single intervals.
35 Apex supports which of the following types of procedural loops?
Choose 3 answers- Ado {statement} while (Boolean_condition);
- Bcase (condition, statement);
- Cif(Logical_test, value_if_true, value_if_false);
- Dfor (variable : array_or_set) statement;
- Efor (variable : [inline_soql_query]) statement;
36 How can flows be executed?
Choose 3 answers- ACustom button
- BCustom link
- CApex trigger
- DVisualforce page
- ECommand line
37As the developer for your organization you've been asked to design a simplified interface to check for existing candidates. If candidates don’t exist, this feature can be used to allow users to input them easily.
Choose 1 answers- AFlows
- BValidation Rules
- CDebug Logs
- DEncrypted Fields
- EPermission Sets
38 Which of the following features are created using Excel-like operators and functions?
Choose 2 answers- APage Layout
- BRecord Type
- CValidation Rule
- DField Level Security
- EFormula Field
39The Sales reps at AW Computing just attended a hardware conference and returned with 500 leads. As the Admin, you want to automatically prevent leads with duplicate email addresses from being saved. Which data import tool should you use?
Choose 1 answers- AData Loader
- BData Import Wizard
- CImport My Accounts & Contacts wizard
40Schema Builder provides a dynamic environment for viewing and modifying all the objects and relationships in your app. Which of the following can you add to your schema?
Choose 2 answers- ACustom objects
- BRecord Types
- CMany-to-many relationships
- DMaster-detail relationship
- EStandard fieldsYour
41A child record in a master-detail relationship can be orphaned.
Choose 1 answers- ATrue
- BFalse
42What is the only type of field that can be both controlling and dependent?
Choose 1 answers- ACustom multi-select picklist
- BCustom checkbox
- CStandard checkbox
- DCustom single-select picklist
- EStandard single-select picklist
43Any object looking up to itself creates this type of relationship?
Choose 1 answers- AJunction Object
- BHierarchical Relationship
- CLookup Relationship
- DSelf Relationship
- EMaster-Detail Relationship
44What can you use to connect two objects to facilitate a many-to-many relationship?
Choose 1 answers- AJunction Object
- BHierarchical Relationship
- CLookup Relationship
- DSelf Relationship
- EMaster-Detail Relationship
45Which of the following statements are true about a lookup relationship?
Choose 2 answers- AA lookup relationship can span multiple layers
- BA parent record is always required for each child
- CA lookup field does not have to be a required field
- DAccess to parent determines access to child
46 A lookup relationship controls which of the following?
Choose 3 answers- ALoosely links together custom or standard objects
- BAllows the lookup fields to be required or optional
- CCan create a lookup field on the page layout of the child object and a related
list on the page layout of the parent object - DCan create a lookup field on the page layout of the parent object and a
related list on the page layout of the child object
47 Which of the following statements are true about custom objects?
Choose 2 answers- ASalesforce provides a set of custom objects that you can use to store data
- BAfter you create a custom object, you need to add it to the user interface
- CCustom objects come with an infrastructure including reporting, auditing,
- DWhen you create a custom object, you get direct access to the database
- ECustom objects are reportable and searchable
48 Which part of the MVC Architecture do Object Relationships and fields represent?
Choose 1 answers- AModel: What schema and data does salesforce uses to represent the system
completely. - BView: How the schema and data is represented.
- CController: How the interface actions. Controllers are used to perform the
actions whenever users interact with visual force.
- AModel: What schema and data does salesforce uses to represent the system
49Which type of code represent the Controller in MVC architecture on Force.com
platform?
Choose 2 answers- AStandardController system methods that are referenced by Visualforce.
- BJavaScript that is used to make a menu item display itself.
- CA static resource that contains CSS and Images.
- DCustom Apex and JavaScript code that is used to manipulate data.
50Which data type or collection of data types can SOQL statements populate or evaluate to?
Choose 3 answers- AInteger
- BSingle Object
- CString
- DBoolean
- EA list Objects
51Which action can a developer perform in a before update trigger?
Choose 1 answers- AUpdate the original object using an update DML operation.
- BChange field values using the trigger.new context variable.
- CDelete the original object using delete DML operation.
- DDisplay a custom error message in the App Interface.
52How would a developer determinate it a CustomObject__c record has been manually shared with the current user in Apex?
Choose 1 answers- ABy calling the profile settings of the current user
- BCalling isShared() method
- CRole.hierarchy
- DBy querying CutomObject__Share
53The Sales management team hires a new intern. The intern is not allowed to view opportunities but needs to see the Most Recent Closed Date of all Child Opportunities when viewing a Account record.
Choose 1 answers- ARool-up summary field on the Account object that perform a MAX on the Opportunity Close Date field.
- BCreate a formula that perform a MAX on the Opp Close Data field.
- CCreate a Workflow Rule that update a field on Account with the MAX
related Opportunity Close Date. - DCreate a trigger on Account object that queries most recent opportunities.
54 A developer wrote a workflow email alert in case creation so that an email is sent to the case owner manager when a case is crreated. When will the emai be sent?
Choose 1 answers- AAfter trigger executation
- BBefore commiting to database
- CBefore trigger execution
- DAfter commiting to database
55What is an important considerations when developing in a multi-tenant
enviroment?
Choose 1 answers- AOrganization-wide data security determines whether other tenant can see
data in multiple organizations on the same instance - BPolyglot persistance provides support for a global , multilingual user base in
multiple organizations on multiple instances - CUnique domain names take the place of namespaces for code developed for
multiple oorganizations. - DGovernor limits, prevent tenants from impacting performance in multiple
organizations on same instance.
- AOrganization-wide data security determines whether other tenant can see
56Which user can edit a record after it has been locked for approval?
Choose 2 answers- AA user who is assigned as the current approver
- BAny user who approved the record previously
- CAdministrator
- DAny user with higher role in the hierarchy
57How many child levels is allowed in SOQL??
Choose 2 answers ( en las respuestas solo viene una )- A1
- B4
- C2
- D7
- E5
58What is an accurate statement about variable scope?
Choose 3 answers- AA variable can be defined at any point in a block
- BSub-blocks cannot reuse a parent block`s varaible names
- CA static variable can restrict the scope to the current block if its value is null
- DParallels blocks can use the same variable names.
- ESub-block can reuse a parent block variable name if its value is null
59What is a capability of StandardSetController?
Choose 2 answers- AIt enforce field-level security when Reading large records sets
- BIt allows pages to perform massive updates of records
- CIt extend the functionality of a standard or Custom Controller
- DIt allows pages to perform pagination with large record sets
60How to know in Apex execution if can be able to create a record of sObject?
- AcanInsertable()
- BisCreatable()
- CisInsertable()
- DcanCreatable()
Informationen
- Beschreibung
- Modelo II
- Sprache
- Español
- Aufrufe
- 1.151
- Schlagwörter
- Bewertung
- 3,0 von 5 · 1 Bewertung Bewerte dieses Quiz