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

Modelo III

2216
3
0
Jose Miguel Montalbán
Creado por Jose Miguel Montalbán hace alrededor de 8 años
Cerrar

Examen Developer I - III

Pregunta 1 de 49

1

What type of level logs have to use to show the minimum lines?

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

  • FINE

  • DEBUG

  • WARNING

  • INFO

  • WARM

Explicación

Pregunta 2 de 49

1

Debug logs can contain information about which of the folowing?

Choose 3 answers

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

  • Database changes

  • http callouts

  • XML behind metadata configurations

  • Resources used by Apex

  • Failed WebMtoMlead submissions

Explicación

Pregunta 3 de 49

1

A candidate may apply to multiple Jobs at the Company Universal containers by submitting a single application per job posting. Once an application is submitted for a job posting, that application cannot be modified to be resubmitted to a different job posting.

What can the administrator do to associatean application with each job posting in
the schema for the organization?

Choose one answer

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

  • Create a lookup relationship on both objects to a junction object called Job
    Posting Applications.

  • Create a master-detail relationship in Job Postings custom object to the
    Applications custom object.

  • Create a master-detail relationship in the Applications custom object to the
    Job Postings custom object.

  • Create a lookup relationship in the Applications custom object to the Job
    Postings custom object.

Explicación

Pregunta 4 de 49

1

Which scenario is invalid for execution by init tests?

Choose one answer

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

  • Executing methods as different users.

  • Executing methods for negative test scenarios.

  • Loading the standard Pricebook ID using a system method.

  • Loading test data in place of user input for Flows.

Explicación

Pregunta 5 de 49

1

What is a benefit of the Lightning Component framework?

Choose 1 answers

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

  • Better performance for custom Salesforce1 Mobile apps.

  • More centralized control via serverMside logic.

  • More pre-build component to replicate the Salesforce look and feel.

  • Better integration with Force.com sites.

Explicación

Pregunta 6 de 49

1

What is a accurate constructor for a custom controller named ‘MyController’?

Choose 1 answer

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

  • public MyController(List<Object> objects){
    accounts = (List<Account>)objects;
    }

  • public MyController(List<Object> objects){
    account = (Account) obj;

  • public MyController(){
    account = new Account();
    }

  • public MyController(ApexPages.StandardController
    stdController) {
    account = (Account) stdController.getRecord();
    }

Explicación

Pregunta 7 de 49

1

Where can custom rollMup summary field be created using Standard Object relationships?

Choose 3 answers

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

  • On Quote using Orders records.

  • On Opportunity using Opportunity Product records.

  • On Campaign using campaign member records.

  • On Account using Opportunity records.

  • On Account using Case records.

Explicación

Pregunta 8 de 49

1

What Force.com development tool is a Java/AntMbased commandMline utility for moving metadata between a local directory and a Force.com organization?

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

  • Developer Console

  • Force.com Migration Tool

  • Force.com IDE

  • Workbench

Explicación

Pregunta 9 de 49

1

A reviewer is required to enter a reason in the comments field only when a
candidate is recommended to be hired.

Which action can a developer take to enforce this requirement?

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

  • Create a formula field.

  • Create a required Visualforce component.

  • Create a required comments field.

  • Create a validation rule.

Explicación

Pregunta 10 de 49

1

A developer needs to create a Visualforce page that will override the standard
Account edit button. The page will be used to validate the account ‘s address
using a SOQL query. The page will also allow the user to make edits to the address.

Where would the developer write the Account address verification logic?

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

  • In a Custom Controller.

  • In a Standard Extension

  • In a Standard Controller

  • In a Controller Extension

Explicación

Pregunta 11 de 49

1

A company wants a recruiting app that models candidates and interviews; display
the total number of interviews on each candidate record; and defines security on
interview records that is independent from the security on candidate records.

What would a developer do to accomplish this task?

Choose 2 answers

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

  • Create a lookup relationship between the Candidate and Interview objects.

  • Create a roolMup summary field on the Candidate object that counts
    Interview records.

  • Create a trigger on the Interview object that updates a field on the
    Candidate object.

  • Create a masterMdetail relationship between the Candidate and Interview
    objects.

Explicación

Pregunta 12 de 49

1

Which statement should a developer avoid using inside procedural loops?

Choose 2 answers

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

  • If(o.account == a.id)

  • update contactList;

  • List <Contact> contacts = [SELECT Id, Salutation, FirstName, LastName,
    Email FROM Contact WHERE AccountId =:a.Id];

  • System.debug(‘Amount of CPU time (in ms) used so far: ‘ +
    Limits.getCpuTime());

Explicación

Pregunta 13 de 49

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 14 de 49

1

Which declarative method helps ensure quality data?

Choose 3 answers

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

  • Validation rules

  • Exception handling

  • Page layouts

  • Workflow alerts

  • Lookup filters

Explicación

Pregunta 15 de 49

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 16 de 49

1

Identify the correct statements about dependent picklists

Choose 3 answers

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

  • Standard picklists can be controlling fields but not dependent fields

  • The maximum number of values allowed in a controlling field is 400

  • Before defining a dependency, you should ensure that your picklist has at
    least one value

  • A custom multiMselect picklist can be set as the controlling field for a
    dependent field

  • If a field represents both a controlling field and a dependent field, it cannot
    contain more than 300 values

Explicación

Pregunta 17 de 49

1

How can a developer determine, from the DescribeSObjectResult, if the current
user will be able to create records for an object in Apex?

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

  • By using the isCreatable() method.

  • By using the isInsertable() method.

  • By using the isAccess() method.

  • By using the isCreate() method.

Explicación

Pregunta 18 de 49

1

In a single record, a user select multiple values from a multiMselect picklist.

How are the selected values represented in Apex?

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

  • As a List<String> with each value as an element in the list.

  • As a String with each value separated by a comma.

  • As a String with each value separated by a semicolon.

  • As a Set<String> with each value as an element in the set.

Explicación

Pregunta 19 de 49

1

How can flows be deployed?

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 20 de 49

1

When can a developer use a custom Visualforce page in a Force.com application?

Choose 2 answers

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

  • To generate a PDF document with application data.

  • To modify the page layout settings for a custom object.

  • To deploy components between two organizations

  • To create components for dashboards and layouts.

Explicación

Pregunta 21 de 49

1

Which of the following considerations is NOT true when it comes to using the SOAP API?

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

  • When developing web service client applications, use Developer Sandbox,
    which is an exact replica of your Salesforce deployment, including all
    customization and data.

  • New client applications should use the most recent version of the
    Force.com WSDL file to fully exploit the benefits of richer features and
    greater efficiency.

  • SOAP API is the most practical when processing data sets that contain
    hundreds of thousands of records.

  • The Apex data loader runs on the SOAP API by default.

Explicación

Pregunta 22 de 49

1

A developer writes a SOQL query to find child records for a specific parent.

How many levels can be returned in a single query?

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

  • 5

  • 7

  • 3

  • 1

Explicación

Pregunta 23 de 49

1

Which part of the MVC Architecture do Workflows represent?

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 24 de 49

1

A developer needs to know if all tests currently pass in a Salesforce environment.
Which feature can the developer use?
Choose 2 answers.

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

  • ANT Migration Tool

  • Workbench Metadata Retrieval

  • Developer Console

  • Salesforce UI Apex Test Evacution

Explicación

Pregunta 25 de 49

1

Which code block returns the ListView of an Account object using the following
debug statement?

System.debug(controller.getListViewOptions());

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

  • ApexPages.StandardSetController controller = new
    ApexPages.StandardSetController(Database.getQueryLocator(‘Sel
    ect Id from Account Limit 1’));

  • ApexPages.StandardSetController controller = new
    ApexPages.StandardSetController([SELECT Id FROM Account LIMIT
    1]);

  • ApexPages.StandardController controller = new
    ApexStandardController(Database.getQueryLocator(‘Select Id
    from Account Limit 1’));

  • ApexPages.StandardController controller = new
    ApexPages.StandardController([SELECT Id FROM Account LIMIT
    1]);

Explicación

Pregunta 26 de 49

1

What is a good practice for a developer to follow when writing a trigger?

Choose 2 answers

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

  • Using the Set data structure to ensure distint records.

  • Using synchronous to callouts to call external systems.

  • Using @future methods to perform DML operations.

  • Using the Map data structure to hold query results by ID

Explicación

Pregunta 27 de 49

1

Programmatic tools are often required for features that do which of the following?

Choose 2 answers

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

  • Support specialized or complex business processes.

  • Support out of the box Salesforce functionality

  • Don't need to connect to or integrate with thirdMparty systems.

  • Provide highly customized user interfaces or customized clickMthrough
    paths.

Explicación

Pregunta 28 de 49

1

A developer wants to create a custom object to track Customer Invoices.

How should Invoices and Accounts be related to ensure that all invoices are visible
to everyone with Access to an Account?

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

  • The invoices should have a lookup relationship to the Account.

  • The invoices should have a MasterMDetail relationship to the Account.

  • The Accounts should have a lookup relationship to the Invoice.

  • The Accounts should have a MasterMDetail relationship to the invoice.

Explicación

Pregunta 29 de 49

1

Benefits to building applications declaratively on the Force.com platform include
which of the following?

Choose 3 answers

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

  • Are usually faster and cheaper to build.

  • Generally require less maintenance.

  • Receive automatic upgrades when the tools are improved.

  • Aren’t subject to governor limits.

Explicación

Pregunta 30 de 49

1

A Visualforce page has a standard controller for an object that has a lookup
relationship to a parent object.

How can a developer display data from the parent record on the page?

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

  • By using a rollMup formula field on the child record to include data from the
    parent record.

  • By using merge field syntax to retrieve data from the parent record.

  • By adding a second standard controller to the page for the parent record.

  • By using SOQL on the Visualforce page to query for data from the parent
    record.

Explicación

Pregunta 31 de 49

1

A developer has the following code.

try {
List<String> nameList;
Account a;
String s = a.Name;
nameList.add( s );
} catch(ListException le){
System.debug(‘List Exception’);
} catch(NullPointerException npe){
System.debug(‘NullPointer Exception’);
} catch(Exception e){
System.debug(‘Generic Exception’);
}

What message would be logged?

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

  • No message is logged

  • Generic Exception

  • NullPointer Exception

  • List Exception

Explicación

Pregunta 32 de 49

1

A developer in a Salesforce org with 100 Accounts executes the following code
using the Developer Console:

Account myAccount = new Account (Name=’MyAccount’);
insert myAccount;
for(Integer x = 0;x < 150; x++){
Account myAccount = new Account(Name=’MyAccount’ + x);
try{
insert myAccount;
} catch (Exception ex){
System.Debug(ex);
}
}
How many accounts are in the org after this code is run?

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

  • 251

  • 102

  • 100

  • 101

  • 252

Explicación

Pregunta 33 de 49

1

What is a capability of formula fields?

Choose 3 answers

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

  • Determine if a datetime field has passed using the NOW function.

  • Return and display a field value another object using VLOOKUP function.

  • Generate a link using the HYPERLINK function to a specific record in a
    legacy system.

  • Display the previous value for a field using the PRIORVALUE function.

  • Determine which of three different images to display using the IF function.

Explicación

Pregunta 34 de 49

1

When the value of a field in an account record is updated, which method will
update the value of a custom field in all related opportunities?

Choose 2 answers

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

  • A crossMobject formula field on the Account object.

  • An Apex trigger on the Account object.

  • A Process Builder on the Account object.

  • A Workflow Rule on the Account object.

Explicación

Pregunta 35 de 49

1

What is the proper process for an Apex Unit Test?

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

  • Query for test data using SeeAllData=true. Execute runallTests(). Verify
    taht the results are correct.

  • Create data for testing. Call the method being tested. Verify that the result
    are correct.

  • Query for test data using SeeAllData=true. Call the method being tested.
    Verify taht the result are correct.

  • Create data for testing, Execute runAllTests().Verify that the result are
    correct.

Explicación

Pregunta 36 de 49

1

Which type of information is provided by the Checkpoints tab in the Developer
Console?

Choose 2 answers

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

  • Debug Statement

  • Time

  • Namespace

  • Exception

Explicación

Pregunta 37 de 49

1

What is the value of x after the code segment executes?

String x = ‘A’;
Integer i = 10;
if ( i <15){
i = 15;
x = ‘B’;
} else if ( i < 20) {
x = ‘C’;
} else {
x = ‘D’;
}

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

  • C

  • B

  • D

  • A

Explicación

Pregunta 38 de 49

1

Which statement would a developer use when creating test data for products and
pricebooks?

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

  • IsTest(SeeAllData=false)

  • Id pricebookid = Test.getStandardPricebookId();

  • ListobjList = Test.loadData(Account.sObjectType, ‘myResource’);

  • Pricebook pb = new Pricebook();

Explicación

Pregunta 39 de 49

1

A developer creates an Apex helper class to handle complex trigger logic.

How can the helper class warn users when the trigger excedes DML governor
limits?

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

  • By using ApexMessage.Message() to display an error message after the
    number of DML statements is exceded.

  • By using Messaging.SendEmail() to continue the transaction and send an
    alert to the user after the number of DML statements is exceded.

  • By using Pagereference.setRedirect() to redirect the user to a custom
    Visualforce page before the number of DML statements is exceded.

  • By using Limits.getDMLRows() and then displaying an error message before
    the number of DML statements is exceded.

Explicación

Pregunta 40 de 49

1

A developer has the following querys

Contact c = [SELECT Id, FirstName, LastName, email FROM Contact where
LastName = ‘Smith’];

What dose the query return if there is no Contact with the last name “Smith”?

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

  • A contact with empty values.

  • An empty List of Contacts.

  • A Contact initialized to null.

  • An error that no rows are found.

Explicación

Pregunta 41 de 49

1

Which statement about change set deployments is accurate?

Choose 3 answers

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

  • They requiere a deployment connection.

  • They can be used to transfer Contact records.

  • They can be used only between related organizations.

  • They use an all or none deployment model.

  • They can be used to deploy custom settings data.

Explicación

Pregunta 42 de 49

1

A developer creates an Apex class that includes private methods.
What can the developer do to ensure that the private methods can be accessed by
the test class?

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

  • Add the TestVisible attribute to the Apex class.

  • Add the SeeAllData attribute to the test methods.

  • Add the TestVisible attribute to the Apex methods.

  • Add the SeeAllData attribute to the test class.

Explicación

Pregunta 43 de 49

1

Where would a developer build a managed package?

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

  • Developer Sandbox

  • Partial Copy Sandbox

  • Unlimited Edition

  • Developer Edition

Explicación

Pregunta 44 de 49

1

In the Lightning Component framework, which resource can be used to fire
events?

Choose 2 answers

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

  • Third-party web service code.

  • JavaScript controller actions.

  • Third-party Javascript code.

  • Visualforce controller actions.

Explicación

Pregunta 45 de 49

1

A Hierarchy Custom Setting stores a specific URL for each profile in Salesforce.

Which statement can a adeveloper use to retrieve the correct URL for the current
user’s profile and display this on a Visualforce Page?

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

  • { Setup.Url_Settings__c.Instance[Profile.Id].URL__c}

  • { Setup.Url_Settings__c[$Profile.Id].URL__c}

  • { Setup.Url_Settings__c.URL__c}

  • { Setup.Url_Settings__c[Profile.Id].URL__c}

Explicación

Pregunta 46 de 49

1

What is the minimun log level needed to see userMgenerated debug statements?

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

  • DEBUG

  • WARN

  • INFO

  • FINE

Explicación

Pregunta 47 de 49

1

Which trigger event allows a developer to update fields in the Trigger new list
without an additional DML statement?

Choose 2 answers

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

  • After update

  • Before update

  • After insert

  • Before insert

Explicación

Pregunta 48 de 49

1

What is a valid way of loading external Javascript files into a Visualforce page?

Choose 2 answers

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

  • Using a <link> tag.

  • Using an <apex:includeScript> tag.

  • Using a <script> tag.

  • Using an <apex:define> tag.

Explicación

Pregunta 49 de 49

1

A developer is creating an application to track engines and their parts. An
individual part can be used in different types of engines.

What data model should be used to track the data and to prevent orphan records?

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

  • Create a masterMdetail relationship to represent the oneMtoMmany model of
    engines to parts.

  • Create a junction object to relate many engines to many parts through a
    masterMdetail relationship.

  • Create a lookup relationship to represent how each part relates to the
    parent engine object.

  • Create a junction object to relate many engines to many parts through a
    lookup relationship.

Explicación