Android CI/CD Interview Questions
Pipelines, builds, and release automation.
50 questions in this topic · 8 sample questions below
Practice CI/CD in the quiz engine
Sample questions
Under Google Play App Signing, what is the practical difference between your upload key and the app signing key?
Why: With Play App Signing you sign your bundle with the upload key; Google re-signs the delivered APKs with the app signing key it stores. Treating them as the same key is the classic misconception and misses that a lost upload key can be reset while the app signing key never changes.
Why is passing --no-daemon recommended for Gradle builds on ephemeral CI runners?
Why: On ephemeral runners the JVM is discarded after the job, so a persistent daemon gives no reuse benefit and only risks stale state and extra memory. The belief that keeping the daemon on speeds up CI is wrong precisely because the runner does not persist between builds.
In a GitHub Actions workflow, what does setting concurrency with cancel-in-progress true keyed on the branch achieve?
Why: A concurrency group with cancel-in-progress aborts superseded runs of the same group (e.g. per-branch), saving minutes on rapid pushes. It does not parallelize pushes; that is the opposite of what concurrency control does.
Why can the Gradle configuration cache break a CI build that the plain build cache handles fine?
Why: The configuration cache captures the configured task graph and fails when a build reads env vars, system properties, or files at configuration time without declaring them as providers. The build cache only caches task outputs and has no such configuration-time constraints, so it can pass where the configuration cache fails.
An Android App Bundle (AAB) differs from an APK in distribution because:
Why: An AAB is an upload/publishing format; Play's bundletool splits it into device-specific APKs at delivery time, so you cannot install an .aab directly. Believing it sideloads like an APK is a common misconception; you would need bundletool to build installable APKs from it.
What is the main advantage of Gradle Managed Devices over manually starting an emulator in a CI script?
Why: Gradle Managed Devices let you declare an emulator spec in the build config and Gradle handles provisioning and teardown, giving reproducible instrumented test runs. They are still emulators, not physical cloud devices, and they run instrumented tests, not just unit tests.
Why is OIDC-based authentication to a cloud provider generally preferred over storing a long-lived cloud access key as a GitHub Actions secret?
Why: OIDC issues a signed identity token per run that the cloud trust policy exchanges for short-lived credentials, eliminating the standing secret that could leak. A stored static key remains a long-lived liability even if referenced as a secret, which is exactly what OIDC removes.
A staged (percentage) rollout on the Play production track means:
Why: Staged rollout releases to a chosen percentage of the production audience so you can watch crash and ANR rates before widening. Assuming staged means everyone gets it immediately defeats the purpose of controlled, monitored exposure.
Practice all 50 CI/CD questions
These 8 are a sample. The full CI/CD bank is scored, tracks your progress, and explains every answer.
More Android interview topics
- Android Hilt interview questions
- Android Coroutines & Flow interview questions
- Android Room interview questions
- Android Design Patterns interview questions
- Android Mobile System Design interview questions
- Android Coding Interview Patterns interview questions
- Android NDK interview questions
- Android Sensors interview questions
- Android Security interview questions
- Android Jetpack Compose interview questions
- Android Canvas & Animation interview questions
- Android Git interview questions
- Android Unit Testing interview questions
- Android Kotlin interview questions
- Android Retrofit interview questions
- Android Architecture interview questions
- Android Android Framework interview questions
- Android Kotlin Multiplatform interview questions
- Android WorkManager & Background interview questions
- Android Performance & Memory interview questions