Jose Miguel Montalbán
Test por , creado hace más de 1 año

Modelo II

1087
2
0
Jose Miguel Montalbán
Creado por Jose Miguel Montalbán hace casi 8 años
Cerrar

Examen Developer I - II

Pregunta 1 de 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

Selecciona una o más de las siguientes respuestas posibles:

  • Separated by comma

  • String-semicolon

  • By using List

  • By using Map

  • By using Set

Explicación

Pregunta 2 de 60

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • By using Static Resource

  • By using Documents

  • By using HttpCalloutMocks

  • By using WebServiceTest

Explicación

Pregunta 3 de 60

1

A 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

Selecciona una o más de las siguientes respuestas posibles:

  • Nothing. Task cannot related Account and Contact

  • Nothing. The task is automatically displayed on Account Page.

  • A workflow rule

  • A formula field

Explicación

Pregunta 4 de 60

1

What should a system administrator use to disable access to a custom application for a group of users?
Choose one answer

Selecciona una o más de las siguientes respuestas posibles:

  • Page Layout

  • Web tabs

  • Sharing rules

  • Profiles

Explicación

Pregunta 5 de 60

1

What is a valid statement about Apex classses and interfaces?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • A class can have multiple levels of inner classes.

  • Exception classses must end with the word exception

  • The default modifier for a class is private

  • The default modifier for an interface is private

Explicación

Pregunta 6 de 60

1

Which type of information is provided by the checkpoint tab in Developer Console.
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Namespace

  • Debug statement

  • Time

  • A exception

Explicación

Pregunta 7 de 60

1

The 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

Selecciona una o más de las siguientes respuestas posibles:

  • Ability to to create, retrieve, update or delete records, such as accounts,
    leads, and custom objects.

  • Ability to maintain passwords, perform searches, and much more.

  • Ability to use SOAP API in any language that supports Web services.

  • Both A and B are true

  • All of the above

Explicación

Pregunta 8 de 60

1

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 )

Selecciona una o más de las siguientes respuestas posibles:

  • Workflow

  • Apex Profiling

  • Lightning Component

  • Visualforce

  • API Calls

Explicación

Pregunta 9 de 60

1

Which of the following are limits of Debug logs?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Each debug log must be 2 MB or smaller

  • Each debug log must be 4 MB or smaller

  • Each organization can retain up to 25MB of debug logs

  • Each organization can retain up to 50 MB of debug logs

Explicación

Pregunta 10 de 60

1

What Force.com development tools can be used to write and manage Apex classes and triggers?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Developer Console

  • Force.com Migration Tool

  • Force.com IDE

  • Workbench

Explicación

Pregunta 11 de 60

1

Which of the following can be included within a Visualforce page.
Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • CSS

  • C++

  • Apex code

  • Javascript

  • Flash

Explicación

Pregunta 12 de 60

1

Every Visualforce page must be contained within which of the following components?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • <apex:form>

  • <apex:inputField>

  • <apex:page>

  • <apex:composition>

  • <apex:detail>

Explicación

Pregunta 13 de 60

1

What primary Visualforce types are exposed in both the Metadata API as well as the standard Force.com SOAP API?
Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • ApexPage

  • ApexComponent

  • pageBlockSection

  • StaticResource

  • pageMessages

Explicación

Pregunta 14 de 60

1

User defined Apex classes represent which element of the MVC paradigm?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Model

  • View

  • Controller

Explicación

Pregunta 15 de 60

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • Not using the ClassName_Test naming convention.

  • Not covering all data values for conditional code execution.

  • Test methods can’t make callouts to external services.

  • Using data created within the test class.

Explicación

Pregunta 16 de 60

1

Test methods can have which of the following syntax?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • @isTest notation is used for the class

  • testMethod

  • Private access modifiers only

  • testData = true

Explicación

Pregunta 17 de 60

1

efore 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

Selecciona una o más de las siguientes respuestas posibles:

  • 65%

  • 70%

  • 75%

  • 80%

  • 85%

Explicación

Pregunta 18 de 60

1

What are some of the benefits of Apex unit tests?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Eliminate the need for user acceptance testing

  • Meeting the code coverage requirements for deploying Apex to production
    or distributing Apex to customers via packages

  • High-quality apps delivered to the production org, which makes production
    users more productive

  • High-quality apps delivered to package subscribers, will increase their orgs
    code coverage

Explicación

Pregunta 19 de 60

1

Apex code can only be written in a sandbox environment or a Production org.
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • True

  • False

Explicación

Pregunta 20 de 60

1

What are some examples of how you can run Apex within governor execution limits?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Bulkify DML calls

  • Placing SOQL queries inside for loop blocks

  • Use SOQL for loops to operate on records in batches

  • Use the with sharing keywords when declaring a class

Explicación

Pregunta 21 de 60

1

What are some of the benefits of calling public utility methods from a trigger?
Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Calling methods of other classes allows for higher governor limits.

  • Calling methods of other classes enables code reuse.

  • Calling methods of other classes reduces the size of your triggers.

  • Calling methods of other classes is the only way to ensure encapsulation.

  • Calling methods of other classes improves maintenance of your Apex code.

Explicación

Pregunta 22 de 60

1

Which of the following are true of Apex triggers?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Triggers can be called with <apex:trigger> on a Visualforce page.

  • Triggers offer a faster way to perform tasks that can done by using the
    point-and-click tools in the Salesforce user interface.

  • Triggers are active by default when created.

  • Salesforce automatically fires active triggers when the specified database
    events occur.

Explicación

Pregunta 23 de 60

1

A public access modifier declares what?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • The public access modifier declares that this class is visible in your
    application or namespace.

  • The public access modifier declares that this class cannot be referenced by
    any other classes.

  • The public access modifier declares that this class can be called from the
    Web Services API.

  • The public access modifier declares that this class can only be referenced by
    child classes.

Explicación

Pregunta 24 de 60

1

As a best practice, you should use standard object names for class names to ensure consistent results.
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • True

  • False

Explicación

Pregunta 25 de 60

1

hich 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

Selecciona una o más de las siguientes respuestas posibles:

  • A Database method inside of a try-catch block.

  • An insert DML statement inside a try-catch block.

  • The code will not compile without a finally statement.

  • A best practice would to include a general exception at the end of the block.

Explicación

Pregunta 26 de 60

1

When deciding between database class methods and DML to perform DML
operations, which approach returns results for exception handling?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Database Class Methods

  • Standalone DML statements

  • Marking the attribute results = true

  • @ReturnResults notation

Explicación

Pregunta 27 de 60

1

The platform prevents users from making which of the following types of
modifications when those changes cause Apex code to become invalid?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Changing a field or object name

  • Converting from one data type to anotherYour answer

  • Updating a field or object

  • Making certain organization-wide changes, such as record sharing, field
    history tracking, or record types

Explicación

Pregunta 28 de 60

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • True

  • False

Explicación

Pregunta 29 de 60

1

What feature should be used to assign different picklist values for different business processes.
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Page Layout

  • Record Type

  • Your answer

  • Validation Rule

  • Field Level Security

  • Formula Field

Explicación

Pregunta 30 de 60

1

In addition to numbers, other data types can be implicitly converted. Which of the following rules apply?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • IDs can always be assigned to Strings.

  • IDs can never assigned to Strings.

  • Strings 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.

  • The getID() method can be used to test whether a string is an ID.

Explicación

Pregunta 31 de 60

1

Which of the following data types are considered Apex primitives?
Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Id

  • Object

  • sObject

  • Collection

  • Blob

Explicación

Pregunta 32 de 60

1

Numbers 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

Selecciona una o más de las siguientes respuestas posibles:

  • Integer, Long, Double, Decimal

  • Integer, Double, Decimal, Long

  • Double, Integer, Decimal, Long

  • Long, Integer, Decimal, Double

Explicación

Pregunta 33 de 60

1

Which of the following statements are true about the ! operator in Apex?

Selecciona una o más de las siguientes respuestas posibles:

  • It terminates a line of code

  • It is often read aloud as “bang”

  • It cannot be used with Apex Triggers

  • It reverses the outcome of a Boolean statement

Explicación

Pregunta 34 de 60

1

What is one thing you can do with workflow that you can't do with processes?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Send outbound messages without code.

  • Send inbound messages without code.

  • Configure actions to be executed at multiple intervals.

  • Configure actions to be executed at single intervals.

Explicación

Pregunta 35 de 60

1

Apex supports which of the following types of procedural loops?
Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • do {statement} while (Boolean_condition);

  • case (condition, statement);

  • if(Logical_test, value_if_true, value_if_false);

  • for (variable : array_or_set) statement;

  • for (variable : [inline_soql_query]) statement;

Explicación

Pregunta 36 de 60

1

How can flows be executed?
Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Custom button

  • Custom link

  • Apex trigger

  • Visualforce page

  • Command line

Explicación

Pregunta 37 de 60

1

As 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

Selecciona una o más de las siguientes respuestas posibles:

  • Flows

  • Validation Rules

  • Debug Logs

  • Encrypted Fields

  • Permission Sets

Explicación

Pregunta 38 de 60

1

Which of the following features are created using Excel-like operators and functions?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Page Layout

  • Record Type

  • Validation Rule

  • Field Level Security

  • Formula Field

Explicación

Pregunta 39 de 60

1

The 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

Selecciona una o más de las siguientes respuestas posibles:

  • Data Loader

  • Data Import Wizard

  • Import My Accounts & Contacts wizard

Explicación

Pregunta 40 de 60

1

Schema 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

Selecciona una o más de las siguientes respuestas posibles:

  • Custom objects

  • Record Types

  • Many-to-many relationships

  • Master-detail relationship

  • Standard fieldsYour

Explicación

Pregunta 41 de 60

1

A child record in a master-detail relationship can be orphaned.
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • True

  • False

Explicación

Pregunta 42 de 60

1

What is the only type of field that can be both controlling and dependent?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Custom multi-select picklist

  • Custom checkbox

  • Standard checkbox

  • Custom single-select picklist

  • Standard single-select picklist

Explicación

Pregunta 43 de 60

1

Any object looking up to itself creates this type of relationship?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Junction Object

  • Hierarchical Relationship

  • Lookup Relationship

  • Self Relationship

  • Master-Detail Relationship

Explicación

Pregunta 44 de 60

1

What can you use to connect two objects to facilitate a many-to-many relationship?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Junction Object

  • Hierarchical Relationship

  • Lookup Relationship

  • Self Relationship

  • Master-Detail Relationship

Explicación

Pregunta 45 de 60

1

Which of the following statements are true about a lookup relationship?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • A lookup relationship can span multiple layers

  • A parent record is always required for each child

  • A lookup field does not have to be a required field

  • Access to parent determines access to child

Explicación

Pregunta 46 de 60

1

A lookup relationship controls which of the following?
Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Loosely links together custom or standard objects

  • Allows the lookup fields to be required or optional

  • Can create a lookup field on the page layout of the child object and a related
    list on the page layout of the parent object

  • Can create a lookup field on the page layout of the parent object and a
    related list on the page layout of the child object

Explicación

Pregunta 47 de 60

1

Which of the following statements are true about custom objects?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Salesforce provides a set of custom objects that you can use to store data

  • After you create a custom object, you need to add it to the user interface

  • Custom objects come with an infrastructure including reporting, auditing,

  • When you create a custom object, you get direct access to the database

  • Custom objects are reportable and searchable

Explicación

Pregunta 48 de 60

1

Which part of the MVC Architecture do Object Relationships and fields represent?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Model: What schema and data does salesforce uses to represent the system
    completely.

  • View: How the schema and data is represented.

  • Controller: How the interface actions. Controllers are used to perform the
    actions whenever users interact with visual force.

Explicación

Pregunta 49 de 60

1

Which type of code represent the Controller in MVC architecture on Force.com
platform?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • StandardController system methods that are referenced by Visualforce.

  • JavaScript that is used to make a menu item display itself.

  • A static resource that contains CSS and Images.

  • Custom Apex and JavaScript code that is used to manipulate data.

Explicación

Pregunta 50 de 60

1

Which data type or collection of data types can SOQL statements populate or evaluate to?
Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Integer

  • Single Object

  • String

  • Boolean

  • A list Objects

Explicación

Pregunta 51 de 60

1

Which action can a developer perform in a before update trigger?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Update the original object using an update DML operation.

  • Change field values using the trigger.new context variable.

  • Delete the original object using delete DML operation.

  • Display a custom error message in the App Interface.

Explicación

Pregunta 52 de 60

1

How would a developer determinate it a CustomObject__c record has been manually shared with the current user in Apex?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • By calling the profile settings of the current user

  • Calling isShared() method

  • Role.hierarchy

  • By querying CutomObject__Share

Explicación

Pregunta 53 de 60

1

The 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

Selecciona una o más de las siguientes respuestas posibles:

  • Rool-up summary field on the Account object that perform a MAX on the Opportunity Close Date field.

  • Create a formula that perform a MAX on the Opp Close Data field.

  • Create a Workflow Rule that update a field on Account with the MAX
    related Opportunity Close Date.

  • Create a trigger on Account object that queries most recent opportunities.

Explicación

Pregunta 54 de 60

1

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

Selecciona una o más de las siguientes respuestas posibles:

  • After trigger executation

  • Before commiting to database

  • Before trigger execution

  • After commiting to database

Explicación

Pregunta 55 de 60

1

What is an important considerations when developing in a multi-tenant
enviroment?
Choose 1 answers

Selecciona una o más de las siguientes respuestas posibles:

  • Organization-wide data security determines whether other tenant can see
    data in multiple organizations on the same instance

  • Polyglot persistance provides support for a global , multilingual user base in
    multiple organizations on multiple instances

  • Unique domain names take the place of namespaces for code developed for
    multiple oorganizations.

  • Governor limits, prevent tenants from impacting performance in multiple
    organizations on same instance.

Explicación

Pregunta 56 de 60

1

Which user can edit a record after it has been locked for approval?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • A user who is assigned as the current approver

  • Any user who approved the record previously

  • Administrator

  • Any user with higher role in the hierarchy

Explicación

Pregunta 57 de 60

1

How many child levels is allowed in SOQL??
Choose 2 answers ( en las respuestas solo viene una )

Selecciona una o más de las siguientes respuestas posibles:

  • 1

  • 4

  • 2

  • 7

  • 5

Explicación

Pregunta 58 de 60

1

What is an accurate statement about variable scope?
Choose 3 answers

Selecciona una o más de las siguientes respuestas posibles:

  • A variable can be defined at any point in a block

  • Sub-blocks cannot reuse a parent block`s varaible names

  • A static variable can restrict the scope to the current block if its value is null

  • Parallels blocks can use the same variable names.

  • Sub-block can reuse a parent block variable name if its value is null

Explicación

Pregunta 59 de 60

1

What is a capability of StandardSetController?
Choose 2 answers

Selecciona una o más de las siguientes respuestas posibles:

  • It enforce field-level security when Reading large records sets

  • It allows pages to perform massive updates of records

  • It extend the functionality of a standard or Custom Controller

  • It allows pages to perform pagination with large record sets

Explicación

Pregunta 60 de 60

1

How to know in Apex execution if can be able to create a record of sObject?

Selecciona una o más de las siguientes respuestas posibles:

  • canInsertable()

  • isCreatable()

  • isInsertable()

  • canCreatable()

Explicación