Exam PDII Topic 1 Question 98 Discussion
Actual exam question for Salesforce's PDII exam
Question #: 98
Topic #: 1
Question #: 98
Topic #: 1
Universal Containers develops a Salesforce application that requires frequent interaction with an external REST API.
To avoid duplicating code and improve maintainability, how should they implement the APL integration for code reuse?
To avoid duplicating code and improve maintainability, how should they implement the APL integration for code reuse?
Suggested Answer: C Vote an answer
Creating a reusable Apex class for API integration allows for code encapsulation and maintainability. This class can then be invoked from any other Apex class that requires interaction with the API, preventing code duplication.
References: Apex Developer Guide - Apex Classes
References: Apex Developer Guide - Apex Classes
by Colby at May 31, 2026, 06:24 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).