Exam PDII Topic 1 Question 98 Discussion

Actual exam question for Salesforce's PDII exam
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?

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

by Colby at May 31, 2026, 06:24 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

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.

0
0
0
10