ASSOCIATE-ANDROID-DEVELOPER Exam Details

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

Google ASSOCIATE-ANDROID-DEVELOPER Online Questions & Answers

  • Question 71:

    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

  • Question 72:

    An example. In our ViewModelFactory(that implements ViewModelProvider.Factory) we have an instance of our Repository, named mRepository. Our ViewModel has such constructor:

    public MyViewModel(MyRepository myRepository)...

    Next, in our ViewModelFactory create ViewModel method (overriden) looks like this:

    @NonNull @Override public T create(@NonNull Class modelClass) {

    try { //MISSED RETURN VALUE HERE } catch (InstantiationException | IllegalAccessException | NoSuchMethodException | InvocationTargetException e) { throw new RuntimeException("Cannot create an instance of " + modelClass, e); } }

    What should we write instead of “//MISSED RETURN VALUE HERE”?

    A. return modelClass.getConstructor().newInstance(mRepository);
    B. return modelClass.getConstructor(MyRepository.class).newInstance();
    C. return modelClass.getConstructor(MyRepository.class).newInstance(mRepository);

  • Question 73:

    Which statement is most true about layout_constraintLeft_toRightOf and layout_constraintStart_toEndOf constraints ?

    A. layout_constraintLeft_toRightOf is equal to layout_constraintStart_toEndOf in any case
    B. layout_constraintLeft_toRightOf is equal to layout_constraintStart_toEndOf in case if user choose a language that uses right-to-left (RTL) scripts, such as Arabic or Hebrew, for their UI locale
    C. layout_constraintLeft_toRightOf is equal to layout_constraintStart_toEndOf in case if user choose a language that uses left-to-right (LTR) scripts, such as English or French, for their UI locale
    D. layout_constraintLeft_toRightOf works with horizontal axes and layout_constraintStart_toEndOf works with vertical axes

  • Question 74:

    Working with Custom View. Once you define the custom attributes, you can use them in layout XML files just like built-in attributes. The only difference is that your custom attributes belong to a different namespace. Instead of belonging to the http://schemas.android.com/apk/res/android namespace, they belong to:

    A. http://schemas.android.com/apk/res/[your package name]
    B. http://schemas.android.com/apk/[your package name]
    C. http://schemas.android.com/[your package name]

  • Question 75:

    Select correct demonstration of WorkRequest cancellation.

    A. workManager.enqueue(OneTimeWorkRequest.Builder(FooWorker::class.java).build ())
    B. val request: WorkRequest = OneTimeWorkRequest.Builder (FooWorker::class.java).build() workManager.enqueue(request) val status = workManager.getWorkInfoByIdLiveData(request.id) status.observe(...)
    C. val request: WorkRequest = OneTimeWorkRequest.Builder (FooWorker::class.java).build() workManager.enqueue(request) workManager.cancelWorkById(request.id)
    D. val request1: WorkRequest = OneTimeWorkRequest.Builder (FooWorker::class.java).build() val request2: WorkRequest = OneTimeWorkRequest.Builder (BarWorker::class.java).build() val request3: WorkRequest = OneTimeWorkRequest.Builder (BazWorker::class.java).build() workManager.beginWith(request1, request2).then(request3).enqueue()
    E. val request: WorkRequest = OneTimeWorkRequest.Builder (FooWorker::class.java).build() workManager.enqueue(request) workManager.cancelWork(request)

  • Question 76:

    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 77:

    In a class PreferenceFragmentCompat. As a convenience, this fragment implements a click listener for any preference in the current hierarchy. So, in what overridden method we can handle that a preference in the tree rooted at this PreferenceScreen has been clicked?

    A. onCreateLayoutManager
    B. onCreatePreferences
    C. onCreateRecyclerView
    D. onPreferenceTreeClick

  • Question 78:

    In Android 8.0, API level 26, some APIs regarding notification behaviors were moved from Notification to NotificationChannel. For example, what should we use instead of NotificationCompat.Builder.setPriority() for Android 8.0 and higher?

    A. NotificationChannel.setPriority()
    B. NotificationChannel.setImportance()
    C. NotificationCompat.Builder.setImportance()

  • Question 79:

    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 80:

    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.

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.