Exam AZ-400 All QuestionsBrowse all questions from this exam
Question 61

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?

    Correct Answer: C

    To capture crash-free users, custom events, and breadcrumbs in an iOS app, you should configure the Crashlytics pod in the app. Crashlytics is a crash reporting tool that provides extensive crash reporting capabilities as well as tracking of crash-free users and capturing of custom events and breadcrumbs. This is done by integrating the Crashlytics SDK into your app, which involves adding the Crashlytics pod to your project's Podfile and configuring it accordingly.

Discussion
pdk88Option: D

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.

1sadad

Why is this question on AZ400?

zellckOption: D

D is the answer. https://firebase.google.com/docs/crashlytics/get-started?platform=ios

jimmyymlOption: C

From chatgpt, Option C is the correct answer because Crashlytics is a crash reporting tool that also provides features such as tracking the number of crash-free users, capturing custom events, and collecting breadcrumbs. By configuring the Crashlytics pod in the app, these features can be easily implemented and used. Option B (adding the GoogleAnalytics pod) is incorrect because it does not provide the specific features mentioned in the question. Option A (configuring the xcworkspace file) is not relevant to the question as it is a file that is automatically generated by Xcode and does not relate to the specific features required. Option D (importing the Firebase module) is also incorrect as it is not directly related to Crashlytics and does not provide the specific features mentioned in the question.

Fal991l

C is confirmed by Bing too.

Emil_TopicsOption: D

https://firebase.google.com/docs/crashlytics/troubleshooting?platform=ios#apple-platform Make sure to include v8.9.0+ of the Firebase SDK for Google Analytics so that crashes will have access to metrics collected by Google Analytics (crash-free users, latest release, velocity alerts, and breadcrumb logs).

Sukon_DesknotOption: C

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

budha

It was on my exam on December 7, 2022.

eliisiita1

did you have labs? was it at home?

mike_x_Option: D

There is not Kubernetes and pods here, so D is the answer.

Def21Option: D

"you need to enable Google Analytics in your Firebase project", but it is not related to pods

giuliohomeOption: D

using CocoaPods (B mentions a pod) is no longer the recommended installation method. D is well supported by the official documentation link that is provided

PavloOption: C

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

thowellOption: C

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.

sondrexOption: C

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.

ozbonnyOption: D

maybe D

ghaboolOption: B

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

ieboaixOption: D

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.

yana_bOption: D

Following the link provided by pdk88 I would rather go for answer D.