Upload Button Icon Add office photos

Filter interviews by

HCL Group MS SQL DBA Interview Questions and Answers

Updated 10 Dec 2024

HCL Group MS SQL DBA Interview Experiences

1 interview found

MS SQL DBA Interview Questions & Answers

user image Anonymous

posted on 10 Dec 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Jun 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Sql queries on top clause

Round 2 - HR 

(2 Questions)

  • Q1. Why u want to join
  • Ans. 

    I am passionate about database management and eager to contribute my skills to your team.

    • I have a strong background in database administration

    • I am excited about the opportunity to work with a reputable company like yours

    • I am eager to learn and grow in my career as a SQL DBA

  • Answered by AI
  • Q2. What is the salary expectation
  • Ans. 

    I am looking for a competitive salary based on my experience, skills, and the responsibilities of the role.

    • Research the average salary range for MS SQL DBAs in your location and industry

    • Consider your years of experience and any specialized skills or certifications you have

    • Be prepared to negotiate based on the specific responsibilities and requirements of the role

  • Answered by AI

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
-
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. What is pull request
  • Ans. 

    A pull request is a method of submitting contributions to a project on GitHub for review and merging.

    • Pull requests are commonly used in version control systems like Git to propose changes to a codebase.

    • They allow developers to collaborate and discuss changes before merging them into the main branch.

    • Pull requests typically include a description of the changes, related issues, and any necessary tests or documentation.

    • Rev...

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. What is sateful set
  • Ans. 

    Stateful set is a Kubernetes controller that manages the deployment and scaling of a set of pods with persistent storage.

    • Stateful set ensures that each pod in the set has a unique identity and stable network identity.

    • Stateful set pods are created in order and are not replaced until they are deleted.

    • Stateful set is commonly used for stateful applications like databases where each pod requires persistent storage.

    • Example:...

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Aug 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Dba backups in sql
  • Ans. 

    DBA backups in SQL are essential for data protection and disaster recovery.

    • Regularly schedule full, differential, and transaction log backups to ensure data is protected.

    • Store backups in secure locations to prevent data loss in case of hardware failure or corruption.

    • Test backups regularly to ensure they can be restored successfully in case of emergency.

  • Answered by AI
  • Q2. Dba replication
Round 2 - HR 

(2 Questions)

  • Q1. Tell me about urself
  • Ans. 

    I am a dedicated and experienced MS SQL DBA with a strong background in database administration and performance tuning.

    • Over 5 years of experience working as a MS SQL DBA

    • Proficient in database administration tasks such as backup and recovery, performance tuning, and security

    • Skilled in troubleshooting and resolving database-related issues

    • Experience with SQL Server Integration Services (SSIS) and SQL Server Reporting Serv...

  • Answered by AI
  • Q2. Strengths and weakness

Skills evaluated in this interview

MS SQL DBA Interview Questions & Answers

TCS user image urugonda soumya

posted on 15 Jul 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. What are the steps involved in migration
  • Ans. 

    Steps involved in migration process

    • Assess current environment and identify migration goals

    • Choose migration method (manual, scripted, tool-based)

    • Prepare target environment and perform data migration

    • Test migrated data and applications for functionality

    • Implement post-migration tasks like user training and support

  • Answered by AI
  • Q2. How to do migrating from 2008 to 2019
  • Ans. 

    Migrating from SQL Server 2008 to 2019 involves upgrading the database, transferring data, and testing for compatibility.

    • Perform a side-by-side upgrade by installing SQL Server 2019 on a new server and transferring databases using backup and restore or detach and attach methods.

    • Use the Data Migration Assistant tool to assess compatibility issues and plan for any necessary changes.

    • Update applications and scripts to ensu...

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. SQL patching, migration
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - HR 

(2 Questions)

  • Q1. Share your experience about your company with us
  • Q2. Tell me about roles and responsibilities
Round 2 - HR 

(2 Questions)

  • Q1. What ctc are you expecting
  • Ans. 

    I am expecting a competitive salary based on my experience, skills, and the market rate for MS SQL DBAs.

    • I am looking for a salary that reflects my expertise in MS SQL Server administration.

    • I am open to negotiation based on the specific responsibilities and benefits offered.

    • I have researched the average salary range for MS SQL DBAs in this location and industry.

    • I am also considering other factors such as opportunities f

  • Answered by AI
  • Q2. Are you willing to relocate

Interview Preparation Tips

Interview preparation tips for other job seekers - very good
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Asked question from basic aptitude topics

Round 3 - Technical 

(1 Question)

  • Q1. Asked question coding languages like c, python, java, SQL
Round 4 - HR 

(1 Question)

  • Q1. Discussed about terms and policies of company. Also work profile

Interview Preparation Tips

Interview preparation tips for other job seekers - I joined this company as fresher. For fresher if you are having basic aptitude and technical knowledge then it is easy to crack interview

I applied via Naukri.com and was interviewed in Dec 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Personal Details, Strength and Strong Areas, SQL Server Performance Optimization, Windows Clustering, Always On, Shipping, Mirroring, Replication.

Interview Preparation Tips

Interview preparation tips for other job seekers - 1.Personal Details
2.Communication must be good
3.Strong Knowledge of Technology and the fundamentals
4.Resume Should be Good
5.Show Your Good areas
6.Be Confident While Interview

I applied via Naukri.com and was interviewed before Dec 2019. There were 3 interview rounds.

Interview Questionnaire 

32 Questions

  • Q1. Introduce yourself
  • Q2. What are blockings ? What are deadlocks and difference to blockings ?
  • Ans. 

    Blockings occur when one transaction holds a lock on a resource, preventing other transactions from accessing it. Deadlocks are a specific type of blocking where two or more transactions are waiting for each other to release resources.

    • Blockings happen when one transaction holds a lock on a resource and other transactions are blocked from accessing it.

    • Deadlocks occur when two or more transactions are waiting for each ot...

  • Answered by AI
  • Q3. How to know about deadlocks in sql server?
  • Ans. 

    Deadlocks in SQL Server can be identified using SQL Server Profiler or by querying the system_health extended event session.

    • Use SQL Server Profiler to capture deadlock events

    • Query the system_health extended event session to view deadlock graphs

    • Use sp_whoisactive to identify blocking and deadlocking processes

    • Enable trace flag 1222 to capture deadlock information in the SQL Server error log

  • Answered by AI
  • Q4. What is the parameter (-1) used in DBCC TRACEON(1204,-1) ? Why it is used?
  • Ans. 

    Parameter (-1) in DBCC TRACEON(1204,-1) is used to enable deadlock tracing for all sessions.

    • DBCC TRACEON(1204,-1) enables deadlock tracing for all sessions

    • The parameter -1 specifies that the trace flag should be enabled for all sessions

    • Deadlock tracing helps identify and resolve deadlocks in SQL Server

  • Answered by AI
  • Q5. What is the backup strategy you have?
  • Ans. 

    Our backup strategy includes full backups weekly, differential backups daily, and transaction log backups every 15 minutes.

    • Weekly full backups

    • Daily differential backups

    • Transaction log backups every 15 minutes

    • Backups stored on separate disk

    • Regular testing of backups for restoration

  • Answered by AI
  • Q6. What is point in time recovery?
  • Ans. 

    Point in time recovery is the ability to restore a database to a specific moment in time.

    • It allows for recovery of data up to a specific point in time.

    • It requires regular backups and transaction logs.

    • It is useful in case of accidental data deletion or corruption.

    • It can be done manually or through automated tools.

    • Example: Restoring a database to its state before a specific transaction occurred.

  • Answered by AI
  • Q7. What are the issues you faced in log shipping?
  • Ans. 

    Issues faced in log shipping

    • Network latency causing delays in log shipping

    • Log backups not being taken frequently enough

    • Failure to restore logs due to mismatched log backups

    • Lack of monitoring and alerting for log shipping failures

  • Answered by AI
  • Q8. What are some critical issues you faced in your previous projects?
  • Q9. While applyong patching, some msi files are missing ? How do you resolve this?
  • Ans. 

    Check if the missing msi files are required for the patch. If yes, download and install them.

    • Verify if the missing msi files are essential for the patch

    • Check if the msi files are available in the original installation media or backup

    • If not, download the missing msi files from the vendor's website

    • Install the missing msi files before applying the patch

  • Answered by AI
  • Q10. Do you have idea on replication ?
  • Ans. 

    Yes, replication is the process of copying and distributing data from one database to another.

    • Replication is used to improve data availability, scalability, and disaster recovery.

    • It involves a publisher database that sends data to one or more subscriber databases.

    • There are three types of replication: snapshot, transactional, and merge.

    • Snapshot replication copies the entire database to the subscriber.

    • Transactional repli...

  • Answered by AI
  • Q11. How to index reorganize and index rebuild based on index fragmentation?
  • Ans. 

    Index reorganize and rebuild based on fragmentation level

    • For fragmentation level < 5%, use reorganize

    • For fragmentation level > 30%, use rebuild

    • For fragmentation level between 5% and 30%, choose based on table size and usage

    • Use ALTER INDEX statement to perform reorganize or rebuild

    • Monitor fragmentation level regularly to maintain optimal performance

  • Answered by AI
  • Q12. When to update statistics with respect to index rebuild and reorganize ? (Maintenance plans)
  • Ans. 

    Updating statistics is necessary after index rebuild or reorganize to ensure query optimization.

    • Statistics provide information about the distribution of data in a table or index.

    • Index rebuild or reorganize can change the distribution of data, making old statistics inaccurate.

    • Outdated statistics can lead to poor query performance.

    • Updating statistics after index rebuild or reorganize ensures query optimization.

    • Maintenanc

  • Answered by AI
  • Q13. What is the database size you jave used in your previous project?
  • Ans. 

    The database size I have used in my previous project was approximately 500 GB.

    • The database size was around 500 GB.

    • It contained various tables, indexes, and stored procedures.

    • The data included millions of records from different sources.

    • We regularly optimized the database to ensure efficient performance.

    • Backup and recovery strategies were implemented to safeguard the data.

  • Answered by AI
  • Q14. What is the backup strategy for the biggest database you handled?
  • Ans. 

    The backup strategy for the biggest database I handled involved regular full backups, daily differential backups, and hourly transaction log backups.

    • Regular full backups were performed to capture the entire database.

    • Daily differential backups were taken to capture the changes since the last full backup.

    • Hourly transaction log backups were taken to capture the changes since the last differential backup.

    • Backups were store...

  • Answered by AI
  • Q15. Every day i take full backup at midnight, log backup every one hour. Can i perform point in time recovery upto 07:30pm ?
  • Q16. What is the command for the Tail log backup?
  • Ans. 

    The command for Tail log backup is BACKUP LOG WITH NORECOVERY

    • Use the BACKUP LOG command to create a tail log backup

    • Add the WITH NORECOVERY option to allow further log backups

    • Tail log backups are used to capture any transactions that occurred after the last log backup

    • Syntax: BACKUP LOG database_name TO disk = 'backup_device' WITH NORECOVERY

  • Answered by AI
  • Q17. What is your notice period in your current company?
  • Q18. Do you have any idea on SQL Profiler ?
  • Ans. 

    SQL Profiler is a tool used to capture and analyze SQL Server events and activities.

    • SQL Profiler captures events such as queries, stored procedures, and errors.

    • It can be used to troubleshoot performance issues and optimize queries.

    • Profiling can be done on a live server or on a trace file.

    • Events can be filtered and grouped for easier analysis.

    • SQL Profiler has been replaced by Extended Events in newer versions of SQL Ser

  • Answered by AI
  • Q19. If TempDB is full, how do you resolve it?
  • Ans. 

    To resolve TempDB full issue, identify the cause and take appropriate action.

    • Identify the cause of TempDB full issue using DMVs or third-party tools

    • Check for long-running transactions or open transactions

    • Check for large sorts or hash joins

    • Increase the size of TempDB or add more files

    • Move TempDB to a faster disk

    • Restart SQL Server to clear TempDB

    • Modify application code to reduce TempDB usage

  • Answered by AI
  • Q20. What are the isolation levels in sql server?
  • Ans. 

    Isolation levels in SQL Server determine how transactions interact with each other.

    • There are five isolation levels: READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, SNAPSHOT, and SERIALIZABLE.

    • Each level has its own trade-offs between concurrency and consistency.

    • The default isolation level is READ COMMITTED.

    • Isolation levels can be set at the transaction level or for the entire database.

    • For example, the SNAPSHOT isolat...

  • Answered by AI
  • Q21. What is the default isolation level in sql server? What happens with that isolation level ?
  • Ans. 

    The default isolation level in SQL Server is READ COMMITTED. It ensures that each transaction sees only committed data.

    • The default isolation level in SQL Server is READ COMMITTED.

    • READ COMMITTED ensures that each transaction sees only committed data.

    • It provides a balance between concurrency and data consistency.

    • Under READ COMMITTED, a transaction can read data that has been modified by another transaction but not yet co...

  • Answered by AI
  • Q22. What is the default port of sql server & Can we change the default port, if so where can we change it?
  • Ans. 

    The default port of SQL Server is 1433. Yes, we can change the default port by modifying the SQL Server Configuration Manager.

    • The default port for SQL Server is 1433.

    • To change the default port, open SQL Server Configuration Manager.

    • Navigate to SQL Server Network Configuration and select Protocols for the desired SQL Server instance.

    • Right-click on TCP/IP and choose Properties.

    • In the IP Addresses tab, scroll down to the ...

  • Answered by AI
  • Q23. If someone has deleted the table in a database, then how can you find out the user that has deleted the table ? Can you find out using the log file? Can you retsore the table using the tail log backup?
  • Ans. 

    Yes, the user who deleted the table can be identified using the transaction log file.

    • To find out the user who deleted the table, you can query the transaction log file using the fn_dblog function.

    • The transaction log contains information about all the transactions performed on the database, including the table deletion.

    • By analyzing the log records, you can identify the specific transaction that deleted the table and ret...

  • Answered by AI
  • Q24. When we run CheckDB, what command it runs in the background ?
  • Ans. 

    CheckDB runs DBCC CHECKDB command in the background.

    • CheckDB is a command used to check the logical and physical integrity of all objects in the specified database.

    • DBCC CHECKDB is the command that CheckDB runs in the background.

    • DBCC CHECKDB checks the allocation and structural integrity of all the objects in the specified database.

    • DBCC CHECKDB also checks for common errors like torn pages, index and data page corruption

  • Answered by AI
  • Q25. What is the difference between Summary.txt and Detail.txt ?
  • Ans. 

    Summary.txt contains summarized information while Detail.txt contains detailed information.

    • Summary.txt provides a brief overview of data while Detail.txt provides a more comprehensive view.

    • Summary.txt may contain aggregated data while Detail.txt contains individual data points.

    • Summary.txt is useful for quick analysis while Detail.txt is useful for in-depth analysis.

    • Example: Summary.txt may contain total sales for a mon...

  • Answered by AI
  • Q26. Do you use any monitoring tool for monitoring Sql server?
  • Ans. 

    Yes, I use SQL Server Management Studio (SSMS) and SQL Server Profiler for monitoring SQL Server.

    • I use SSMS to monitor server activity, query performance, and resource usage.

    • I use SQL Server Profiler to capture and analyze SQL Server events and performance data.

    • I also use third-party tools like SolarWinds Database Performance Analyzer and Redgate SQL Monitor for more advanced monitoring and alerting.

    • Regularly monitorin...

  • Answered by AI
  • Q27. What ticketing tool you use?
  • Ans. 

    We use ServiceNow as our ticketing tool.

    • ServiceNow is a cloud-based platform that offers IT service management (ITSM), IT operations management (ITOM), and IT business management (ITBM) solutions.

    • It allows us to manage incidents, problems, changes, and service requests in a single system.

    • We can also track the status of tickets, assign them to team members, and set priorities and deadlines.

    • ServiceNow also provides repor...

  • Answered by AI
  • Q28. What do you used to do using the ticketing tool?
  • Ans. 

    I used the ticketing tool to track and manage database-related issues and requests.

    • Create and assign tickets for database-related issues and requests

    • Monitor ticket status and update as necessary

    • Communicate with stakeholders regarding ticket status and resolution

    • Close tickets once issues are resolved

    • Generate reports on ticket volume and resolution time

  • Answered by AI
  • Q29. Will you only work on the tickets or do you raise any tickets ?
  • Q30. Do you have any questions to me?
  • Q31. Are you fine with rotational shifts?
  • Q32. Are you immediate joiner?

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well on routine activites of your job role as SQL DBA.

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Difference between logshipping mirroring, tempdb corruption, master db corruption, agents used in replication
  • Ans. 

    Explanation of differences between logshipping, mirroring, tempdb corruption, master db corruption, and agents used in replication

    • Logshipping involves copying and restoring transaction logs from one server to another for disaster recovery.

    • Mirroring involves maintaining an exact copy of a database on a secondary server for failover purposes.

    • Tempdb corruption can occur due to hardware failures, software bugs, or other is...

  • Answered by AI

HCL Group Interview FAQs

How many rounds are there in HCL Group MS SQL DBA interview?
HCL Group interview process usually has 2 rounds. The most common rounds in the HCL Group interview process are Coding Test and HR.

Tell us how to improve this page.

People are getting interviews through

based on 1 HCL Group interview
Job Portal
100%
Low Confidence
?
Low Confidence means the data is based on a small number of responses received from the candidates.

MS SQL DBA Interview Questions from Similar Companies

View all
HCL Group MS SQL DBA Salary
based on 9 salaries
₹3.5 L/yr - ₹6 L/yr
30% less than the average MS SQL DBA Salary in India
View more details

HCL Group MS SQL DBA Reviews and Ratings

based on 1 review

4.0/5

Rating in categories

3.0

Skill development

3.0

Work-Life balance

2.0

Salary & Benefits

5.0

Job Security

4.0

Company culture

2.0

Promotions/Appraisal

4.0

Work Satisfaction

Explore 1 Review and Rating
Software Engineer
3.7k salaries
unlock blur

₹1.9 L/yr - ₹9.3 L/yr

Technical Lead
3.5k salaries
unlock blur

₹6.9 L/yr - ₹25 L/yr

Senior Software Engineer
2.8k salaries
unlock blur

₹4 L/yr - ₹14.5 L/yr

Lead Engineer
2.6k salaries
unlock blur

₹4.3 L/yr - ₹13 L/yr

Senior Analyst
2.2k salaries
unlock blur

₹1.6 L/yr - ₹10 L/yr

Explore more salaries
Compare HCL Group with

HCLTech

3.5
Compare

TCS

3.7
Compare

Tata Group

4.2
Compare

Wipro

3.7
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview