← All CSA Flashcard Decks

Apex Programming Flashcards

7 cards from real CSA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Apex Programming flashcards as text
  1. What is a 'bulkified' Apex trigger?

    Answer: A trigger designed to handle up to 200 records efficiently using collections

    A bulkified trigger handles up to 200 records in one execution by operating on collections rather than individual records.

  2. Which Apex class is used to schedule code to run at a specific time?

    Answer: Schedulable

    Implementing the Schedulable interface allows an Apex class to be scheduled via System.schedule().

  3. What does Trigger.new contain in a before insert trigger?

    Answer: The new records without Id fields yet assigned

    In a before insert trigger, Trigger.new contains the new records but Id fields have not yet been assigned by the database.

  4. Which exception type is thrown when a DML operation violates a validation rule or required field?

    Answer: DmlException

    A DmlException is thrown when a DML operation fails due to validation rules, required fields, or other data integrity issues.

  5. In Apex, which method sends an HTTP request and waits for the response?

    Answer: new Http().send(request)

    You create an Http object and call send(HttpRequest) on it to make a callout and receive an HttpResponse.

  6. What annotation must be added to a test class in Apex?

    Answer: @IsTest

    @IsTest marks a class as a test class, which excludes it from the org's code size limit.

  7. Which Apex feature allows you to run asynchronous code that chains multiple jobs?

    Answer: Queueable Apex

    Queueable Apex allows chaining of jobs by calling System.enqueueJob() from within a Queueable class.

How this page was made: written with AI tools. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. help.salesforce.com — Exam information · verified Oct 2026
  2. help.salesforce.com — Test delivery, eligibility, fees · verified Oct 2026