nerdexam
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)
  • A
    6% (1)
  • B
    17% (3)
  • C
    6% (1)
  • D
    72% (13)

Community Discussion

No community discussion yet for this question.

Full ADR-001 Practice