A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page.
What should the developer do to deploy to production?
A. Create a test class that provides coverage of the Visualforce page.
B. Create a test page that provides coverage of the Visualforce page.
C. Create a test page that provides coverage of the custom controller.
D. Create a test class that provides coverage of the custom controller.
What is a capability of the
A. Loading files from Documents.
B. One-time loading for duplicate scripts.
C. Specifying loading order.
D. Loading scripts in parallel.
E. Loading externally hosted scripts.
A developer is asked to create a custom visualforce page that will be used as a dashboard component. Which three are valid controller options for this page? Choose 3 answers
A. Use a custom controller
B. Use a custom controller with extensions
C. Use a standard controller with extensions
D. Do not specify a controller
E. Use a standard controller
The Review__c object has a lookup relationship up to the Job_Application__c object. The Job_Application__c object has a master-detail relationship up the Position__c object. The relationship field names are based on the auto-populated defaults.
What is the recommended way to display field data from the related Review__c records on a Visualforce page for a single Position__c record?
A. Utilize the Standard Controller for position__c and a Controller Extension to query for Review__c data.
B. Utilize the Standard Controller for Position__c and cross-object Formula fields on the job_Application__c object to display Review__c data.
C. Utilize the Standard Controller for Position__c and cross-object Formula fields on the Review__c object to display Review__c data.
D. Utilize the Standard Controller for position__c and expression syntax in the page to display related Review__c data through the job_Application__c object
What is a capability of cross-object formula fields? Choose 3 answers
A. Formula fields can reference fields from master-detail or lookup parent relationships.
B. Formula fields can expose data the user does not have access to in a record.
C. Formula fields can be used in three roll-up summaries per object.
D. Formula fields can reference fields in a collect of records from a child relationship.
E. Formula fields can reference fields from objects that are up to 10 relationships away.
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?
A. The Account should have a Master-Detail relationship to the Invoice.
B. The Invoice should have a Master-Detail relationship to the Account
C. The Account should have a Lookup relationship to the Invoice
D. The Invoice should have a Lookup relationship to the Account Previous
A developer created an Apex trigger using the Developer Console and now wants to debug codeHow can the developer accomplish this in the Developer Console?
A. Select the Override Log Triggers checkbox for the trigger
B. Add the user name in the Log Inspector.
C. Open the Progress tab in the Developer Console.
D. Open the logs tab in the Developer Console.
What are the eight officially supported languages on Heroku platform?
A. Node,Ruby,java,PHP,Python,.Net,C++.
B. C#,C++,Node,Ruby,Java,PHP,Go,.Net.
C. Lisp,PHP,Node,Ruby,Scala,Haskell,Go,Erlang.
D. Node,Ruby java,PHP,Python,Go,Scala,Clojure.
Which two statements can a developer use to throw a custom exception of type MissingFieldValueException? Choose 2 answers.
A. Throw Exception (new MissingFieldValueException());
B. Throw (MissingFieldValueException, 'Problem occurred');
C. Throw new MissingFieldValueException();
D. Throw new MissingFieldValueException ('Problem occurred');
Which statement should a developer avoid using inside procedural loops? (Choose 2)
A. System.debug('Amount of CPU time (in ms) used so far: ' + Limits.getCpuTime() );
B. List contacts = [SELECT Id, Salutation, FirstName, LastName, Email FROM Contact WHERE AccountId = :a.Id];
C. If(o.accountId == a.id)
D. Update contactList;