ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 408 - Certified Platform Developer II discussion

Report
Export

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?

A.
Use a separate Apex class for each API endpoint to encapsulate the integration logic
Answers
A.
Use a separate Apex class for each API endpoint to encapsulate the integration logic
B.
Include the API integration code directly in each Apex class that requires it.
Answers
B.
Include the API integration code directly in each Apex class that requires it.
C.
Create a reusable Apex class for the AFL integration and invoke it from the relevant Apex classes.
Answers
C.
Create a reusable Apex class for the AFL integration and invoke it from the relevant Apex classes.
D.
Store the APT integration code as a static resource and reference it in each Apex class.
Answers
D.
Store the APT integration code as a static resource and reference it in each Apex class.
Suggested answer: D
asked 23/09/2024
Pouyan Bani Shahabadi
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first