CompTIA
ADR-001 · Question #96
When an app creates a configuration file in its private data directory the developer should ensure:
The correct answer is D. that the file is not created world readable. See the full explanation below for the reasoning.
Question
When an app creates a configuration file in its private data directory the developer should ensure:
Options
- Athat the file path is determined with getExternalStorageDirectory().
- Bthat the file is created world writable.
- Cthat file ownership is set to system.
- Dthat the file is not created world readable.
How the community answered
(18 responses)- A6% (1)
- B17% (3)
- C6% (1)
- D72% (13)
Community Discussion
No community discussion yet for this question.