What is the correct way to describe how Model-View-Controller (MVC) architecture is implemented on the Salesforce platform? correct answers Model: Standard and Custom Objects; View: Visualforce Pages; Controller: Apex Code
What is an important consideration when in a multi-tenant environment? ...
PD1 Study Set
What is the correct way to describe how Model-View-Controller (MVC) architecture is
implemented on the Salesforce platform? correct answers Model: Standard and
Custom Objects; View: Visualforce Pages; Controller: Apex Code
What is an important consideration when in a multi-tenant environment? correct
answers Governor limits prevent tenants from impacting performance in multiple orgs
on the same instance.
What should a developer working in a sandbox use to exercise a new test class before
the developer deploys that test class to production? Choose 2 answers. correct
answers The Apex Test Execution page in Salesforce Setup
The Test menu in the Developer Console
A 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? correct answers Add test methods to existing test classes from
previous deployments
Why would a developer use Test.startTest() and Test.stopTest()? correct answers To
create an additional set of governor limits during the execution of a single test class
"When creating unit tests in Apex, which statement is accurate?
" correct answers System Assert statements that do not increase code coverage
contribute important feedback in unit tests
Which scenario is invalid for execution by unit tests? correct answers Loading test data
in place of user input for Flows.
A developer needs to know if all tests currently pass in Salesforce environment. Which
feature can the developer use? Choose two answers. correct answers "Developer
console
Salesforce UI Apex Test Execution"
"What is the proper process for an Apex Unit Test?
" correct answers "Create data for testing. Call the method being tested. Verify that the
results are correct.
"
,"An org has different Apex classes that provide Account-related functionality. After a
new validation rule is added to the Account object, many of the test methods fail.
What can be done to resolve the failures and reduce the number of code changes
needed for future validation rules? Choose 2 answers.
" correct answers "Create a method that creates valid Account records, and call this
method from within test methods
Create a method that loads valid Account records from a Static Resource, and call this
method within test methods"
When loading data into an organization, what can a developer do to match records to
update existing records? Choose 2 answers. correct answers "Match an external Id
Text field to a column in the imported file
Match the Id field to a column in the imported file"
"A candidate may apply for 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 associate an application with each job posting in the
schema for the organisation?" correct answers "Create a master-detail relationship in
the Application Custom object to the Job Postings custom object
"
What is true of a partial sandbox that is not true of a full sandbox? Choose 2 answers.
correct answers "Limited to 5GB of data
More frequent refreshes"
A company has a custom object named Warehouse. Each Warehouse record has a
distinct record owner, and is related to a parent Account in Salesforce. Which kind of
relationship would a developer use to relate the Account to Warehouse? correct
answers Lookup
"Which use case requires a partial copy or full sandbox?
" correct answers "Scalability Testing
Batch Data Testing
Integration Testing"
"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?"
correct answers Create a junction object to relate many engines to many parts through
a master-detail relationship.
A company wants a recruiting app that models candidates and interviews; displays the
total number of interviews each candidate records; 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 two answers. correct answers "Create a
lookup relationship between the Candidate and Interview objects.
Create a trigger on the Interview object that updates a field on the Candidate object."
"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 Account?
" correct answers The Invoice should have a Master -Detail relationship to the Account.
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.
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 references from the code and then delete the custom field from Schema
Builder
"
"Where can debug log filter settings be set? Choose two answers.
" correct answers "The filters link by the monitored user's name within the web UI.
Trace Flags tab on the class or trigger detail page"
Which statement about change set deployments is accurate? Choose three answers.
correct answers "They can be used only between related organisations.
They require a deployment connection.
They use an all or none deployment model."
"What is a valid source and destination pair that can send or receive change sets?
Choose two answers.
" correct answers "Sandbox to production
Sandbox to sandbox"
Which type of information is provided by the Checkpoints tab in the Developer console?
Choose two answers. correct answers "Namespace
Time"
What is a capability of the Developer Console? correct answers "Execute Anonymous
Apex Code, Create/Edit Code, View Debug Logs
"
"What is the minimum log level needed to see user-generated debug statements?
" correct answers "DEBUG
"
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 $14.99. You're not tied to anything after your purchase.