MSSQL and Devops Dumps
MSSQL and Devops Dumps
Ans : TCPI
2. you need to address the requirements for disc usage monitoring for the SQL servers what should you do?
3. You have an SQL Server 2014 server named SQL1. You are designing a performance monitoring solution. You need
to monitor the following events on SQL1:
✑ A deadlock graph
Which two tools should you use? Each correct answer presents a complete solution.
4. You manage a Microsoft SQL Server environment. You implement Transparent Data Encryption (TDE).
You need to ensure that the user can view the TDE metadata while following the principle of lease privilege.
You need to ensure that the size of the transaction log file does not exceed 2 GB.
Ans:. use the ALTER DATABASE...SET LOGFILE command along with the maxsize parameter.
Ans; containers
8. how to limit playbook to run on only one system?
Ans: --limit
Ans: --syntax-check
Ans:
14.You are migrating a database named Orders to a new server that runs Microsoft SQL Server 2016.
You attempt to add the [Corpnet\User1] login to the database.
However, you receive the following error message:
"User already exists in current database."
You need to configure the [Corpnet\User1] login to be able to access the Orders database and retain the original
permissions.
You need to achieve this goal by using the minimum required permissions.
Which Transact-SQL statement should you use?
Ans: ALTER USER [Corpnet\User1] WITH LOGIN [Corpnet\User1];
15. You are examining information about users, sessions, and processed in an on-premises Microsoft SQL Server
Database Engine instance.
You need to return information about processes that are not idle, that belong to a specific user, or that belong to a
specific session.
Ans:. sp_who3
Ans: yes
20. What should you do? More than one answer choice may achieve the goal. Select the BEST answer.
You create a new user named UserA. You need to ensure that UserA is able to create SQL Server Agent jobs and to
execute SQL Server Agent jobs.
Ans: SQLAgentUserRole
22.You administer a Microsoft SQL Server 2016 database named Contoso on a server named Server01.
You need to write messages to the Application Log when users are added to or removed from a fixed server role in
Server01.
Ans: linux
The application frequently causes deadlocks. You need to identify the isolation level used by the query when a
deadlock occurs.
What should you do? More than one answer choice may achieve the goal. Select the BEST answer.
25. You need to address the requirements for disc usage monitoring for the SQL Servers.
Ans : yes
27. what is a way to mention sudo privilege in ansible? .0
Ans:
29. which directory get created if we run “# git init” at any location?
Ans: .git
Ans. STATS
Ans: -a is missing
Ans: ansible-doc -I
Ans: --become
37. the value of recently generated sequence number can be obtained by?
Ans: LAST_INSERT_ID()
38. which one is the correct delecaration for choosing the character set other than default?
39.the number of rows in the table is 10 .suppose all rows are deleted. the new row starts with sequence
number______
Ans: 11
Ans: AUTO_INCREMENT
41.which datatype is best suited to store currency values?
Ans : DECIMAL
Ans: USE
44. which declaration doesn’t use the same number of bytes and consumption od bytes depends on the input data?
Ans: varchar
Ans: SCHEMA