Salesforce Certified Integration Architect — Question 46
An integration architect has designed a mobile application for Salesforce users to get data while on the road using a custom user interface (UI). The application is secured with OAuth and is currently functioning well. There is a new requirement where the mobile application needs to obtain the GPS coordinates and store them on a custom geolocation field.
The geolocation field is secured with field-level security, so users can view the value without changing it.
What should be done to meet the requirement?
Answer options
- A. The mobile device makes a REST API Inbound call.
- B. The mobile device makes a REST Apex inbound call.
- C. The mobile device makes a SOAP API inbound call.
- D. The mobile device receives a REST Apex callout call.
Correct answer: B
Explanation
The correct answer is B, as a REST Apex inbound call allows the mobile application to securely send the GPS coordinates to Salesforce and update the geolocation field while adhering to the field-level security. Options A and C are incorrect because they do not utilize Apex, which is necessary for custom logic and security enforcement. Option D is incorrect as it describes a callout, which is not suitable for updating data in Salesforce.