Salesforce Certified Platform Developer I (116-150)

Descrição

Quiz sobre Salesforce Certified Platform Developer I (116-150), criado por Marco Calisti em 18-04-2017.
Marco Calisti
Quiz por Marco Calisti, atualizado more than 1 year ago
Marco Calisti
Criado por Marco Calisti mais de 7 anos atrás
1366
5

Resumo de Recurso

Questão 1

Questão
How would a developer determine if a CustomObject__c record has been manually shared with the current user in Apex?
Responda
  • By querying the role hierarchy.
  • By calling the isShared() method for the record.
  • By querying CustomObject__Share.
  • By calling the profile settings of the current user.

Questão 2

Questão
Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement? (Choose 2)
Responda
  • After update.
  • Before insert.
  • Before update.
  • After insert.

Questão 3

Questão
What is a valid way of loading external JavaScript files into a Visualforce page? (Choose 2)
Responda
  • Using an (apex:includeScript)* tag. \>
  • Using an (apex:define)* tag.
  • Using a (link)* tag.
  • Using a (script)* tag.

Questão 4

Questão
Where would a developer build a managed package?
Responda
  • Developer Sandbox
  • Unlimited Edition
  • Partial Copy Sandbox
  • Developer Edition

Questão 5

Questão
What is the correct way to describe how Model-View-Controller (MVC) architecture is implemented on the Salesforce platform?
Responda
  • Model: Standard and Custom Objects; View: Visualforce Pages; Controller: s-Controls
  • Model: Schema Builder; View: List Views; Controller: Setup Console
  • Model: Standard and Custom Objects; View: Visualforce Pages; Controller: Apex Code
  • Model: Apex Code; View: List Views; Controller: Setup Console

Questão 6

Questão
What is valid in the where clause of a SOQL query?
Responda
  • A geolocation field.
  • An encrypted field.
  • An aggregate function.
  • An alias notation.

Questão 7

Questão
A developer creates a method in an Apex class and needs to ensure that errors are handled properly. What would the developer use? Choose 3 answers.
Responda
  • ApexPages.addErrorMessage()
  • A custom exception
  • .addError()
  • Database.handleException()
  • A try/catch construct

Questão 8

Questão
In the Lightning Component framework, where is client-side controller logic contained?
Responda
  • Apex
  • Visualforce
  • HTML
  • JavaScript

Questão 9

Questão
Which use case requires a partial copy or full sandbox? Choose 3 answers.
Responda
  • Scalability Testing
  • Development Testing
  • Quality Assurance Testing
  • Batch Data Testing
  • Integration Testing

Questão 10

Questão
Universal containers wants to rollout new product bundles with several pricing options. Pricing options include product-price bundles, account specific pricing and more. Which product satisfies the needs?
Responda
  • Workflow on Opportunity/Opportunity Product
  • Custom Appexchange-app for product-pricing
  • Formula fields on Opportunity/Opportunity Product
  • Lightning process builder

Questão 11

Questão
Universal containers has included its orders as an external data object into Salesforce. You want to create a relationship between Accounts and the Orders object (one-to-many relationship) leveraging a key field for account which is on both external object and Account. Which relationship do you create?
Responda
  • Master Detail Relationship
  • Indirect Lookup Relationship
  • Lookup Relationship
  • Hierarchical Relationship
  • External Lookup Relationship

Questão 12

Questão
Universal containers has a custom object that has a N:M relationship with opportunityLineItem carrying price and amount information. In order to compute total amounts and total prices per Opportunity using Rollup summary fields, what field type will you use?
Responda
  • Crossobject
  • Lookup
  • Master-Detail
  • Junction

Questão 13

Questão
Universal containers want an org for development which can be refreshed in every 5 days with all the configuration and some data. What org do you choose?
Responda
  • Developer Sandbox
  • Developer Pro Sandbox
  • Partial copy sandbox
  • Full Sandbox

Questão 14

Questão
Which Apex collection is used to ensure all values are unique?
Responda
  • An Sobject
  • Set
  • List
  • Enum

Questão 15

Questão
Universal Container installs an unmanaged package. Which of the following are true? Choose 2.
Responda
  • Tests are executed during deployment
  • Unmanaged packages can be upgraded
  • Unmanaged packages don't have a version number
  • Unmanaged packages have a namespace prefix
  • Components of unmanaged packages can be edited

Questão 16

Questão
Universal Container want to store an area code and wants to be able to search for it in searches. Which are possible fields to store the data? (choose 2)
Responda
  • Phone
  • Email
  • Text
  • Multi Picklist

Questão 17

Questão
132. Universal containers has a custom object "service" which has a lookup relationship to Account. Universal containers wants to enhance Salesforce1 with an action that allows account managers to enter a new service to an Account while looking at the account?
Responda
  • Enter an object specific action to Service and put it in the Account Layout
  • Enter an object specific action to Service and put it in the Service Layout
  • Enter an object specific action to Account and put it in the Account Layout
  • Enter an object specific action to Account and put it in the Service Layout

Questão 18

Questão
What determines whether a user can create a new record using a specific record type?
Responda
  • Profile
  • Page layout
  • Field level security
  • Sharing

Questão 19

Questão
Which statements are true regarding Roll-Up Summary fields? Select all that apply
Responda
  • Advanced currency management has no affect on roll-up summary fields.
  • Because roll-up summary fields are not displayed on edit pages, you can use them in validation rules but not as the error location for you validation.
  • Validation errors can display when saving either the detail or master record.
  • Automatically derived fields, such as current date or current user, are allowed in a roll-up summary field.
  • Once created, you cannot change the detail object selected or delete any field referenced in your roll-up summary definition.

Questão 20

Questão
What happens when a workflow is re-evaluated? Pick 3
Responda
  • Validation
  • Cross-object sharing rules
  • Other Workflow types
  • Previous Workflows

Questão 21

Questão
Which components can be added to a lightning app on custom Object? Choose 3
Responda
  • Standard Lightning component
  • Custom lightning component
  • Object specific actions on the custom object
  • Global actions
  • Visualforce

Questão 22

Questão
A developer executes following code in Console. What will happen? list<Account> flist = new list<Account>(); for(integer i=1;i<=200 ;i++){ flist.add(new Account(name='Test Acc'+i)); } insert flist; list<Account> Llist = new list<Account>(); for(integer i=201;i<=20000 ;i++){ Llist.add(new Account(name='Test Acc'+i)); } insert Llist ;
Responda
  • Error will occur
  • Insert all records
  • Insert 200 only
  • Records inserted

Questão 23

Questão
Developer need to verify that the account trigger is working fine without changing Org data. What should the developer do to test the Account trigger?
Responda
  • Use New button on Account tab to create new record
  • Use the test menu on developer console to run all test classes for the account trigger.
  • Use force.com IDE
  • Use Execute Anonymous feature on developer console

Questão 24

Questão
Which is true about social accounts?
Responda
  • You can use social accounts data even when you are not logged into the social account.
  • You need a personal social account in order to see social account data
  • You can use social accounts to import data into Salesforce
  • Connection to social account is established through a company wide "named principal"

Questão 25

Questão
Field type conversion. Which of the following are true? (choose 2)
Responda
  • Data can be lost when converting from autonumber to text
  • Information can be lost when converting from text area (rich) to text area (long)
  • Data can be lost when converting from number to currency (assuming that field lengths are identical)
  • Data can be lost when converting from simple picklist to multi picklist

Questão 26

Questão
Universal Container is using assignment rules to distribute cases to regional teams. Which of the following are true?
Responda
  • It is possible to have multiple active assignment rules
  • Cases may be assigned to public groups (if configured)
  • Cases may be assigned to queues (if configured)
  • A workflow field update can be used instead

Questão 27

Questão
You want to use an External Data Object Table from Heroku carrying Product Category information. The data need to be included in Salesforce and searchable. What do you have to do before you can use the connection? Choose two
Responda
  • Choose "include as index field"
  • Press "validate and sync"
  • Choose "include in Salesforce searches" option
  • URL / choose the URL (?)

Questão 28

Questão
Objects of this Apex class allow developers to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.
Responda
  • StandardSetController Class
  • StandardController Class
  • Controller Class
  • VisualforceSetController Class
  • VisualforceControllerClass
  • None of the above

Questão 29

Questão
Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard or custom object?
Responda
  • Model
  • Controller
  • View

Questão 30

Questão
What must a developer consider when inserting records using an API-based tool? Choose 2
Responda
  • Required fields on page layouts are enforced.
  • Universally required field settings are respected.
  • Apex triggers are ignored.
  • Validation rules are respected.

Questão 31

Questão
Universal Containers has built a recruiting application with two custom objects, Job Applications and Reviews that have a master-detail relationship. Users should NOT be allowed to delete review records after job application records have been approved. How would a developer meet this requirement?
Responda
  • Change the interviewer's profile to Read-only for the review object
  • Use workflow to change the page layout to Read-only
  • Remove the Delete button from the job application page layout
  • Use a validation rule in conjunction with a roll-up summary field

Questão 32

Questão
Universal Container want to store an area code and wants to be able to search for it in applications (apex). Which are possible fields to store the data? Choose 2
Responda
  • Email
  • Multi Picklist
  • Text
  • Number
  • Phone

Questão 33

Questão
What can a lightning component contain in its resource bundle? Choose two answers.
Responda
  • Custom Client-side rendering behavior.
  • Properties files with global settings.
  • CSS styles scoped to the component.
  • Build scripts for minification.

Questão 34

Questão
Describe the ramifications of field updates and potential for recursion for the following scenario: If a field update for Rule1 triggers Rule2, and a field update for Rule2 triggers Rule1.
Responda
  • The updates create a loop and the org limits for workflow time triggers per hour will likely be violated.
  • When the second trigger is saved a Imminent Loop Error message will be displayed and the workflow rule update will not save.
  • The updates create a loop and the org will be blocked until the admin resolves the issue.
  • Loop is allowed to run 25 times within one hour. If it does not end on its own the process will be stopped by R&D.

Questão 35

Questão
How would a developer change the field type of a custom field on account object from a string to an integer?
Responda
  • Make the change in the declarative UI, then update the field type to an integer field in-the apex code.
  • Remove all references in the code, make the change in the declarative UI, and restore the references with the new type.
  • Make the change in the developer console, and then the change will automatically be reflected in the apex.
  • Make the change in the declarative UI, and then the change will automatically be reflected in the apex code.

Semelhante

SFDC App Builder 1 (26-50)
Connie Woolard
SFDC App Builder 1 (126-150)
Connie Woolard
SFDC App Builder 1 (1-25)
Connie Woolard
SFDC App Builder (76-100)
Connie Woolard
SFDC App Builder 1 (176-200ish)
Connie Woolard
SFDC App Builder 1 (151-175)
Connie Woolard
ADM201 Testbank
student kilo
SFDC App Builder I (51-75)
Victoria Jones
Salesforce ADM 201 II
mito_zgb
SFDC App Builder 1 (101-125)
Victoria Jones
2_SFDC App Builder 1
kerrie.tanksley