ARC-101 practice question 5 of 25
An Integration Architect has designed a mobile application for Salesforce users to get data while on the road using a custom UI. The application is…
Full set: 106 questionsThe core requirement is to update a field that the user cannot edit due to Field Level Security (FLS). Standard API calls, such as the standard REST API (Option C) or SOAP API (Option A), execute in the context of the authenticated user and respect all their permissions, including FLS. Therefore, any attempt to update the read-only geolocation field using these standard APIs would fail. The correct solution is to create a custom Apex REST service (Option D). By default, Apex code runs in system mode, which bypasses object and field-level security. This allows the Apex method to update the field programmatically, even though the user does not have the direct permission to do so, thus satisfying the requirement.
1. Salesforce Developer Documentation, Apex Developer Guide, "Enforcing Object and Field Permissions": "By default, Apex code runs in system context... Apex code has access to all objects and fields—object permissions, field-level security, sharing rules aren’t applied for the current user." This directly supports why an Apex-based solution (Option D) is necessary to bypass the FLS restriction.
2. Salesforce Developer Documentation, Apex Developer Guide, "Exposing Apex Classes as REST Web Services": This document describes the mechanism for creating custom REST endpoints using Apex (@RestResource annotation), which is the technical implementation for Option D.
3. Salesforce REST API Developer Guide, "Introduction > Security Considerations": "Access to resources is controlled by the user’s profile and permission sets." This confirms that standard REST API calls (Option C) are bound by user permissions, making them unsuitable for this scenario.
Keep practicing
Take the free ARC-101 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ARC-101 practice questions
- Question 1Northern Trail Outfitters has had an increase in requests from other business units to in…
- Question 2Salesforce users need to read data from an external system via HTTPS request. Which two s…
- Question 3The director of customer service at Northern Trail Outfitters (NTO) wants to capture and …
- Question 4Northern Trail Outfitters (NTO) has recently changed their Corporate Security Guidelines.…
- Question 6A company needs to integrate a legacy on premise application that can only support SOAP A…
- Question 8An Integration Architect has built a Salesforce application that integrates multiple syst…
