Android and-802 practice test

Android Security Essentials Exam


Question 1

What is the purpose of adding the following permission tag to your app's AndroidManifest.xml file?
<uses-permission android:name='android.permission.ACCESS_WIFI_STATE7>

  • A. Allows the application to access information about Wi-Fi networks.
  • B. Allows the application to access cache files' information.
  • C. Allows the application to access internet .
  • D. Allows the application to access external storage.
Answer:

A

Discussions

Question 2

What is the message "File Written to external memory" which appeared when the app user clicks
"Save" button in the following image?

  • A. It is <permission> tag added to Manifestfile.xml.
  • B. This message must appear when the user clicks back button.
  • C. It is auto message which appears when users use external storage.
  • D. It is just a Toast message.
Answer:

D

Discussions

Question 3

Which of the following choices was added to AndroidManifest.xml to produce the following dialog
below when the app tries to save data to external storage?

  • A. <uses androld:name=-android.pemiission.WRITE_EXTERNAL_STORAGE"/>
  • B. <uses-permlssion android:name-"android.pennission.WRITE_TO_EXTERNAL_2_STORAGE"/>
  • C. <uses-petnHssion androtd:name-"android.WRITE EXTERNAL STORAGE"/>
  • D. <usespermlsslonandroid:name-"android.perniision.WRITE_EXTERNAL_STORAGE"/> E: <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
Answer:

E

Discussions

Question 4

Android SQLite database files are stored under the........................................ directory.

  • A. /data/database/<application-path>/databases/
  • B. /data/mydata/<application path>/databases/
  • C. /data/data/<applicabon-path>/databases/
  • D. /datatiles/<application-path>/databases/
Answer:

C

Discussions

Question 5

Android cache is Not considered as an Android application storage.

  • A. False
  • B. True
Answer:

A

Discussions

Question 6

You must use permissions to prevent unauthorized access to your application data.

  • A. False
  • B. True
Answer:

B

Discussions

Question 7

The tag of a manifest file is a declaration for the whole application and each application component
is declared in a sub-tag inside it.

  • A. True
  • B. False
Answer:

A

Discussions

Question 8

A manifest file (AndroidManifest.xml) describes the components of the application, which include
the activities, services, broadcast receivers, and content providers that compose the application.

  • A. False
  • B. True
Answer:

B

Discussions

Question 9

A manifest file (AndroidManifest.xml) is a file that lists the contents of a software package. Not every
application must have an AndroidManifest.xml file in its root directory.

  • A. False
  • B. True
Answer:

A

Discussions

Question 10

A permission group is the concept of creating a group of all similar types of permissions, which will
be presented together to the user during the installation time for approval.

  • A. False
  • B. True
Answer:

B

Discussions
To page 2