0% found this document useful (0 votes)
433 views

MSSQL and Devops Dumps

TCPI is not a network configuration protocol or method. To monitor disk usage for SQL servers, configure a dynamic management view. The Database Engine Tuning Advisor and SQL Server Profiler tools should be used to monitor events like a deadlock graph, missing column statistics, and CPU performance statistics on an SQL server.

Uploaded by

Rishav Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
433 views

MSSQL and Devops Dumps

TCPI is not a network configuration protocol or method. To monitor disk usage for SQL servers, configure a dynamic management view. The Database Engine Tuning Advisor and SQL Server Profiler tools should be used to monitor events like a deadlock graph, missing column statistics, and CPU performance statistics on an SQL server.

Uploaded by

Rishav Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

1.Which of the following is not network configuration protocol or method?

Ans : TCPI

2. you need to address the requirements for disc usage monitoring for the SQL servers what should you do?

Ans: you should configure a dynamic management view

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

✑ Missing column statistics

CPU performance statistics -

✑ A batch of completed Transact-SQL statements

Which two tools should you use? Each correct answer presents a complete solution.

Ans: . Database Engine Tuning Advisor

SQL Server Profiler

4. You manage a Microsoft SQL Server environment. You implement Transparent Data Encryption (TDE).

A user will assist in managing TDE.

You need to ensure that the user can view the TDE metadata while following the principle of lease privilege.

Which permission should you grant?

Ans: view definition

5. You administer a Microsoft SQL Server 2012 database.

You need to ensure that the size of the transaction log file does not exceed 2 GB.

What should you do?

Ans:. use the ALTER DATABASE...SET LOGFILE command along with the maxsize parameter.

6.docker is only opensource tool or is it opensource along with enterprise?

Ans: a docker is only for opensource

7. which infra is good for middleware hosting app in respect of cost?

Ans; containers
8. how to limit playbook to run on only one system?

Ans: --limit

9. You administer a Microsoft SQL Server 2012 instance.

You need to configure a new database to support FILETABLES.

What should you do? Choose all that apply.

Ans: Enable FILESTREAM on the Server Instance.

Create a non-empty FILESTREAM file group.

Set the FILESTREAM directory name on the Database.

10. playbooks syntax can check by____________

Ans: --syntax-check

11.containers are usefull for whom ?

Ans: devops , developer, middleware admins

12. You administer a Microsoft SQL Server 2016 instance.

After a routine shutdown, the drive that contains tempdb fails.

You need to be able to start the SQL Server.

What should you do?

Ans: Start SQL Server in minimal configuration mode.

13. which of the following module is there to install-unstall package

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.

What should you use?

Ans:. sp_who3

16. can we pass variable in playbook?

Ans: yes

17. in devops CI/CD what is continuous delivery?

Ans: sourcecode-build- test-ready to deploy on a single click

18.which of the following module is there to install-uninstall package?

Ans: yum, apt

20. What should you do? More than one answer choice may achieve the goal. Select the BEST answer.

Ans: Query the sys.dm_exec_sessions dynamic management view.

21.You administer a Microsoft SQL Server 2016 database instance.

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.

To which role should you add UserA?

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.

What should you create?

Ans: a Server Audit Specification

23. containers internally are ______ based

Ans: linux

24.You are troubleshooting an application that runs a query.

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.

Ans: Query the sys.dm_exec_sessions dynamic management view.

25. You need to address the requirements for disc usage monitoring for the SQL Servers.

What should you do?

Ans: You should configure a Dynamic Management View.

26.windows can work inside containers or not?

Ans : yes
27. what is a way to mention sudo privilege in ansible? .0

Ans:

28.how to reset updated files data to any older commit in git?

Ans: git reset -soft <oldercommit0>

29. which directory get created if we run “# git init” at any location?

Ans: .git

30. You administer a Microsoft SQL Server 2016 database.

You want to make a full backup of the database to a file on disk.

In doing so, you need to output the progress of the backup.

Which backup option should you use?

Ans. STATS

31.what is wrong with following Ad-Hoc command?

# ansible all -m command -a “hostname”

Ans: -a is missing

32.what is the limitation of ansible?

Ans: none of the above

33.ansible works in ______ way

Ans : sequential access with ssh

34, how to list modules in ansible?

Ans: ansible-doc -I

35. which is the MYSQL instance responsible for data processing?

Ans: MYSQL server

36. what is way to mention sudo privilege in ansible

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?

Ans: none of the mentioned

39.the number of rows in the table is 10 .suppose all rows are deleted. the new row starts with sequence
number______

Ans: 11

40.which column attribute provides unique number for identification?

Ans: AUTO_INCREMENT
41.which datatype is best suited to store currency values?

Ans : DECIMAL

42.which statement is used to select a default database?

Ans: USE

43. which among the following have the maximum bytes?

Ans: text type

44. which declaration doesn’t use the same number of bytes and consumption od bytes depends on the input data?

Ans: varchar

45.which keyword is the synonsym for DATABASE?

Ans: SCHEMA

46. which of the following is not network configuration protocol or method ?

Ans: CLI access

You might also like