exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 3 question 7 discussion

Actual exam question from Microsoft's DP-300
Question #: 7
Topic #: 3
[All DP-300 Questions]

You have SQL Server on an Azure virtual machine that contains a database named DB1. DB1 contains a table named CustomerPII.
You need to record whenever users query the CustomerPII table.
Which two options should you enable? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. server audit specification
  • B. SQL Server audit
  • C. database audit specification
  • D. a server principal
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
M0ran
Highly Voted 4 years, 2 months ago
B, C. On SQL Server you need SQL Server audit and database audit specification that belongs to that SQL Server audit. Auditing in SQL Server differs from Azure SQL Server and server audit specification collects different things than database audit specifications where in Azure SQL Server Server and Database audits they are basically the same thing and only configured on the server or the database level.
upvoted 42 times
...
rainmakerho
Highly Voted 4 years, 1 month ago
ref: https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/create-a-server-audit-and-database-audit-specification?view=sql-server-ver15 should be B, C USE master ; GO -- Create the server audit. CREATE SERVER AUDIT Payrole_Security_Audit TO FILE ( FILEPATH = 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA' ) ; GO -- Enable the server audit. ALTER SERVER AUDIT Payrole_Security_Audit WITH (STATE = ON) ; USE AdventureWorks2012 ; GO -- Create the database audit specification. CREATE DATABASE AUDIT SPECIFICATION Audit_Pay_Tables FOR SERVER AUDIT Payrole_Security_Audit ADD (SELECT , INSERT ON HumanResources.EmployeePayHistory BY dbo ) WITH (STATE = ON) ; GO
upvoted 36 times
...
scottytohotty
Most Recent 5 months, 3 weeks ago
Selected Answer: BC
Answer is correct. B. SQL Server audit C. database audit specification
upvoted 1 times
...
Mussie
2 years, 5 months ago
BC, no server audit specification on database audit specification
upvoted 1 times
...
mhmodsaid
2 years, 8 months ago
i agree with B & C Sql server Audit to see login activities C : and the DATABASE AUDIT SPECIFICATION
upvoted 1 times
...
VinayakBudapanahalli
2 years, 11 months ago
Selected Answer: BC
Answer Is B&C
upvoted 4 times
...
joydeep1
3 years, 6 months ago
B, C https://solutioncenter.apexsql.com/es/auditoria-de-seguridad-de-bases-de-datos-sql-server/
upvoted 4 times
...
gabyo
3 years, 10 months ago
B, C https://solutioncenter.apexsql.com/es/auditoria-de-seguridad-de-bases-de-datos-sql-server/
upvoted 2 times
...
Phund
3 years, 11 months ago
Database audit specification needs its parent component (Server Audit) answer: B,C
upvoted 8 times
...
JohnCrawford
4 years ago
You can not have a specification until you have created an audit. You cannot create a database level audit only a database level audit specification. You need to create the server level audit (B) first before you can create the specification (C).
upvoted 2 times
...
Rajesh_Singh
4 years, 2 months ago
B,C In Question clearly stating that SQL Server on Azure VM need particular on DB level audit(capture the query record ). which can be done by Database level audit specification and that must be linked with Server audit.
upvoted 4 times
...
Vannila
4 years, 2 months ago
A,C SQL Server audit lets you create server audits, which can contain server audit specifications for server level events, and database audit
upvoted 2 times
mzahyt
3 years, 10 months ago
Then that would be B, C (not A,C)
upvoted 2 times
...
...
Kanwar_89
4 years, 2 months ago
The SQL Server in Question is on an Azure VM, so that makes its a regular SQL (not Azure SQL), this should be B and C
upvoted 7 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago