CSA Developer Fundamentals 3 — Questions and Answers
Question 1: Which governor limit in Salesforce restricts the total number of SOQL queries that can be issued in a single transaction?
- 100 queries per transaction (Correct answer)
- 50 queries per transaction
- 200 queries per transaction
- 500 queries per transaction
Correct answer: 100 queries per transaction
Salesforce enforces a limit of 100 SOQL queries per synchronous transaction to ensure fair platform usage.
Question 2: What is a 'Custom Metadata Type' primarily used for in Salesforce?
- Storing user-specific preferences
- Storing application configuration data that can be deployed in packages (Correct answer)
- Replacing custom objects for transactional data
- Managing field-level security
Correct answer: Storing application configuration data that can be deployed in packages
Custom Metadata Types store application configuration and are deployable as metadata, unlike Custom Settings which store data.
Question 3: In a Salesforce formula field, which function would you use to return today's date?
- NOW()
- CURRENT_DATE()
- TODAY() (Correct answer)
- DATE()
Correct answer: TODAY()
TODAY() returns the current date as a Date value in Salesforce formula fields.
Question 4: Which Salesforce feature enables administrators to expose Salesforce data to external systems via a standard REST API without writing code?
- Apex REST Services
- Salesforce Connect
- Lightning Platform REST API (Correct answer)
- External Objects
Correct answer: Lightning Platform REST API
The Lightning Platform REST API provides standard endpoints to access Salesforce data and metadata for external integrations.
Question 5: What is the maximum number of records that can be processed in a single Apex DML statement (e.g., insert, update)?
- 1,000 records
- 5,000 records
- 10,000 records (Correct answer)
- 50,000 records
Correct answer: 10,000 records
Salesforce governor limits cap a single DML statement at 10,000 records per transaction.
Question 6: Which tool in Salesforce is used to import large volumes of data and supports upsert operations using external IDs?
- Data Import Wizard
- Data Loader (Correct answer)
- Schema Builder
- Mass Transfer Records
Correct answer: Data Loader
Data Loader is a client application that handles large data imports/exports and supports upsert with external ID fields.
Question 7: What does 'bulkification' mean in the context of Apex development best practices?
- Compressing data before storage
- Writing code that handles collections of records rather than single records (Correct answer)
- Using bulk API for all data loads
- Combining multiple classes into one
Correct answer: Writing code that handles collections of records rather than single records
Bulkification means writing Apex triggers and classes to handle multiple records at once to avoid governor limit violations.
Which governor limit in Salesforce restricts the total number of SOQL queries that can be issued in a single transaction?