CompTIA
ADR-001 · Question #102
ADR-001 Question #102: Real Exam Question with Answer & Explanation
The correct answer is A. set the attribute android:exported=false in the manifest.. See the full explanation below for the reasoning.
Question
To prevent a component from being publically accessible via Intents the developer can:
Options
- Aset the attribute android:exported=false in the manifest.
- Bdeclare the method as private in the Java source.
- Csign the app because Android protects component access by verifying digital signatures.
- Dadd an Intent Filter with the attribute of "private".
Community Discussion
No community discussion yet for this question.