Certified Integration Architect Exam QuestionsBrowse all questions from this exam

Certified Integration Architect Exam - Question 46


An architect is required to integrate with an External Data Source via a Named Credential with an Apex callout due to technical constraints.

How is authentication achieved?

Show Answer
Correct Answer: CD

When using Apex callouts and Named Credentials in Salesforce, authentication details are not required to be explicitly handled in the code. Instead, Salesforce manages the authentication process based on the configuration set within the Named Credential itself. Therefore, the authentication is automatically handled by Salesforce, making option D the correct choice.

Discussion

3 comments
Sign in to comment
JLee1Option: D
Nov 15, 2023

The correct answer is D. Handle authentication in the code. However, when using Named Credentials in Salesforce, the authentication is handled by Salesforce itself, not in the Apex code. While login flows are a powerful tool for managing the login process and enforcing certain business processes at login, they are not typically used to handle authentication for Apex callouts to external data sources via Named Credentials

u39403918Option: D
Feb 12, 2024

+1 for D

Paul421Option: D
Jun 3, 2024

idiot question and answers. the best answer is in the question - just use Named Credential, and use the Named Credential from apex.