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

SQL_Server_Test_AO

The document outlines a SQL Server Test with various scenarios related to disk space issues, log file management, and database incidents. It includes multiple-choice questions and ordered actions to resolve these issues, focusing on best practices for database maintenance and troubleshooting. The test is intended for assessing knowledge and skills in managing SQL Server environments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

SQL_Server_Test_AO

The document outlines a SQL Server Test with various scenarios related to disk space issues, log file management, and database incidents. It includes multiple-choice questions and ordered actions to resolve these issues, focusing on best practices for database maintenance and troubleshooting. The test is intended for assessing knowledge and skills in managing SQL Server environments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

SQL Server Test AO

1- You have a disk space issue on production server for tempdb database.
This issue concerning log files. Which actions do you need launch to
resolve this issue? Multiple choice.

- Restart the instance


- Launch a shrink of the data files
- Launch a DBCC OPENTRAN on tempdb
- Take a backup of tempdb database
- Check the activity of the log file of tempdb database
- Launch a shrink of the log file
- Ask to the client a restart of the instance.

2- You have a disk space issue on production server for a ldf in user
database. This database uses the recovery model FULL. Order the
actions (write number in the box):

- ( ) verify activity on database


- ( ) verify the log usage
- ( ) connect to the instance with SSMS
- ( ) make a shrink of the log file
- ( ) take a backup log
- ( ) verify backup transactional job of the instance
- ( ) launch a Treesize on concerned partition
- ( ) verify the recovery model of the database

3- You have a disk space issue on production server for data file on
database with SIMPLE recovery model. Your server has three instances
and the error come from disk of 1Tb where you have 98Gb free.
What’s the analysis and resolution step. Not all steps are useful.

- ( ) Launch a rebuild of index and update stats


- ( ) Escalate to the DBA Team
- ( ) Connect to the instance with SSMS
- ( ) Launch a query for locate which databases consume the most disk space
- ( ) Launch a shrink file
- ( ) I delete the contents of TrashBin and release 12Gb. The counter is OK
- ( ) Identify the instance with the SQL Server Configuration Manager
- ( ) Ask the validation to the client to launch a shrink file
- ( ) Identify the biggest database(s) with Treesize
- ( ) Send an email to the client with information’s about the issue
- ( ) Increase the data file
- ( ) Escalate to the DBA Team

4- You have an incident on client instance. The SQL Service Engine refuse to
start because the master data file is not accessible. What do you do?

- I restart the server


- I check the ERRORLOG.1 and try to find where is located the master data
file.
- Nothing I don’t have the skill for this king of actions.
- I try to launch a rebuilding of the system database
- I escalate to the DBA
- I move the data file on other partition
- I try to restore the database

LBN – SQL Server Test AO Windows Team


© LINKBYNET 2013 - All rights reserved – Document strictly confidential. Not to be used, reproduced or disclosed without prior written permission.

2
5- You have an issue with this alert: Could not allocate space for object
'dbo.SORT temporary run storage: 140951478927360' in database
'tempdb' because the 'PRIMARY' filegroup is full.
What’s the analysis and resolution step. Not all steps are useful.

- Restart the instance


- Launch a shrink of the data files
- Launch a DBCC OPENTRAN on tempdb
- Take a backup of tempdb database
- Check the database usage
- Check the activity of the log file of tempdb database
- Launch a shrink of the log file
- Ask to the client a restart of the instance.

6- You have a disk space issue on production server for log file on database
with SIMPLE recovery model. The disk where the log file is present is full
at 100%.
What’s the analysis and resolution step. Not all steps are useful.

- Restart the instance


- Launch a shrink of the data files
- Launch a DBCC OPENTRAN on database
- I escalate to the DBA
- Launch a CHECKPOINT manually
- Check the activity on database
- Take a backup log
- Ask to the client which activity running on instance
- Check the usage of log file
- Verify backup transactional job of the instance
- Take a backup FULL

7- You have a disk space issue on production server for log file on database
with SIMPLE recovery model.
You have already tried to launch a shrink, but it didn't work. Why?
Multiple choice.

- An INSERT transaction is ongoing on database


- A SELECT transaction is ongoing on database
- You have blocking processes on database
- An UPDATE transaction is ongoing on database
- A DELETE transaction is ongoing on the database

LBN – SQL Server Test AO Windows Team


© LINKBYNET 2013 - All rights reserved – Document strictly confidential. Not to be used, reproduced or disclosed without prior written permission.

3
8- You have a disk space issue on production server. All files present on
partition have the extension *.bak and *.trn. What do you need to check?
Multiple choice.

- Backup jobs failure


- Backup jobs SYSTEM FULL
- Backup jobs retention
- Backup jobs logs
- Backup jobs LOG
- Backup jobs duration
- Backup jobs paths
- Backup jobs DIFF
- Backup jobs USER FULL

9- You have a disk space issue on production server. All files present on
partition have the extension *.bak and *.trn.
The backup files with the extension *.trn represent the last 5 days.
The backup files with the extension *.bak represent the last 3 days.
The variable @Cleanuptime is at 47 for all backup jobs.
What’s your resolution plan?

- Delete all files and relaunch the ALL backup jobs


- Delete 2 days of *.bak
- Delete 1 day of *.trn
- Delete 4 days of *.bak
- Delete 2 days of *.trn
- Delete 1 day of *.bak
- Delete 3 days of *.bak
- Delete 3 days of *.trn
- Delete 4 days of *.trn
- Delete all *.trn files and relaunch the FULL backup job

10- The index maintenance plan jobs fail at 10:30AM (VN Time) after 1
hour of run on French client server. This job has an average time
duration about 280 min. What are your actions?

- I don’t relaunch the job and escalate to DBA


- I look on job history and look why the job failed
- I don’t relaunch the job and escalate to my Windows N2
- I look the duration of the job
- I relaunch the job without validation to the DBA Team
- I look on log file of the job and look why the job failed
- I escalate to the client for knowing if I can relaunch the job.
- I relaunch the job without validation to the client.

LBN – SQL Server Test AO Windows Team


© LINKBYNET 2013 - All rights reserved – Document strictly confidential. Not to be used, reproduced or disclosed without prior written permission.

4
11- My FULL backup job fails the first day after installation. Here is the
configuration of the job.
Which parameter you need to check and change for resolve the incident?

- @Databases = 'USER_DATABASES',
- @Directory = N'D:\lbn_Backup'',
- @BackupType = 'DIFF',
- @Verify = 'Y',
- @CleanupTime = NULL,
- @CheckSum = 'Y',
- @LogToTable = 'Y'

12- The job “DatabaseIntegrityCheck - USER_DATABASES” failed. What


do you have to do?

- I relaunch the job


- I escalate to the DBA Team
- I take a FULL backup of the database before actions
- I search why I have the error on Event Viewer
- I launch the command only on the database with the error
- I pass the database OFFLINE/ONLINE
- I launch the powershell query to delete the error message
- I investigate log for find the solution

13- What the solution for find the instance name. Give at least 2
solutions.

-
-

14- You need to check a job in error, but you don’t have SSMS on the
server. What the solution?
Write your answers (Multiple solution)

-
-
-
-

15- A client opens a ticket with this error: I no longer access my SQL
instance from my workstation. Thank you for solving the problem.
What do you need to look at to help the client solve his problem? Write
the possibilities

-
-
-
-
-

LBN – SQL Server Test AO Windows Team


© LINKBYNET 2013 - All rights reserved – Document strictly confidential. Not to be used, reproduced or disclosed without prior written permission.

5
16- Which of these propositions is good to connect to the instance
SQL2K16_BANHMI on the server STREETFOOD?

17- I have this type of DB on my server. What does this correspond to?

>

LBN – SQL Server Test AO Windows Team


© LINKBYNET 2013 - All rights reserved – Document strictly confidential. Not to be used, reproduced or disclosed without prior written permission.

6
18- I have this type of DB on my server. What does this correspond to?

>

Or

>

19- You have an alert at 1AM on a database in a “Suspect” state on


production server of the client. What do you need to do?
Make your choice in order of importance (1 being the most important).
Not all answers are useful.

- ( ) Send an email to the client and ask to check the issue


- ( ) Restart the instance
- ( ) Send an email to the DBA
- ( ) Restart the server
- ( ) Follow the IRP and try to resolve the issue
- ( ) Send an email to Windows N2
- ( ) Try an OFFLINE – ONLINE of the DB
- ( ) Escalate to the Windows N2

20- You have been working for 35 minutes on an S1 incident related to


SQL Server. What do you need to do?

>

LBN – SQL Server Test AO Windows Team


© LINKBYNET 2013 - All rights reserved – Document strictly confidential. Not to be used, reproduced or disclosed without prior written permission.

You might also like