O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Examen Developer I - I

Jose Miguel Montalbán 60 perguntas 6.667 visualizações 4,7 (3 avaliações)

Fazer o quiz

Perguntas do quiz (60)

  1. 1What is the result when a Visualforce page calls an APEX controller, which
    calls another Apex class, which then results in hitting a governor limit?
    1. AAny changes up to the error are saved
    2. BAll changes are saved in the first Apex class
    3. CAll changes before a savepoint are saved
    4. DAny changes up to the error are rolled back
  2. 2 A developer created an Apex trigger using the Developer Console and now wants to debug code.
    How can the developer accomplish this in the Developer Console?
    1. AOpen de Logs tab in the Developer Console
    2. BSelect the Override Logs Triggers checkbox for the trigger
    3. COpen the Progress tab in the Developer Console
    4. DAdd the user name in the Log Inspector
  3. 3Which data structure is returned to a developer when performing a SOSL search?
    1. AA list of lists of sObjects
    2. BA map of sObjects types to a list of lists of sObjects
    3. CA map of sObjects types to a list of sObjects
    4. DA list of sObjects
  4. 4A developer creates a new Visualforce page and Apex extension, and writes test classes that exercise 95% coverage of the new Apex extension.
    Change set deployment to production fails with the test coverage warning:
    “Average test coverage across all Apex classes and triggers is 74%, at least 75% test coverage is required”.
    What can the developer do to successfully deploy the new Visualforce page
    and extension?
    1. AAdd the test methods to existing test classes from previous
      deployments
    2. BSelect “Disable Parallel Apex Testing” to run all the tests
    3. CSelect “Fast Deployment” to bypass running all the tests
    4. DCreate test classes to exercise the Visualforce page markup
  5. 5 A developer needs to create records for the object Property__c. The
    developer creates the following code block: (image)

    Which line of code will the developer insert at line 03 to ensure that at least some records are created, even if a few records have errors and fall to be created?
    Imagem da pergunta 5
    1. ADatabase.Insert(PropertiesToCreate,System.ALLOW_PARTIAL);
    2. BDatabase.Insert(PropertiesToCreate);
    3. CInsert propertiesToCreate;
    4. DDatabase.insert(propertiesToCreate,false);
  6. 6 When creating unit tests in Apex, which statement is accurate?
    1. ATriggers do not require any unit tests in order to deploy them from
      sandbox to production
    2. BSystem Assert statements that do not increase code coverage
      contribute important feedback in unit tests
    3. CUnit tests with multiple methods result in all methods failing every
      time one method fails.
    4. DIncreased test coverage requires large test classes with many lines
      of code in one method
  7. 7 When the number of records in a recordset is unknown, which control statement should a developer use to implement a set of code that executes for every record in the recordset, without performing a .size() or .lenght() method call?
    1. ADo { … } While (Condition)
    2. BFor (variable : list_or_set) { … }
    3. CWhile (Condition) { … }
    4. DFor (init_stmt^ exit_condition^ increment_stmt) { … }
  8. 8 A developer has a block of code that omits any statements that indicates whether the code block should execute with or without sharing
    What will automatically obey the organizationfwide defaults and sharing settings for the user who executes the code in the Salesforce organization?
    1. AAnonymous Blocks
    2. BApex Triggers
    3. CApex Controllers
    4. DHTTP Callouts
  9. 9 When would a developer use a custom controller instead of a controller extension?
    Choose 2 answers
    1. AWhen a Visualforce page needs to add new actions to a standard controller
    2. BWhen a Visualforce page does not reference a single primary object
    3. CWhen a Visualforce page needs to replace the functionality of a standard controller
    4. DWhen a Visualforce page should not enforce permissions or field-level security
  10. 10 Which standard field needs to be populated when a developer inserts new Contact records programmatically?
    1. AAccountId
    2. BName
    3. CLastName
    4. DFirstName

Informações

Descrição
Modelo I TIpo Test - Examen de Certificación Developer I
Idioma
Español
Visualizações
6.667
Avaliação
4,7 de 5 · 3 avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?