exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 267 discussion

Actual exam question from Cisco's 350-901
Question #: 267
Topic #: 1
[All 350-901 Questions]





Refer to the exhibits. An application is created to serve the needs of an enterprise. Slow performance now impacts certain API calls, and the application design lacks observability. Which two commands improve observability and provide an output that is similar to the sample output? (Choose two.)

  • A. with dnac-tracer3.start_span('dnac-api-calls') as span:
  • B. dnac-tracer3.start_span('dnac-api-calls') as span:
  • C. dnac-tracer3 = init_tracer('dnac-tracer3')
  • D. with tracer.start_span('dnac-api-calls') as span:
  • E. tracer = init_tracer('dnac-tracer3')
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

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
lznlxl
Highly Voted 2 years, 4 months ago
I think the answer should be DE. https://github.com/jaegertracing/jaeger-client-python
upvoted 13 times
pedromarase
2 years, 4 months ago
not an easy one, I agree
upvoted 1 times
...
...
williamluo
Most Recent 6 months, 2 weeks ago
Selected Answer: AC
agree with VincentVega
upvoted 1 times
...
Fedesarucho
1 year, 3 months ago
Selected Answer: DE
DE are right
upvoted 1 times
...
razvan999
1 year, 5 months ago
A, B, C are failing since there is no "-" in vars names
upvoted 2 times
...
doble_h
1 year, 6 months ago
Selected Answer: DE
chatgpt: Option D: with tracer.start_span('dnac-api-calls') as span: This line of code starts a new span for tracing API call operations. It uses Python’s with statement to ensure that the span is properly closed after the operations within the span are completed. Option E: tracer = init_tracer('dnac-tracer3') This line initializes a new tracer object with the name 'dnac-tracer3', which is used to track the API calls.
upvoted 1 times
...
VincentVega
1 year, 7 months ago
Selected Answer: AC
dnac-tracer3 = init_tracer('dnac-tracer3') with dnac-tracer3.start_span('dnac-api-calls') as span: and tracer = init_tracer('dnac-tracer3') with tracer.start_span('dnac-api-calls') as span: looks the same but at picture we can see SPAN name - dnac-tracer3 so correct A and C with dnac-tracer3.start_span('dnac-api-calls') as span: dnac-tracer3 = init_tracer('dnac-tracer3')
upvoted 4 times
doble_h
1 year, 4 months ago
This seems correct. I wonder if they really expect us to analyze all that code in 60s or less
upvoted 1 times
...
...
kati2k22cz
1 year, 8 months ago
Selected Answer: DE
link for question 294 https://www.examtopics.com/discussions/cisco/view/95786-exam-350-901-topic-1-question-294-discussion/
upvoted 1 times
...
[Removed]
2 years, 4 months ago
Selected Answer: DE
D & E is correct as seen in Question 294.
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 ...