Question 1 of 30
A company is integrating an external service to enhance its customer relationship management (CRM) capabilities. The external service provides a RESTful API that returns customer data in JSON format. The integration requires the company to authenticate using OAuth 2.0 and handle the data efficiently within Salesforce. Which approach should the company take to ensure a secure and effective integration with the external service while adhering to best practices in Salesforce?
Use Named Credentials to manage the OAuth 2.0 authentication and create an Apex class to handle the API calls and JSON parsing.
Directly embed the API key in the Apex code to authenticate and use a simple HTTP callout without any additional security measures.
Utilize a third-party middleware solution to handle the authentication and data retrieval, bypassing Salesforce's built-in capabilities.
Implement a custom Visualforce page to manage the API calls and handle the JSON response manually.

Preparing for SalesForce Certified Associate Salesforce Certified Associate? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free