Exam Details

  • Exam Code
    :ASSOCIATE-ANDROID-DEVELOPER
  • Exam Name
    :Google Developers Certification - Associate Android Developer (Kotlin and Java Exam)
  • Certification
    :Google Certifications
  • Vendor
    :Google
  • Total Questions
    :128 Q&As
  • Last Updated
    :May 16, 2024

Google Google Certifications ASSOCIATE-ANDROID-DEVELOPER Questions & Answers

  • Question 61:

    Select four different types of app components. (Choose four.)

    A. Application

    B. Layouts

    C. Activities

    D. Services

    E. AlarmManager

    F. WorkManager

    G. Broadcast receivers

    H. Content providers

    I. Fragments

  • Question 62:

    What is a correct part of an Implicit Intent for sharing data implementation?

    A. Intent sendIntent = new Intent(this, UploadService.class) sendIntent.putExtra(Intent.EXTRA_TEXT, textMessage);

    B. Intent sendIntent = new Intent(); sendIntent.setType(Intent.ACTION_SEND);

    C. Intent sendIntent = new Intent(this, UploadService.class) sendIntent.setData(Uri.parse(fileUrl));

    D. Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND);

  • Question 63:

    A class that you create for managing multiple data sources. In addition to a Room database, this class could manage remote data sources such as a web server. It is about:

    A. Activity/Fragment

    B. ViewModel

    C. Repository

    D. Room database

  • Question 64:

    @Query is the main annotation used in DAO classes. It allows you to perform read/write operations on a database. Each @Query method is verified at compile time, so what happens if there is a problem with the query?

    A. a runtime error occurs instead of a compilation failure.

    B. a compilation error occurs instead of a runtime failure.

    C. both compilation error and runtime failure occurs.

  • Question 65:

    About queries in DAO classes. Room verifies the return value of the query such that if the name of the field in the returned object doesn't match the corresponding column names in the query response, Room alerts you in one of the following two ways: (Choose two.)

    A. It gives a warning if no field names match.

    B. It gives a warning if only some field names match.

    C. It gives an error if no field names match.

    D. It gives an error if only some field names match.

  • Question 66:

    Select 3 major components of the Room. (Choose three.)

    A. @Entity

    B. @Query

    C. @RawQuery

    D. @DAO

    E. @WorkerThread

    F. @Database

  • Question 67:

    If you added to your build.gradlefile a room.schemaLocation:

    android {defaultConfig {javaCompileOptions {annotationProcessorOptions {arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]}}}}

    Then, you build your app or module.

    As a result you got a json file, with such path to it:

    app/schemas/your_app_package/db_package/DbClass/DB_VERSION.json

    What are the correct statements about this file? (Choose all that apply.)

    A. It's a file with Room-exported schema

    B. Main JSONObject in this file usually should contain a number "formatVersion" and a JSONObject "database"

    C. The JSONObject "database" in this file usually should contain such objects, like "entities", "views", "setupQueries", ets.

  • Question 68:

    By executing an allowMainThreadQueries() method to the room database builder RoomDatabase.Builder, we can:

    A. set the database factory

    B. handle database first time creation

    C. handle database opening

    D. disable the main thread query check for Room

  • Question 69:

    Room can export your database's schema information into a JSON file at compile time. What annotation processor property you should set in your app/build.gradle file to export the schema?

    A. room.expandProjection

    B. room.incremental

    C. room.schemaLocation

  • Question 70:

    By adding a RoomDatabase.Callback to the room database builder RoomDatabase.Builder (method addCallback(RoomDatabase.Callback callback)), we can: (Choose two.)

    A. set the database factory

    B. handle database first time creation

    C. handle database opening

    D. disable the main thread query check for Room

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Google exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your ASSOCIATE-ANDROID-DEVELOPER exam preparations and Google certification application, do not hesitate to visit our Vcedump.com to find your solutions here.