Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco 300-635 Exam - Topic 3 Question 12 Discussion

A server profile with the ''WEST15'' in its name must have the string ''WEST15'' changed to ''LXT14''. For example, server profile ''Vmhost-west 15-01'' would need to be changed to ''VMHOST-LXT 14-01''. Using the Cisco Intersight REST API in a Python script, which two GET API requests are used to retrieve just the server profile with the string ''WEST 15'' in the name and the correct body for the API request to update the name? Assume the variable ''sp_name'' contains the name of the retrieved server profile. (Choose two.)
B) GET https://intersight.com/api/v1/server/Profiles?$select=Name&filter=Name in ('WEST15') and E) BODY = {'' Name'': sp_name.replace('WEST15','LXT14')}
A) GET https://intersight.com/api/v1/server/Profiles?$select=Namefilter=contains (Name,'WEST15')
C) BODY = {''Name'': sp_name.format('WEST15,'LXT14')}
D) GET https://intersight.com/api/v1/server/Profiles?$select=Name&$filter=startswith(Name, 'WEST15')

Cisco 300-635 Exam - Topic 3 Question 12 Discussion

Actual exam question for Cisco's 300-635 exam
Question #: 12
Topic #: 3
[All 300-635 Questions]

A server profile with the ''WEST15'' in its name must have the string ''WEST15'' changed to ''LXT14''. For example, server profile ''Vmhost-west 15-01'' would need to be changed to ''VMHOST-LXT 14-01''. Using the Cisco Intersight REST API in a Python script, which two GET API requests are used to retrieve just the server profile with the string ''WEST 15'' in the name and the correct body for the API request to update the name? Assume the variable ''sp_name'' contains the name of the retrieved server profile. (Choose two.)

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Georgeanna
10 months ago
Both A and E look good for this task!
upvoted 0 times
...
Craig
10 months ago
Not sure about B, seems off to me.
upvoted 0 times
...
Arlyne
11 months ago
Surprised that E uses replace instead of format!
upvoted 0 times
...
Brittni
11 months ago
I think D is better for filtering.
upvoted 0 times
...
Pearly
11 months ago
A is definitely the right GET request!
upvoted 0 times
...
Gaynell
11 months ago
I'm pretty confident on this one. The question is asking about the maximum number of API calls per user per hour, so I'm going to go with option B - 10,000.
upvoted 0 times
...
Filiberto
11 months ago
I've got this! The Layer 2 source address is the MAC address of the sending device, which is 90:20:C2:BC:2D:FD. The Layer 3 source address is the IP address of the sending device, which is 10.2.1.10. Easy peasy!
upvoted 0 times
...
Adelaide
11 months ago
Ugh, I'm really struggling with this one. All the options sound like they could be part of a new performance system. I'm going to have to guess on this one.
upvoted 0 times
...
Laurel
11 months ago
I practiced a similar question before, and I believe it leaned towards options that emphasize collaboration and resource management. Maybe I should pick (1), (3), and (4)?
upvoted 0 times
...

Save Cancel