PDI practice question 18 of 30
Universal Containers decides to use exclusively declarative development to build out a new Salesforce application. Which three options should be used to build out the database layer for the application? Choose 3 answers
Full set: 201 questionsThe database layer of a Salesforce application refers to its data model—the structure that holds the data. In a declarative model, this is built using point-and-click tools. Custom objects and fields are the fundamental building blocks, analogous to tables and columns in a traditional database. Relationships (Master-Detail, Lookup) define how these objects are connected, creating the relational schema. Roll-up summaries are a special type of field that declaratively aggregates data from child records onto a parent record in a master-detail relationship, directly contributing to the data model. These three components are essential for declaratively defining the application's database structure.
B. Triggers: Triggers are Apex code, which is a programmatic solution and violates the "exclusively declarative" requirement.
E. Flows: Flows are part of the business logic or automation layer; they act on the data but do not define the core database structure itself.
1. Data Modeling Trailhead Module, "Understand Custom & Standard Objects" Unit: This unit establishes that objects and fields are the core components of the data model. It states, "Custom objects are the objects that you create to store information that’s specific to your company or industry... you can also add custom fields to standard objects."
2. Salesforce Help, "Overview of Object Relationships": This document details how relationships are a key part of the data model. "Object relationships are a special type of custom object field that links two objects together." This is a declarative configuration.
3. Salesforce Help, "Create a Roll-Up Summary Field": This guide confirms that a roll-up summary is a field type created declaratively. "A roll-up summary field calculates values from related records... You can create a roll-up summary field to display a value in a master record based on the values of fields in a detail record."
4. Apex Developer Guide, "Triggers" Section: This official guide defines triggers as "Apex code that executes before or after specific data manipulation language (DML) events occur," confirming their programmatic nature.
Keep practicing
Take the free PDI practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PDI practice questions
- Question 1What can be used to override the Account's standard Edit button for Lightning Experience?
- Question 4Universal Containers (UC) wants to lower its shipping cost while making the shipping proc…
- Question 5A developer has an integer variable called maxAttempts. The developer needs to ensure tha…
- Question 7Universal Containers wants to back up all of the data and attachments in its Salesforce o…
- Question 8Universal Containers hires a developer to build a custom search page to help users find t…
- Question 9As part of new feature development, a developer is asked to build a responsive applicatio…
