Free Salesforce Platform Integration Architect Practice Test Questions
Topic: Maintain Integration
124 questionsUpdated 23-Nov-20267 topics
TopicMaintain Integration
Question 1Choose 1
What is the first thing an integration architect should validate if a callout from a Lightning
web component to an external endpoint is failing?
Correct answer:
A. The endpoint URL has been added to Content Security Policies
Explanation:
Why A is correct:
Lightning Web Components (LWCs) execute client-side code directly inside the user's browser. By default, Salesforce enforces a strict Content Security Policy (CSP) to help prevent cross-site scripting (XSS) and code injection attacks. This policy blocks outbound client-side HTTP or Fetch requests and WebSocket connections to third-party endpoints unless the target domain is explicitly registered under CSP Trusted Sites, also known as Trusted URLs, in Salesforce Setup with the appropriate directives enabled, such as connect-src.
Why B is incorrect:
Cross-Origin Resource Sharing (CORS) is a browser-level security mechanism enforced by the external server receiving the request. It determines whether that server allows responses to be read by a different origin, such as Salesforce. While CORS configuration issues can cause callouts to fail, configuring CORS within Salesforce whitelist settings is used for incoming requests to Salesforce APIs from external applications, not for outbound requests originating from an LWC.
Why C is incorrect:
Remote Site Settings are required for server-side callouts originating from Apex, such as requests made using the Http class. They do not govern client-side JavaScript or Lightning Web Component execution.
Northern Trail Outfitters needs to use Shield Platform Encryption to encrypt social security
numbers in order to meet a business requirement. Which action should an integration
architect take prior to the implementation of Shield Platform Encryption?
Correct answer:
B. Encrypt the data using the most current key.
Explanation:
Before (and as part of) implementing Shield Platform Encryption for sensitive fields such as Social Security Numbers, Salesforce best practice is to ensure that data is encrypted with the most current tenant secret / encryption key.
When a new tenant secret is generated:
Newly created or updated data is encrypted with the new key.
Existing data remains encrypted under the previous key(s).
Salesforce therefore strongly recommends re-encrypting existing sensitive data with the latest key (via the Background Encryption Service or equivalent process) so that all protected data is under the current key material. This is a critical preparatory / early-implementation step for an Integration Architect to plan and execute.
Why the other options are incorrect
A. Encrypt all the data so that it is secure.
This is not recommended. Shield Platform Encryption should be applied selectively to only the data that requires it (based on data classification and threat modeling). Encrypting everything unnecessarily degrades performance and breaks platform functionality (filters, sorting, formulas, unique constraints, etc.).
C. Use Shield Platform Encryption as a user authentication or authorization tool.
This is incorrect. Shield Platform Encryption protects data at rest. It is not a replacement for authentication, authorization, profiles, permission sets, or field-level security. Access control remains the responsibility of the Salesforce security model.
Question 3Choose 1
A customer imports data from an external system into Salesforce using Bulk API. These
jobs have batch sizes of 2,000 and are run in parallel mode. The batches fail frequently with the error “Max CPU time exceeded”. A smaller batch size will fix this error. What
should be considered when using a smaller batch size?
Correct answer:
A. Smaller batch size may increase time required to execute bulk jobs.
Explanation:
When using Bulk API with parallel mode and large batch sizes (e.g., 2,000 records), jobs may fail with “Max CPU time exceeded” because Salesforce must process too much logic per batch. Reducing the batch size helps avoid CPU limits, but it introduces trade-offs:
Smaller batch size → Each batch contains fewer records, so Salesforce spends less CPU time per batch. This reduces the likelihood of hitting Apex governor limits.
However, more batches are required to process the same total volume of data.
This increases the overall execution time of the bulk job, since Salesforce must handle more batch overhead (setup, commit, retries).
Why not the other options?
B. Smaller batch size can trigger “Too many concurrent batches” error → Incorrect. That error occurs when too many batches are submitted simultaneously, not because of smaller batch sizes.
C. Smaller batch size may exceed the concurrent API request limits → Incorrect. Bulk API jobs are still counted as a single job submission, regardless of batch size. Smaller batches do not increase API request limits directly.
Thus, the main consideration is that smaller batch sizes improve reliability but increase total job execution time.
Reference
Salesforce Docs: Bulk API Best Practices
Salesforce Help: Bulk API Limits and Performance
Question 4Choose 1
What is the first thing an integration architect should validate if a callout from a Lightning
web component (LWC) to an external endpoint is failing?
Correct answer:
C. The endpoint URL has been added to Content Security Policies (CSP).
Explanation:
When a callout from a Lightning Web Component (LWC) to an external endpoint is failing, the first thing an integration architect should validate is whether the endpoint URL has been added to Content Security Policy (CSP) Trusted Sites in Salesforce Setup.
Why CSP is the priority for LWC callouts:
LWC JavaScript runs in the browser: Unlike Apex (server-side), LWC code executes client-side. Salesforce enforces a strict CSP that blocks all outbound API calls to external domains by default to prevent cross-site scripting (XSS) and code injection attacks.
Immediate failure point: If the endpoint domain is not added to CSP Trusted Sites (with the connect-src directive checked), any fetch() call from the LWC will fail immediately with a "Failed to fetch" error, and the browser console will show a CSP violation.
Configuration location: This is configured in Setup → CSP Trusted Sites (formerly Trusted URLs). The connect-src directive must be enabled for API callouts to work.
Why Other Options Are Incorrect
A. The endpoint domain has been added to Cross-Origin Resource Sharing (CORS):
CORS is enforced by the external server, not Salesforce. While CORS can cause failures, you cannot "add" a domain to CORS in Salesforce—that configuration must be done on the third-party endpoint itself. CORS controls whether the browser allows JavaScript to read the response, but it does not control whether the request is sent in the first place.
B. The endpoint URL has been added to Remote Site Settings:
Remote Site Settings authorize Apex callouts (server-side), not LWC JavaScript callouts (client-side). If the integration used an Apex controller to make the callout, Remote Site Settings would be the correct answer. However, the question explicitly specifies the callout originates from a Lightning Web Component.
The presence of "Lightning Web Component" in the question is the critical clue pointing to CSP Trusted Sites. This distinction is a frequent exam topic.
Question 5Choose 1
Northern Trail Outfitters is planning to perform nightly batch loads into Salesforce using the
Bulk API. The CIO wants monitoring recommendations for these jobs. Which
recommendation should help meet the requirements?
Correct answer:
A. Visually monitor in the Salesforce UI using the “Bulk Data Load Jobs” in Salesforce in
the setup menu.
Explanation:
When using Bulk API for nightly batch loads, monitoring is essential to ensure jobs complete successfully and errors are addressed. The recommended approach is:
Bulk Data Load Jobs UI (Setup Menu):
Provides a native monitoring interface in Salesforce.
Administrators can view job status, batch progress, success/failure counts, and error details.
No custom development is required, making it the most straightforward and reliable monitoring method.
Why not the other options?
B. Write error response to a custom error logging object with Apex trigger → Incorrect.
Bulk API jobs are asynchronous and external; Apex triggers cannot intercept Bulk API responses directly. This would require unnecessary custom development and is not scalable.
C. Set debug logs to “finest” for the job user → Incorrect.
Debug logs are intended for troubleshooting Apex code execution, not monitoring Bulk API jobs. They would generate excessive log volume and are not practical for nightly monitoring.
Thus, the best recommendation is to use the Salesforce UI “Bulk Data Load Jobs” page for monitoring.
Reference
Salesforce Docs: Monitor Bulk Data Load Jobs
Salesforce Help: Bulk API Monitoring
That's the last free question in Maintain Integration
You've seen the free 25% of this topic (5 of 22 questions). Get complete access for every question, explanation and the timed exam simulator.
Our timed 2026 Salesforce Platform Integration Architect practice test mirrors the format, number of questions and time limit of the official exam.
The #1 challenge isn't just knowing the material, it's managing the clock. The simulation builds your speed and stamina, so you walk in knowing exactly what to expect.