Summer Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: s2p65

Easiest Solution 2 Pass Your Certification Exams

AND-402 Android Security Essentials Free Practice Exam Questions (2025 Updated)

Prepare effectively for your Android AND-402 Android Security Essentials certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 2
Total 107 questions

Signature Permissions are granted automatically if and only if?

A.

Requesting application were signed with same certificate as application which declared the permission.

B.

Requesting application were signed with same certificate as Android device version number.

C.

Requesting application were signed with same certificate as Android system image.

D.

None are correct.

What does the following line of code do?

FileOutputStream fOut = openFileOutput("MyFile.txt", MODE_WORLD_READABLE);

A.

The file MyFile.txt will be created in the /data// files/ directory.

B.

The file MyFile.txt will be created in the /data/data// files/ directory.

C.

None are correct

D.

The file MyFile.txt will be created in the /data/data// directory.

Which of the following is NOT true about “allowbackup” attribute of application tag? (Choose two)

A.

Its default value is true.

B.

If set to false then no backup or restore of the application will ever be performed.

C.

If full system backup is made the application's data is saved via adb. This is in system's control and occurs

in all cases whether the allowbackup has value true or false.

D.

The default value of this attribute is false.

What is the reason for using Permissions in application development?

A.

To protect data and code

B.

To create patent

C.

To make it work better

D.

Application cannot be created without permissions

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

Permissions can be added inside

A.

AndroidManifest.xml.

B.

Layout.xml file

C.

Res folder

D.

Bin folder

Which of the following is protected by component level permissions? (Choose two)

A.

Application

B.

Components

C.

Application & Components

D.

None are correct

Which of the following is NOT true about sharedUserId attribute?

A.

It is placed inside manifest tag.

B.

By default Android assigns each application its sharedUserId value.

C.

Applications can share the same user ID.

D.

It is placed in the activity tag that needs to share the data with other application.

The auth token can be retrieved using the named value of

A.

AUTHTOKEN

B.

AUTHENTICATION_TOKEN

C.

KEY_TOKEN

D.

KEY_AUTHTOKEN

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

A.

Normally, third-party applications will not need to use this attribute.

B.

It means that whether the application should be terminated after its settings have been restored during anapplication restore operation.

C.

The default value is true.

D.

The true value of this attribute means that the application will be terminated once its settings are restoredduring a full-system restore

Which of following work with OEM's to adapt security rules to suit their needs?

A.

Application developers

B.

Carrier providers

C.

Government Organisation

D.

Operating system Vendors

Payment process in an application are always advisable to be performed by

A.

The application itself

B.

A payment library

C.

Experienced payment gateway companies

D.

Google wallet

Which of the following is correct about saving files in cache?

A.

Cache file can only be created in internal memory

B.

By using getCacheDir()method

C.

By using getExternalStorageDirectory()method

D.

Both options "By using getCacheDir()method" and "By using getExternalStorageDirectory()method" are correct.

Which of the following is NOT true about setting two applications to share same Linux ID?

A.

Both applications must be running in background to check if they are sharing same Linux ID.

B.

The applications just need to be installed on single device, for checking their Linux ID, they need not to berunning.

C.

Android's adb tool can be used to check the applications that if they are sharing same Linux ID.

D.

Making two applications sharing same Linux ID must have same value of sharedUserID in

AndroidManifest.xml.

Which of the following is correct about Android permission PROCESS_OUTGOING_CALLS? (Choose two)

A.

Allows an application to access call logs.

B.

Allows an application to monitor or abort outgoing calls.

C.

Allows an application to record outgoing calls.

D.

Allows an application to divert incoming calls.

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

A.

sqlite3.

B.

sqlite.

C.

adb.

D.

All are correct.

Which of the following are helper classes provided by Android to backup data to Google server? (Choose two)

A.

FileBackupHelper

B.

DatabaseBackupHelper

C.

SharedPreferencesBackupHelper

D.

MapBackupHelper

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 listed below is a component level permission?

A.

Activity

B.

Permission group

C.

Permission tree

D.

None are correct

Which of the following can be used to share a component among applications written by same author?

A.

Custom permission

B.

System Permission

C.

Component permission

D.

Special level kernel permissions

Page: 1 / 2
Total 107 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved