Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Android AND-402 - Android Security Essentials

Page: 1 / 4
Total 107 questions

If credit card numbers and passwords are stored in device they should to be in

A.

Raw Form

B.

Encrypted Form

C.

Hash Form

D.

Text file

When are permissions enforced in Activities?

A.

When they launched by Context.startActivity() or Context.startActivityFor Result().

B.

When method Context.enforcepermission() is called.

C.

When method Context.stopActivity() is called.

D.

When Context.checkPermission() is called.

In which form the data is stored using shared preferences?

A.

XML file inside the internal memory of application.

B.

Binary form inside the internal memory of application.

C.

A Text file inside internal memory of application.

D.

Encrypted form inside the application’s internal memory.

Which of the following is NOT true about “TestOnly” attribute in tag?

A.

Indicates whether this application is only for testing purposes.

B.

If this attribute is set to true, the application can only be installed through adb.

C.

It may expose functionality or data outside of itself that would cause a security hole, but is useful for testing.

D.

It is system level attribute so it is included in manifest tag.

Which of the following methods can be used to extract licence information from rights object?

A.

getDrmRightsObject()

B.

getConstraints()

C.

getApplicationContext()

D.

saveRights()

Android permissions can be extended by

A.

Using keyword “extends”.

B.

Creating custom permissions in manifest file.

C.

Permissions cannot be extended.

D.

None are correct.

Which of the following classes is provided by Android SDK to get user's location?

A.

UserLocationManager

B.

RemoteLocationManager

C.

LocationManager

D.

SystemLocationManager

Which of the following is true about the “description” attribute in the application tag?

A.

The value must be set as a reference to the string resource.

B.

It can be a raw string.

C.

The default value is same as the application name if not value is assigned to it.

D.

Its length must be equal to that of application label.

Which of the following is a database tool included in Android SDK?

A.

sqlite3.

B.

sqlite.

C.

adb.

D.

All are correct.

Service is an Android component which runs in the background to perform background task.

A.

True .

B.

False.

C.

Depends on the situation.

D.

Services is not an Android component.