exam questions

Exam SC-100 All Questions

View all questions & answers for the SC-100 exam

Exam SC-100 topic 3 question 16 discussion

Actual exam question from Microsoft's SC-100
Question #: 16
Topic #: 3
[All SC-100 Questions]

You are planning the security requirements for Azure Cosmos DB Core (SQL) API accounts.
You need to recommend a solution to audit all users that access the data in the Azure Cosmos DB accounts.
Which two configurations should you include in the recommendation? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Send the Azure Active Directory (Azure AD) sign-in logs to a Log Analytics workspace.
  • B. Enable Microsoft Defender for Identity.
  • C. Send the Azure Cosmos DB logs to a Log Analytics workspace.
  • D. Disable local authentication for Azure Cosmos DB.
  • E. Enable Microsoft Defender for Cosmos DB.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
BillyB2022
Highly Voted 2 years, 8 months ago
Selected Answer: AC
https://docs.microsoft.com/en-us/azure/cosmos-db/audit-control-plane-logs
upvoted 26 times
...
zts
Highly Voted 2 years, 8 months ago
Selected Answer: AD
Enforcing all authentication thru AAD and using RBAC will make auditing more simpler and secure rather than having two sources of authentication the database. So I would go for a and D.
upvoted 22 times
ca777
1 year, 9 months ago
It's wrong. To audit all users that access the data in Azure Cosmos DB Core (SQL) API accounts, you should include the following two configurations : 1. Enable Azure Monitor Logs for Cosmos DB: allows you to collect and analyze data generated by Azure resources, including Azure Cosmos DB. By enabling Azure Monitor Logs for your Cosmos DB account, you can capture detailed logs related to user access and operations performed on the data. 2. Enable Audit Logs for Cosmos DB: Cosmos DB provides built-in auditing functionality that allows you to record events related to the database account. Enabling the Cosmos DB audit logs will capture events such as login attempts, database CRUD operations, and any changes made to the configuration of the database account. So the answer is : AC
upvoted 2 times
ariania
10 months ago
imo no. a local db account is not traceable to a person, they can be generic "db_user". So disabling local sign in is a must.
upvoted 1 times
...
...
mikenyga
2 years, 8 months ago
You need to recommend a solution to audit all users that (ACCESS THE DATA) in the Azure Cosmos DB accounts. How you can audit access the data with sign in log???
upvoted 3 times
...
...
SMHcalicut
Most Recent 2 months ago
Selected Answer: CE
this answer is wrong, i think CE is the correct AAD wont give you details on the COSMOS data access
upvoted 2 times
...
whh13
5 months, 1 week ago
Selected Answer: CE
C. Send the Azure Cosmos DB logs to a Log Analytics workspace: By sending Azure Cosmos DB logs to a Log Analytics workspace, you can centrally collect and analyze the logs related to user access and interactions with the Cosmos DB accounts. This allows for the auditing and monitoring of all actions performed on the Cosmos DB data, which is essential for meeting the auditing requirement. You can then use Azure Monitor and Log Analytics to query, analyze, and create alerts based on specific events in the Cosmos DB logs. E. Enable Microsoft Defender for Cosmos DB: Enabling Microsoft Defender for Cosmos DB provides advanced threat protection, including auditing and identifying suspicious activities. Defender for Cosmos DB offers security alerts and recommendations, helping to detect potential security issues related to data access, thus enhancing auditing capabilities and overall security posture.
upvoted 4 times
...
bxlin
12 months ago
Selected Answer: AC
A - authentication log C - data access log
upvoted 4 times
...
KRISTINMERIEANN
1 year, 1 month ago
Selected Answer: AD
https://learn.microsoft.com/en-us/azure/cosmos-db/secure-access-to-data?tabs=using-primary-key https://learn.microsoft.com/en-us/azure/cosmos-db/security-controls-policy
upvoted 1 times
...
Murtuza
1 year, 4 months ago
Selected Answer: AD
A, D is correct
upvoted 2 times
...
juanpe147
1 year, 5 months ago
i go with A&D
upvoted 2 times
...
cyber_sa
1 year, 7 months ago
Selected Answer: AD
got this in exam 6oct23. passed with 896 marks. I answered AD
upvoted 4 times
...
sbnpj
1 year, 9 months ago
Selected Answer: AD
A&D for sure.
upvoted 2 times
...
Ario
1 year, 10 months ago
Selected Answer: AC
Definitely AC
upvoted 2 times
...
zellck
2 years ago
Selected Answer: AC
AC is the answer. https://learn.microsoft.com/en-us/azure/cosmos-db/monitor-resource-logs?tabs=azure-portal Diagnostic settings in Azure are used to collect resource logs. Resources emit Azure resource Logs and provide rich, frequent data about the operation of that resource. These logs are captured per request and they're also referred to as "data plane logs". Some examples of the data plane operations include delete, insert, and readFeed. The content of these logs varies by resource type.
upvoted 3 times
zellck
2 years ago
https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac#audit-data-requests Diagnostic logs get augmented with identity and authorization information for each data operation when using Azure Cosmos DB role-based access control. This augmentation lets you perform detailed auditing and retrieve the Azure AD identity used for every data request sent to your Azure Cosmos DB account.
upvoted 2 times
...
...
Cock
2 years ago
Selected Answer: AC
People with AD overthink
upvoted 4 times
...
KallMeDan
2 years ago
From what I can research on, as long as I have implemented the option A, I do not need to disable the local authentication on cosmos DB. The local authentication logins are also being forwarded to the log analytic workspace. if the local authentication credentials were shared, then that seems to create another issue, but that is not stated here to be the case. So option D seems unnecessary as the requirement is not to force Azure AD authentication either. Option C can be a more suitable answer here.
upvoted 4 times
...
smudo1965
2 years, 2 months ago
Selected Answer: AC
https://learn.microsoft.com/en-us/azure/cosmos-db/monitor-resource-logs?tabs=azure-portal - Question is about aditing
upvoted 3 times
...
Fal991l
2 years, 2 months ago
Selected Answer: AC
ChatGTP: To audit all users accessing data in Azure Cosmos DB Core (SQL) API accounts, the following two configurations should be included in the recommendation: A. Send the Azure Active Directory (Azure AD) sign-in logs to a Log Analytics workspace: This will enable logging of all sign-in activities, including successful and failed attempts, by all users accessing the Cosmos DB account. This will provide insight into who is accessing the data and when. C. Send the Azure Cosmos DB logs to a Log Analytics workspace: This will enable logging of all activities within the Cosmos DB account, including queries, modifications, and deletions. This will provide insight into what data is being accessed and how it is being used.
upvoted 6 times
Fal991l
2 years, 2 months ago
Options B, D, and E are not relevant to auditing user access to Cosmos DB data. Option B refers to Microsoft Defender for Identity, which is a security solution for on-premises Active Directory environments. Option D refers to disabling local authentication, which is not a necessary step for auditing user access. Option E refers to Microsoft Defender for Cosmos DB, which is a security solution for protecting Cosmos DB from cyber-attacks and data breaches but does not provide auditing functionality.
upvoted 2 times
...
...
God2029
2 years, 3 months ago
Purpose is Audit - So sending logs to Log analytics is the action. Question does not say to restrict access to only AD users, it just say audit. So why do you need to disable to local authentication? you just need the logs to see who accessed and what acctions perfomed in the DB, So I would choose A and C
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 ...