Salesforce Certified System Architect Free Sample Questions

Description

Covers platform development fundamentals, application lifecycle and deployment planning, identity and access management architecture, and evaluating and designing integration solutions.

12 free sample questions171 in the full practice test

Try simulator

Sys-Arch-301 Sample Questions

  1. Question 1

    Advanced

    Platform Development (Platform Developer I) · Logic and Process Automation

    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?

    Answer and explanation

    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.

  2. Question 2

    Intermediate

    Platform Development (Platform Developer I) · Logic and Process Automation

    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?

    Answer and explanation

    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.

  3. Question 3

    Advanced

    Platform Development (Platform Developer I) · Logic and Process Automation

    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?

    Answer and explanation

    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.

  4. Question 4

    Intermediate

    Platform Development (Platform Developer I) · User Interface

    In a Lightning Web Component (LWC), a developer needs to communicate a status change from a child component nested three levels deep to the top-level parent container component.

    Which communication mechanism should the developer use to follow best practices?

    Answer and explanation

    Correct answer: B

    To communicate from a deep child to a parent across shadow DOM boundaries, dispatching a Custom Event with bubbles: true (to bubble up) and composed: true (to cross shadow DOM boundaries) is the standard pattern. LMS is typically used for communication between unrelated components or across the DOM tree laterally.

  5. Question 5

    Beginner

    Platform Development (Platform Developer I) · Testing, Debug and Deployment

    A developer is writing a test class for an Apex method that performs an HTTP callout. The developer creates a mock class implementing HttpCalloutMock.

    Which method must be implemented in the mock class to simulate the response?

    Answer and explanation

    Correct answer: B

    The HttpCalloutMock interface requires the implementation of the respond(HttpRequest req) method, which returns an HttpResponse object.

  6. Question 6

    Intermediate

    Platform Development (Platform Developer I) · Data Modeling and Management

    An organization faces 'Account Data Skew' where a single generic 'Unassigned' Account owns more than 250,000 child Contact records. This is causing performance issues during sharing recalculations.

    What is the recommended architectural fix for this data model issue?

    Answer and explanation

    Correct answer: A

    Data skew occurs when a single parent record has more than 10,000 child records. The best practice is to distribute these children across multiple parent records to prevent lock contention and sharing calculation performance issues.

Register free for 6 more questions

Or unlock all 171 Sys-Arch-301 questions with explanations, timed mode and flashcards.