Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco Exam 300-735 Topic 2 Question 30 Discussion

Actual exam question for Cisco's 300-735 exam
Question #: 30
Topic #: 2
[All 300-735 Questions]

Refer to the exhibit.

A Python function named "query" has been developed and the goal is to use it to query the service "com.cisco.ise.session" via Cisco pxGrid 2.0 APIs.

How is the function called, if the goal is to identify the sessions that are associated with the IP address 10.0.0.50?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Jeffrey
1 months ago
Option A all the way! Who needs JSON when you can just shove the IP address right into the function call?
upvoted 0 times
...
Oren
1 months ago
I'm going with Option D. Putting the IP address in a JSON payload just seems more natural for this use case.
upvoted 0 times
Kallie
7 days ago
I think Option D is the best choice too. It makes sense to pass the IP address in a JSON payload.
upvoted 0 times
...
...
Felton
1 months ago
Option B seems a bit off. Why would the IP address be in the 'url' parameter? Doesn't make much sense to me.
upvoted 0 times
...
Elise
2 months ago
Option C seems logical since the IP address is part of the URL. But I'm not sure if that's the right approach.
upvoted 0 times
Daniel
6 days ago
C) query(config, secret, url, \'10.0.0.50\')
upvoted 0 times
...
Brittni
18 days ago
B) query(config, \'10.0.0.50\', url, payload)
upvoted 0 times
...
Nenita
19 days ago
C) query(config, secret, url, \'10.0.0.50\')
upvoted 0 times
...
Elise
26 days ago
B) query(config, \'10.0.0.50\', url, payload)
upvoted 0 times
...
Barrett
1 months ago
A) query(config, secret, \'getSessionByIpAddress/10.0.0.50\', \'ipAddress\')
upvoted 0 times
...
Dana
1 months ago
A) query(config, secret, \'getSessionByIpAddress/10.0.0.50\', \'ipAddress\')
upvoted 0 times
...
...
Stevie
2 months ago
I think Option A is the way to go. The IP address should be passed as a separate parameter.
upvoted 0 times
Chantell
7 days ago
Option A makes it clear what each parameter is for.
upvoted 0 times
...
Jarvis
15 days ago
Yes, passing the IP address as a separate parameter seems more organized.
upvoted 0 times
...
Deane
16 days ago
I agree, Option A looks like the correct way to call the function.
upvoted 0 times
...
Alethea
20 days ago
User4: Let's go with Option A for calling the function.
upvoted 0 times
...
Michell
24 days ago
User3: Option A it is then.
upvoted 0 times
...
Lashaun
1 months ago
User2: Yeah, passing the IP address as a separate parameter makes sense.
upvoted 0 times
...
Xochitl
2 months ago
User1: I agree, Option A seems like the correct choice.
upvoted 0 times
...
...
Arlyne
2 months ago
Option D looks correct. The function should be called with the IP address as a JSON parameter.
upvoted 0 times
...
Keneth
2 months ago
I'm not sure, but I think option D could also work because it includes the IP address in the payload.
upvoted 0 times
...
Frederica
2 months ago
I agree with Raylene, option A makes sense because it specifies the correct parameters for querying by IP address.
upvoted 0 times
...
Raylene
3 months ago
I think the correct answer is A) query(config, secret, 'getSessionByIpAddress/10.0.0.50', 'ipAddress')
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77