CSA Testing and Debugging 2 — Questions and Answers
Question 1: A Salesforce Administrator notices that a validation rule is firing unexpectedly on records updated via a Data Loader import. Which approach should they use first to diagnose the issue?
- Enable Debug Logs for the integration user performing the import (Correct answer)
- Disable all validation rules temporarily and re-run the import
- Use the Schema Builder to inspect field-level security
- Run a SOQL query in the Developer Console
Correct answer: Enable Debug Logs for the integration user performing the import
Debug Logs capture detailed execution information including which validation rules fire and why, making them the best first step.
Question 2: When testing a Flow in Salesforce, which built-in tool allows an administrator to step through each element and inspect variable values at runtime?
- Flow Builder Debug mode (Correct answer)
- Developer Console Log Inspector
- Apex Debug Logs
- Process Builder Debug mode
Correct answer: Flow Builder Debug mode
Flow Builder's Debug mode lets you run a Flow step-by-step and inspect variable values at each element.
Question 3: An administrator deploys a new workflow rule to production, but it does not trigger on existing records. What is the most likely reason?
- Workflow rules only trigger when records are created or edited, not retroactively (Correct answer)
- The workflow rule is missing a filter criteria
- Production requires a separate activation step after deployment
- Workflow rules require approval before activating in production
Correct answer: Workflow rules only trigger when records are created or edited, not retroactively
Workflow rules only fire when a record is saved (created or edited), so existing unchanged records are not affected.
Question 4: Which Salesforce tool would an administrator use to verify that a permission set grants the correct object and field access before assigning it to users?
- Permission Set detail page in Setup
- Security Health Check
- Login As feature
- Field Accessibility view (Correct answer)
Correct answer: Field Accessibility view
Field Accessibility shows field-level security across all profiles and permission sets, making it ideal for verifying access.
Question 5: A sandbox refresh has just completed. Before testing a new feature, an administrator should first do which of the following?
- Verify that sandbox users and email deliverability settings are correctly configured (Correct answer)
- Immediately run all existing test scenarios
- Deploy the feature from production to the sandbox
- Enable all workflows and process builders in the sandbox
Correct answer: Verify that sandbox users and email deliverability settings are correctly configured
After a sandbox refresh, email deliverability is set to System Email Only by default, and user settings should be verified before testing.
Question 6: An administrator wants to confirm that a sharing rule correctly grants read access to records in a specific territory. What is the most direct way to test this?
- Log in as an affected user and attempt to view a record in that territory (Correct answer)
- Run a SOQL query on the Share object
- Check the Role Hierarchy in Setup
- Review the Audit Trail for sharing changes
Correct answer: Log in as an affected user and attempt to view a record in that territory
Logging in as an affected user (using Login As) directly confirms whether sharing rules grant the expected record access.
Question 7: Which of the following best describes the purpose of the Salesforce Setup Audit Trail when debugging?
- It tracks configuration changes made in Setup over the past 180 days (Correct answer)
- It logs all DML operations performed on records
- It displays runtime errors from Apex triggers
- It records every user login and logout event
Correct answer: It tracks configuration changes made in Setup over the past 180 days
The Setup Audit Trail records metadata and configuration changes made in Setup, useful for identifying recent changes that may have caused issues.
A Salesforce Administrator notices that a validation rule is firing unexpectedly on records updated via a Data Loader import.
Which approach should they use first to diagnose the issue?