CISSP practice question · Software Development Security
A mobile app's API returns complete customer records, including national ID numbers and internal account notes.
A mobile app's API returns complete customer records, including national ID numbers and internal account notes. The app shows only each customer's name and city, filtering out the rest on the device. Which change BEST addresses the risk?
- AObfuscate the mobile app code to hide the API format
- BReturn only the fields each client needs, filtered on the server
- CAdd certificate pinning to the mobile app
- DHide the extra fields in the app's user interface
Show the answer and explanation
Correct answer: B) Return only the fields each client needs, filtered on the server
APIs should return only the data each client needs, filtered on the server; relying on the client to hide extra fields exposes sensitive data to anyone who inspects the traffic.
Why each option is right or wrong
- A) Incorrect. Obfuscation slows reverse engineering but does not stop someone from watching the API responses, which still contain the sensitive fields.
- B) Correct. Anyone can intercept the app's traffic or call the API directly, so whatever the server sends is exposed. Server-side filtering keeps sensitive fields from leaving the backend at all.
- C) Incorrect. Pinning makes interception harder, but it can be bypassed on a device the attacker controls, and direct API calls still return all fields.
- D) Incorrect. The fields are already hidden in the interface. Hiding them in the view does nothing about the data sent across the network.
- Exam domain
- Software Development Security · 10% of CISSP
- Question type
- Multiple choice (one answer)
Related CISSP questions
- A C service computes a buffer size as count multiplied by record size, using 32-bit unsigned integers, with count taken…Software Development Security
- A team is designing password storage for a new web application. Which approach BEST protects stored passwords if the…Software Development Security
- A web application keeps the same session ID before and after login. An attacker plants a known session ID in a victim's…Software Development Security
- A research database allows only aggregate queries such as counts and averages.Software Development Security
All 110 free CISSP questions by domain · 15 sample questions on one page
Practise the full CISSP exam
This question is one of a small free sample from the CertRidge CISSP bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with ISC2; never copied from the real exam.