Salesforce Certified Development Lifecycle and Deployment Designer — Question 3

Sales and Service products will be created by two teams that will use second-generation managed package(s). The Sales team will use a specific function of the Service product, but the architect wants to ensure that this team will only use the functions exposed by the Service team. No other team will use these same functions.
What should an architect recommend?

Answer options

Correct answer: C

Explanation

The correct answer is C because using separate namespaces for the Sales and Service packages allows for clear access control and only exposes the necessary functions through the @salesAccessible annotation. Option A is incorrect as it complicates the access process with token validation, while B does not provide the necessary separation of access. Option D does not limit access appropriately, which is essential for this scenario.