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

Quiz

2_DEV I Part I

sahitya.linga 86 perguntas

Fazer o quiz

Perguntas do quiz (86)

  1. 1Where can debug log filter settings be set? Choose 2 answers
    1. AThe Log Filters tab on a class or trigger detail page
    2. BOn the monitored user's name
    3. CThe Filters link by the monitored user's name within the Web UI
    4. DThe Show More link on the debug log's record
  2. 2A 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?
    1. ABy using a roll-up formula field on the child record to include data from the parent record
    2. BBy using SOQL on the Visualforce page to query for data from the parent record
    3. CBy adding a second standard controller to the page for the parent record
    4. DBy using merge field syntax to retrieve data from the parent record
  3. 3A 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('Null Pointer Exception');}
    catch (Exception e){System.debug ('Generic Exception');}
    1. AList Exception
    2. BNull Pointer Exception
    3. CGeneric Exception
    4. DNone
  4. 4What 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';}
    1. AA
    2. BB
    3. CC
    4. DD
  5. 5When can a developer use a custom Visualforce page in a Force.com application? Choose 2 answers
    1. ATo generate a PDF document with application data
    2. BTo modify the page layout settings for a custom object
    3. CTo create components for dashboards and layouts
    4. DTo deploy components between two organizations
  6. 6What is an accurate constructor for a custom controller named 'MyController'?
    1. Apublic MyController (List<SObject> objects) {
      accounts = (List <Account>)objects;
      }
    2. Bpublic MyController () {
      account = new Account()
      }
    3. Cpublic MyController (SObject obj) {
      account = (Account) obj
      }
    4. Dpublic MyController (ApexPages.StandardController stdController) {
      account = (Account) stdController.getRecord();
      }
  7. 7A developer needs to create records for the object Property__c. The developer creates the following code block. Which line of code would the developer insert at line 03 to ensure that at least some records are created?
    01 List <Property__c> propertiesToCreate = helperClass.createProperties();
    02 try {
    03
    04 } catch (Exception exp) {
    05 //Exception handling
    06 }
    1. AInsert PropertiesToCreate;
    2. BDatabase.insert(propertiesToCreate, System.ALLOW_PARTIAL);
    3. CDatabase.insert(propertiesToCreate, false);
  8. 8A company wants a recruiting app that models candidates and interviews; displays the total number of interviews for 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"
    1. ACreate a trigger on the Interview object that updates a field on the Candidate object
    2. BCreate a lookup relationship between the Candidate and Interview objects
    3. CCreate a roll-up summary field on the Candidate object that counts Interview records
    4. DCreate a master-detail relationship between the Candidate and Interview objects
  9. 9A developer wants to list all of the tasks for each Account on the Account detail page. When a Task is created for a Contact, what does a developer need to do to display the Task on the related Account record?
    1. ACreate a workflow rule to relate the Task to the Contact's Account
    2. BCreate an account formula field that displays the the Task information
    3. CNothing. The Task cannot be related to an Account and a Contact.
    4. DNothing. The Task is automatically displayed on the Account page.
  10. 10What is a capability of a StandardSetController? Choose 2 answers
    1. AIt extends the functionality of a standard or custom controller
    2. BIt allows pages to perform pagination with large record sets
    3. CIt enforces field-level security when reading large record sets
    4. DIt allows pages to perform mass updates of records

Informações

Descrição
dev cert
Idioma
English
Visualizações
150
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?