HOTSPOT - You need to design the authentication and authorization methods for sensors. What should you recommend? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
Suggested Answer:
Sensor data must be stored in a Cosmos DB named treydata in a collection named SensorData Sensors must have permission only to add items to the SensorData collection
Box 1: Resource Token - Resource tokens provide access to the application resources within a Cosmos DB database. Enable clients to read, write, and delete resources in the Cosmos DB account according to the permissions they've been granted.
Box 2: Cosmos DB user - You can use a resource token (by creating Cosmos DB users and permissions) when you want to provide access to resources in your Cosmos DB account to a client that cannot be trusted with the master key. Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/secure-access-to-data
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-dev-guide-sas?tabs=node#create-a-token-service-to-integrate-existing-devices
You can use the IoT Hub identity registry to configure per-device/module security credentials and access control using tokens.
would sensors talk directly to cosmos db? I think Sensors should communicate to an IOT hub or event hub and then out put should be directed to cosmos db via analytic job.
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.DP-201 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.
extraego
Highly Voted 4 years, 10 months agosyu31svc
Highly Voted 4 years, 6 months agoMMM777
Most Recent 3 years, 12 months agosavin
4 years ago