Free AND-402 Exam Braindumps
Android Security Essentials Questions 46–50 (page: 11)

Updated On: 10-Feb-2026

Which of the following is NOT true about "TestOnly" attribute in <application> tag?

  1. Indicates whether this application is only for testing purposes.
  2. If this attribute is set to true, the application can only be installed through adb.
  3. It may expose functionality or data outside of itself that would cause a security hole, but is useful for testing.
  4. It is system level attribute so it is included in manifest tag.

Answer(s): D



Which of the following is NOT true about theme attribute?

  1. A reference to a style resource is set through it.
  2. It can be placed inside manifest tag.
  3. It can be placed inside application tag.
  4. It can be placed inside activity tag.

Answer(s): B



Which of the following permission can alone work if location is to be obtained using Network provider and GPS provider both?

  1. android.permission.ACCESS_FINE_LOCATION
  2. android.permission.ACCESS_COARSE_LOCATION
  3. android.permission.ACCESS_MOCK_LOCATION
  4. android.permission.ACCESS_LOCATION_EXTRA_COMMANDS

Answer(s): A



Which of the following is true about "uiOptions" attribute of the <application>? (Choose two)

  1. Its default value is "none".
  2. "splitActionBarWhenNarrow" is a valid value for this attribute.
  3. "hideActionBarWhenNarrow" is a valid value for this attribute.
  4. It disables any other UI options in the layout resource files.

Answer(s): A,B



Which of the following is NOT true about setting the "permission" attribute to tags?

  1. Only one permission can be added to any tag
  2. If permission is required by all components of the application then it should be specified in application tag.
  3. The permission in the component overrides the permission in the application tag.
  4. The permission can only be included in application or manifest tags.

Answer(s): D



Viewing page 11 of 23
Viewing questions 51 - 55 out of 107 questions


Post your Comments and Discuss Android AND-402 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!