Which block code returns the ListView of an Account object using the following debug statements? correct answers ApexPages.StandardSetController controller = new ApexPages.StandardSetController(DQueryLocator('SELECT Id FROM Account Limit 1'));
Which data type or collection of data types can SOQ...
Which block code returns the ListView of an Account object using the following debug
statements? correct answers ApexPages.StandardSetController controller = new
ApexPages.StandardSetController(Database.getQueryLocator('SELECT Id FROM
Account Limit 1'));
Which data type or collection of data types can SOQL statements populate or evaluate
to? Choose 3. correct answers An integer
A list of sObjects
A single sObject
Which action can a developer perform in a before update trigger? Choose 2. correct
answers Change field values using the Trigger.new context variable.
Display a custom error message in the application interface.
Where can debug log filter settings be set? Choose 2. correct answers The Filters link
by the mentioned user's name within the web UI
The Log Filters tab on a class or trigger detail page
When can a developer use a custom Visualforce page in a Force.com application?
Choose 2. correct answers To create components for dashboards and layouts
To generate a PDF document with application data
Which statement about the Lookup Relationship between a Custom Object and a
Standard Object is correct? correct answers The Lookup Relationship on the Custom
Object can prevent the deletion of the Standard Object
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? correct answers Create a validation rule
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 an Account record. What would a developer do to meet this requirement?
correct answers Create a roll-up summary field on the Account object that performs a
MAX on the Opportunity Close Date field
On which object can an administrator create a roll-up summary field? correct answers
Any object that is on the master side of a master-detail relationship
, What is a valid source and destination pair that can send or receive change sets?
Choose 2. correct answers Sandbox to production
Sandbox to sandbox
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? correct answers By using merge field syntax to retrieve data from the parent
record
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? correct answers In a Controller
Extension.
A 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 the developer need to do to display
the Task on the related Account record? correct answers Nothing. The task is
automatically displayed on the account page.
What is a capability of a Standard Set Controller? Choose 2. correct answers It allows
pages to perform mass updates of records.
It allows pages to perform pagination with large record sets.
Which statement about change set deployments is accurate? Choose 3. correct
answers They can be used only between related organizations.
They require a deployment connection.
They use an all or none deployment model.
How would a developer determine if a CustomObject__c record has been manually
shared with the current user in Apex? correct answers By querying
CustomObject__share.
How would a developer use Schema Builder to delete a custom field from the Account
object that was required for prototyping but is no longer needed? correct answers
Remove all the references in the code and then delete the custom field from Schema
Builder
What is an accurate statement about variable scope? Choose 3. correct answers Sub-
blocks cannot reuse a parent block's variable name.
A variable can be defined at any point in a block.
Parallel blocks can use the same variable name.
When the value of a field in an account record is updated, which method will update the
value of a custom field related opportunities? Choose 2. correct answers An Apex
trigger on the Account object.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller HopeJewels. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.99. You're not tied to anything after your purchase.