Salesforce Certified Integration Architect — Question 31
What is the first thing an integration architect should validate if a callout from a Lightning Web Component to an external endpoint is failing?
Answer options
- A. The endpoint URL has been added to Content Security Policies.
- B. The endpoint URL has been added to Remote Site Settings.
- C. The endpoint URL has been added been to an outbound firewall rule.
- D. The endpoint domain has been added to Cross-Origin Resource Sharing.
Correct answer: B
Explanation
The correct answer is B because Salesforce requires that any external callout to an endpoint must be configured in Remote Site Settings for security purposes. Options A, C, and D, while relevant to security and access, do not directly address the specific requirement for enabling callouts from Lightning Web Components.