Skip to content

Salesforce Certified System Architect Practice Questions

Prepare for Sys-Arch-301 with more than an answer.

171 questions in the full set12 sample questionsUpdated Mar 12, 2026
Exam fee
$1400 USD
Level
Advanced
Valid for
Requires annual maintenance through Trailhead maintenance modules
Domains covered on the exam 4
  1. Platform Development (Platform Developer I - Plat-Dev-201)25%
  2. Development Lifecycle and Deployment (Plat-Arch-202)25%
  3. Identity and Access Management (Plat-Arch-203)25%
  4. Integration Architecture (Plat-Arch-204)25%
  1. 1

    When publishing a Platform Event from Apex, which method is used to execute the publish operation?

    Show answer details

    Correct answer: A

    The EventBus.publish() method is used to publish one or more platform event records.

  2. 2

    A developer is using Lightning Message Service (LMS) to communicate between a Visualforce page and a Lightning Web Component.

    What is the correct resource to import in the LWC to enable publishing to a message channel?

    Show answer details

    Correct answer: A

    To publish messages in LWC using LMS, you must import publish and MessageContext from the lightning/messageService module.

  3. 3

    A developer needs to insert a large volume of parent Account records and child Contact records in a single transaction.

    Which approach ensures proper linking of children to parents while minimizing DML statements?

    Show answer details

    Correct answer: B

    Using External ID references allows you to insert child records without knowing the parent's Salesforce ID beforehand. You create the parent reference using new Account(External_ID__c='123') and assign it to the child's relationship field, then perform the insert. This is highly efficient for bulk loading.

  4. 4

    A developer is designing a trigger framework for a large enterprise org with high data volumes. The goal is to ensure that the logic is scalable, prevents recursion, and adheres to the order of execution. Specifically, they need to handle a scenario where a before update trigger on the Account object updates a related Contact, which in turn triggers an update back to the Account.

    Considering Salesforce's order of execution, what is the primary risk in this architecture and the optimal architectural pattern to mitigate it?

    Show answer details

    Correct answer: B

    The primary risk here is infinite recursion where the Account update triggers a Contact update, which triggers an Account update, creating a loop until the governor limit is hit. The standard mitigation pattern is to use a static boolean variable in a handler class to track whether the trigger has already run in the current transaction context.

  5. 5

    Global Finance Corp requires a complex calculation engine that processes thousands of Opportunity records nightly. The logic involves making callouts to an external exchange rate service for each batch of records.

    Which asynchronous Apex feature is best suited for this requirement?

    Show answer details

    Correct answer: C

    Batch Apex is designed for processing large volumes of records (thousands). To make callouts, the class must implement the Database.AllowsCallouts interface. Future methods cannot process large record sets easily, and Queueable is better for chaining jobs but less ideal for iterating over query locators of thousands of records.

  6. 6

    A developer needs to query for Contacts where the LastName is 'Smith' and the MailingCity is 'New York'. The MailingCity field is not indexed, but LastName is indexed. The organization contains 5 million Contact records, and approximately 2 million have the last name 'Smith'.

    What is the likely outcome of running this SOQL query?

    Show answer details

    Correct answer: B

    Even though LastName is indexed, returning 2 million out of 5 million records exceeds the selectivity threshold (usually 10% of records for standard indexes). The query optimizer will determine that the filter is not selective enough and will likely perform a full table scan, resulting in a timeout or exception.

Create an account to continue.