Refer to the exhibit. The code includes the beginning of a short Python script that is constructed to notify the guard in case of an intruder alert. Which code snippet completes the script? A. B. C. D.
both /rooms are incorrect. POST to /rooms creates a room. PUT to /rooms updates its details.
Either of the other answers are correct IF the guard is a member of that room, which we're not told. The best real-world solution would be B so that not only one person is responsible for acting on the alarm, but the question asks to alert the guard specifically, so using the /messages POST to their email is the only actual correct answer.
A: PUT should be POST and /rooms should be /messages
B: roomId shouild be 'roomId': room,
C: /rooms should be /messages
D: request should be requests, api.ciscospark should be webexapis and data should be json but I guess this answer is closest to being correct.
I guess this should be D.
Send the message directly to the guard..
upvoted 3 times
...
This section is not available anymore. Please use the main Exam Page.300-835 Exam Questions
Log in to ExamTopics
Sign in:
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.
theflatirons
10 months agoNicetomeetyou
3 years, 3 months agoBabas09
3 years, 7 months agomoslig
3 years, 10 months ago