Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Get a Refresh on SOQL, SOSL, and DML

Learning Objectives

After completing this unit, you'll be able to:

  • Write SOSL, SOQL and DML statements in Apex.
  • Identify the implications of governor limits on Apex transactions.
  • Implement exception handling in Apex, including custom exceptions as needed.

Key Topics

This unit prepares you for these topics in the Process Automation and Logic section of the Platform Developer I exam.

  • SOQL
  • SOSL
  • DML
  • Exceptions and governor limits

Exam Practice Questions

Ready to jump in? The sample tool below is not scored—it's just an easy way to quiz yourself. To use it, read the scenario and click the answer you think is correct. Some questions may have more than one correct answer. Click Submit and you get a popup telling you whether the answer you chose is correct or incorrect, and why. If there's a longer explanation, click Expand Button and then click anywhere in the window to close it. When you reach the end, you can review the answers or retake the questions.

Exam Topic Flashcards

The following flashcards cover SOQL, SOSL, exceptions, and governor limits. Use these interactive flashcards to review some of the key topics you'll find on this part of the exam.

Read the question or term on each card, then click on the card to reveal the correct answer. Click the right-facing arrow to move to the next card, and the left-facing arrow to return to the previous card.

Looking for more information? Explore these related badges.

Badge
Content Type

Database & .NET Basics badge

Database & .NET Basics

Module

Search Solution Basics badge

Search Solution Basics

Module

Great work! You're almost finished reviewing the Process Automation and Logic section of the Platform Developer I exam. On to the final unit, which covers Apex classes and triggers.

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback