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 03, 2024

Google Google Certifications ASSOCIATE-ANDROID-DEVELOPER Questions & Answers

  • Question 31:

    Building your app from the command line, if you have a "demo" product flavor, then you can build the debug version with the command:

    A. gradlew assembleDemoDebug

    B. gradlew installDemoDebug

    C. both variants are correct.

  • Question 32:

    To build a debug APK, you can open a command line and navigate to the root of your project directory. To initiate a debug build, invoke the assembleDebug task:

    gradlew assembleDebug

    This creates an APK named [module_name]-debug.apk in [project_name]/[module_name]/build/outputs/apk/

    Select correct statements about generated file. (Choose all that apply.)

    A. The file is already signed with the debug key

    B. The file is already aligned with zipalign

    C. You can immediately install this file on a device.

  • Question 33:

    If you want get a debuggable APK that people can install without adb, in Android Studio you can:

    A. Select your debug variant and click Build Bundle(s) / APK(s) > Build APK(s).

    B. Click the Run button from toolbar

    C. Select your debug variant and click Analyze APK.

  • Question 34:

    Which build options in the Build menu to choose to delete all intermediate/cached build files.

    A. Make Module

    B. Generate Signed Bundle / APK

    C. Rebuild Project

    D. Clean Project

    E. Make Project

  • Question 35:

    What public methods are there in android.widget.Toast.Callback? (Choose two.)

    A. onDismissed()

    B. onToastHidden()

    C. onShown()

    D. onToastShown()

    E. onToastCancelled()

  • Question 36:

    If constant LENGTH_INDEFINITE is used as a parameter for the setDuration method in Snackbar, what will happen?

    A. The Snackbar will be displayed for a short period of time.

    B. The Snackbar will be displayed for a long period of time.

    C. The Snackbar will be displayed for a very long period of time.

    D. The Snackbar will be displayed from the time that is shown until either it is dismissed, or another Snackbar is shown.

    E. The constant LENGTH_INDEFINITE is impossible parameter for the setDuration method in Snackbar

  • Question 37:

    Custom duration in milliseconds as a parameter for the setDuration method is available when you are working with:

    A. Toast

    B. Snackbar

    C. for none of them

    D. for both of them

  • Question 38:

    If you are working with a Builder that creates a PeriodicWorkRequest to run periodically once within the flex period of every interval period. What statement is correct?

    A. The repeat interval must be greater than PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS and the flex interval must be greater than PeriodicWorkRequest.MIN_PERIODIC_FLEX_MILLIS.

    B. The repeat interval must be lower than or equal to PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS and the flex interval must be lower than or equal to PeriodicWorkRequest.MIN_PERIODIC_FLEX_MILLIS.

    C. The repeat interval must be greater than or equal to PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS and the flex interval can be anything in relation to PeriodicWorkRequest.MIN_PERIODIC_FLEX_MILLIS.

    D. The repeat interval must be greater than or equal to PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS and the flex interval must be greater than or equal to PeriodicWorkRequest.MIN_PERIODIC_FLEX_MILLIS.

  • Question 39:

    When scheduling unique work, you must tell WorkManager what action to take when there is a conflict. You do this by passing an enum when enquing the work. For one-time work, you provide an ExistingWorkPolicy, which supports some options for handling the conflict. (Choose four.)

    A. REPLACE (existing work with the new work. This option cancels the existing work)

    B. KEEP (existing work and ignore the new work)

    C. APPEND (the new work to the end of the existing work. This policy will cause your new work to be chained to the existing work, running after the existing work finishes)

    D. APPEND_OR_REPLACE (functions similarly to APPEND, except that it is not dependent on prerequisite work status. If the existing work is CANCELLED or FAILED, the new work still runs)

    E. APPEND_OR_KEEP (functions similarly to APPEND, except that it is not dependent on prerequisite work status. If the existing work is CANCELLED or FAILED, the new work still not runs)

    F. APPEND_AND_RUN (functions similarly to APPEND, except that it is not dependent on prerequisite work status. If the existing work is PAUSED, the new work still runs)

    G. DESTROY (if any work exists, the new work will be ignored)

    H. APPEND_OR_DESTROY (if no any work exists, the new work will be ignored)

  • Question 40:

    What method should we use with Notification.Builder to supply a PendingIntent to be sent when the notification is clicked?

    A. setContentInfo

    B. setContentIntent

    C. setDeleteIntent

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.