exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 11 question 1 discussion

Actual exam question from Microsoft's AZ-400
Question #: 1
Topic #: 11
[All AZ-400 Questions]

HOTSPOT -
How should you complete the code to initialize App Center in the mobile application? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Scenario: Visual Studio App Center must be used to centralize the reporting of mobile application crashes and device types in use.
In order to use App Center, you need to opt in to the service(s) that you want to use, meaning by default no services are started and you will have to explicitly call each of them when starting the SDK.
Insert the following line to start the SDK in your app's AppDelegate class in the didFinishLaunchingWithOptions method.
MSAppCenter.start("{Your App Secret}", withServices: [MSAnalytics.self, MSCrashes.self])
Reference:
https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/ios

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CristianN
Highly Voted 4 years, 2 months ago
https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/ios#42-add-the-startwithservices-method The answer is correct.
upvoted 20 times
...
Dalias
Highly Voted 3 years, 4 months ago
Got this in 30 June 2021 exam. Scored 800+ the provided answer is correct
upvoted 14 times
...
vsvaid
Most Recent 10 months, 1 week ago
MSAnalytics.self MSCrashes.self
upvoted 1 times
...
zellck
1 year, 4 months ago
1. MSAnalytics.self 2. MSCrashes.self https://learn.microsoft.com/en-us/appcenter/sdk/#app-center-analytics App Center Analytics helps you understand user behavior and customer engagement to improve your app. The SDK automatically captures session count, device properties like model, OS version, etc. You can define your own custom events to measure things that matter to your business. All the information captured is available in the App Center portal for you to analyze the data. https://learn.microsoft.com/en-us/appcenter/sdk/#app-center-crashes App Center Crashes will automatically generate a crash log every time your app crashes. The log is first written to the device's storage and when the user starts the app again, the crash log will be sent to App Center. Collecting crashes works for both beta and live apps, i.e. those submitted to the App Store or Google Play. Crash logs contain valuable information for you to help fix the crash.
upvoted 2 times
...
syu31svc
2 years, 2 months ago
Provided link supports answer given
upvoted 2 times
...
Eltooth
2 years, 5 months ago
Analytics Crashes
upvoted 1 times
...
Eltooth
2 years, 5 months ago
Correct [MSAnalytics.self, MSCrashes.self]
upvoted 1 times
...
Cheehp
2 years, 6 months ago
Selected during exam. [MSAnalytics.self, [MSCrashes.self]
upvoted 1 times
...
rdemontis
2 years, 6 months ago
correct answer
upvoted 2 times
...
rdemontis
2 years, 7 months ago
correct answer
upvoted 2 times
...
Optimist_Indian
2 years, 8 months ago
Got this case study in Feb-2022 exam.
upvoted 5 times
...
Sara_Mo
2 years, 9 months ago
The given answer is correct.
upvoted 1 times
...
ZodiaC
3 years, 3 months ago
SAME QUESTION 2 times
upvoted 1 times
...
Sylph
3 years, 6 months ago
Correct [MSAnalytics.self, MSCrashes.self] Case requirement: Visual Studio App Center must be used to centralize the reporting of mobile application crashes and device types in use. App Center Analytics helps you understand user behavior and customer engagement to improve your app. The SDK automatically captures session count, device properties like model, OS version, etc. https://docs.microsoft.com/en-us/appcenter/sdk/#app-center-analytics App Center Crashes will automatically generate a crash log every time your app crashes. https://docs.microsoft.com/en-us/appcenter/sdk/#app-center-crashes
upvoted 5 times
...
vglearn
3 years, 8 months ago
Answer is Correct
upvoted 1 times
...
27close
3 years, 12 months ago
MSAppCenter.start("{Your App Secret}", withServices: [MSAnalytics.self, MSCrashes.self]) answer is correct
upvoted 2 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago