0
0
Firebasecloud~20 mins

Crashlytics setup in Firebase - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Crashlytics Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
Crashlytics Initialization Behavior

After integrating Firebase Crashlytics into your app, what happens if the app crashes before Crashlytics finishes initializing?

AThe crash is recorded locally and sent to Firebase Crashlytics once initialization completes.
BThe crash is not recorded or reported to Firebase Crashlytics.
CThe app automatically restarts to complete Crashlytics initialization before reporting the crash.
DCrashlytics sends a partial crash report immediately, which is later completed.
Attempts:
2 left
💡 Hint

Think about what happens if the crash happens too early in the app lifecycle.

Configuration
intermediate
2:00remaining
Correct Firebase Crashlytics Gradle Setup

Which of the following Gradle configurations correctly sets up Firebase Crashlytics in an Android app?

AApply plugin 'com.google.gms.google-services' only and add 'com.google.firebase:firebase-crashlytics' dependency in app-level build.gradle.
BAdd 'com.google.firebase:firebase-crashlytics' dependency only in project-level build.gradle without applying any plugin.
CApply plugin 'com.google.firebase.crashlytics' in app-level build.gradle and add 'com.google.firebase:firebase-crashlytics' dependency.
DAdd 'com.google.firebase:firebase-crashlytics' dependency in app-level build.gradle and apply plugin 'com.android.application' only.
Attempts:
2 left
💡 Hint

Remember that Crashlytics requires both a plugin and a dependency in the app module.

security
advanced
2:00remaining
Crashlytics Data Privacy Compliance

Which practice ensures compliance with user privacy when using Firebase Crashlytics in your app?

AAvoid sending any user-identifiable information in crash reports and provide users with an option to opt out of crash reporting.
BAutomatically collect user location data in crash reports without user consent.
CDisable Crashlytics data encryption to speed up crash report delivery.
DSend all user data including personal identifiers in crash reports to help debugging.
Attempts:
2 left
💡 Hint

Think about respecting user privacy and legal regulations.

Architecture
advanced
2:00remaining
Crashlytics Crash Report Flow

What is the correct sequence of steps for a crash report to be sent from a mobile app to the Firebase console using Crashlytics?

A2,1,3,4
B1,2,3,4
C2,3,1,4
D1,3,2,4
Attempts:
2 left
💡 Hint

Consider when Crashlytics can capture crashes and when it sends data.

Best Practice
expert
2:00remaining
Optimizing Crashlytics for Minimal Impact

Which approach best minimizes the impact of Firebase Crashlytics on app startup time and user experience?

ASend crash reports immediately on app crash without waiting for next app launch.
BInitialize Crashlytics synchronously at the very start of app launch to capture all crashes immediately.
CDisable Crashlytics initialization entirely on slow devices to improve startup time.
DInitialize Crashlytics asynchronously after critical app components have loaded and disable automatic data collection until user consent is given.
Attempts:
2 left
💡 Hint

Think about balancing crash data collection with app performance and user privacy.