You build an iOS app. You receive crash reports from Crashlytics. You need to capture the following data: ✑ Crash-free users ✑ Custom events ✑ Breadcrumbs What should you do?
A.
Configure the xcworkspace file in the project
B.
Add the GoogleAnalytics pod to the app.
C.
Configure the Crashlytics pod in the app.
D.
Import the Firebase module to UIApplicationDelegate.
If you're not seeing crash-free users, breadcrumb logs, and/or velocity alerts, we recommend checking your app's configuration for Google Analytics. [...] In addition to the Firebase Crashlytics SDK, make sure that you've added the Firebase SDK for Google Analytics to your app (iOS+ | Android).
(https://firebase.google.com/docs/crashlytics/troubleshooting?platform=ios#missing-analytics-related-features)
To configure the Firebase Crashlytics SDK:
[...]Next, configure the Firebase module [...] Import the Firebase module in your App struct or UIApplicationDelegate
(https://firebase.google.com/docs/crashlytics/get-started?platform=ios#add-sdk)
Given answer D is correct.
Crashlytics is part of Firebase and provides crash reporting, crash-free users data, and breadcrumbs for debugging. To capture all three required metrics (Crash-free users, Custom events, and Breadcrumbs), you need to integrate Firebase into your iOS app.
To capture crash-free users, custom events, and breadcrumbs in your iOS app using Crashlytics, you should:
C. Configure the Crashlytics pod in the app.
This option ensures that you properly set up Crashlytics, which is part of Firebase, to track crashes, user engagement, and custom events. You may also need to import the Firebase module in your UIApplicationDelegate, but the key action is configuring Crashlytics.
D is the correct answer.
The question specifically asks about capturing:
Crash-free users
Custom events
Breadcrumbs
From Firebase's official documentation:
These features require proper Firebase initialization
They specifically need Google Analytics integration within Firebase
For iOS apps, this is achieved by importing and initializing the Firebase module in UIApplicationDelegate
Why other answers are incorrect:
A (xcworkspace): Just a workspace configuration file
B (GoogleAnalytics pod): References outdated approach; Firebase Analytics is now used
C (Crashlytics pod): While Crashlytics is needed, pod configuration alone isn't sufficient
Important context:
The question states "you receive crash reports" indicating Crashlytics is already working
The focus is on capturing additional analytics data.
While integrating Firebase is part of setting up Crashlytics, this action alone does not configure Crashlytics for capturing crash data, custom events, or breadcrumbs. You need to specifically configure the Crashlytics pod
To capture the required data (crash-free users, custom events, breadcrumbs) in your iOS app using Crashlytics, you need to configure the Crashlytics pod in your app.
C. Configure the Crashlytics pod in the app.
Crashlytics is a crash reporting tool provided by Firebase, which captures crash reports and additional data such as crash-free users, custom events, and breadcrumbs. By configuring the Crashlytics pod in your iOS app, you can integrate Crashlytics into your project, allowing it to capture crash reports and the specified data points. This integration typically involves adding the Crashlytics pod to your project's Podfile, installing the pod dependencies, and configuring Crashlytics initialization in your AppDelegate file
I choose B
This is because Google Analytics is a tool that helps you measure user behavior and satisfaction in your app, and it integrates with Firebase Crashlytics to provide features like crash-free users, custom events, and breadcrumbs1. You need to install CocoaPods dependency Manager
the ans is C
By configuring the Crashlytics pod and integrating it with Firebase in your iOS app, you'll be able to capture crash-free users, custom events, and breadcrumbs effectively.
Option B (Add the GoogleAnalytics pod) and Option D (Import the Firebase module to UIApplicationDelegate) are not directly related to capturing crash data and custom events using Crashlytics, so they are not the correct choices for achieving the stated requirements
D. https://firebase.google.com/docs/crashlytics/get-started?platform=ios
Before you begin
If you haven't already, add Firebase to your Apple project. If you don't have an Apple app, you can download a sample app.
Recommended: To get features like crash-free users, breadcrumb logs, and velocity alerts, you need to enable Google Analytics in your Firebase project.
All Apple platforms supported by Crashlytics (except watchOS) can take advantage of these features from Google Analytics. Note that you need SDK v8.9.0+ for macOS and tvOS apps.
If your existing Firebase project doesn't have Google Analytics enabled, you can enable Google Analytics from the Integrations tab of your settings > Project settings in the Firebase console.
If you're creating a new Firebase project, enable Google Analytics during the project creation workflow.
The correct answer is C. Configure the Crashlytics pod in the app.
From ChatGPT:
To capture the required data (Crash-free users, Custom events, Breadcrumbs), you need to integrate Crashlytics into your iOS app. You can do this by configuring the Crashlytics pod in the app. The Crashlytics SDK is part of the Firebase SDK, so you will also need to add the Firebase pod to your project.
A is incorrect because the xcworkspace file is a workspace configuration file and not related to Crashlytics integration.
B is incorrect because Google Analytics is a different SDK used for tracking user behavior and analytics, and not related to Crashlytics integration.
D is also incorrect because while importing the Firebase module is required for integrating Firebase in your app, it alone is not sufficient to enable Crashlytics. You still need to configure the Crashlytics pod in the app.
This section is not available anymore. Please use the main Exam Page.AZ-400 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
1sadad
Highly Voted 1 year agopdk88
Highly Voted 2 years, 7 months agoDKM
Most Recent 1 month, 3 weeks agoMousavi
2 months, 3 weeks agoAkay111
3 months, 2 weeks agoFreyr
3 months, 1 week agoMorca
4 months, 1 week agoDankho
4 months, 3 weeks agoTyrellKP13
5 months, 3 weeks agosondrex
10 months agoPavlo
1 year agoozbonny
1 year, 2 months agoghabool
1 year, 7 months agoSukon_Desknot
1 year, 8 months agoieboaix
1 year, 8 months agoyana_b
1 year, 8 months agozellck
1 year, 10 months agothowell
2 years ago