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

Database Interview Questions For Beginner

Explain the difference between a Database Administrator and a Data Administrator. Explain the meaning of the expression ACID transaction. Database interview questions for beginner By shabbir On 25th May 2005.

Uploaded by

aaron103
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

Database Interview Questions For Beginner

Explain the difference between a Database Administrator and a Data Administrator. Explain the meaning of the expression ACID transaction. Database interview questions for beginner By shabbir On 25th May 2005.

Uploaded by

aaron103
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Database interview questions for beginner

http://www.go4expert.com/forums/showthread.php?t=322

Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board

Search Newsletter

Advance Search Sitemap

Programming and SEO Forums > Go4Expert > Articles / Source Code > Database

User Name Password

Remember Me?

Database interview questions for beginner


Register G4EF Links FAQ Members List Calendar

Today's Posts

Search

More
Bookmarks Article Tools Search this Article

Page 1 of 2 1 2 > Display Modes

Database interview questions for beginner


By shabbir On 25th May, 2005
Database interview questions for beginner

1. Explain the difference between a database administrator and a data administrator. Database Administrator :- A person (or group of people) responsible for the maintenance and performance of a database and responsible for the planning, implementation, configuration, and administration of relational database management systems. Data Administrator :- The individual or organization responsible for the specification, acquisition, and maintenance of data management software and the design, validation, and security of files or databases. The DA is in charge of the data dictionary and data model. 2. Explain the difference between an explicit and an implicit lock. Explicit Lock :- Lock is explicitly requested for a record or table. Implicit Lock :- Lock is implied but is not acquired 3. What is lock granularity?

ADVERTISEMENT

There are many locks available for the database system to have like Intent Shared, Shared, Intent exclusive, exclusive and Shared Intent exclusive. Locking granularity refers to the size and hence the number of locks used to ensure the consistency of a database during multiple concurrent updates. 4. In general, how should the boundaries of a transaction be defined?

1 of 5

8/20/2011 10:30 PM

Database interview questions for beginner

http://www.go4expert.com/forums/showthread.php?t=322

A transaction ensures that one or more operations execute as an atomic unit of work. If one of the operations within a transaction fails, then all of them are rolled-back so that the application is returned to its prior state. The boundaries that define a group of operations done within a single transaction. 5. Explain the meaning of the expression ACID transaction. ACID means Atomic, Consistency, Isolation, Durability, so when any transaction happen it should be Atomic that is it should either be complete or fully incomplete. There should not be anything like Semi complete. The Database State should remain consistent after the completion of the transaction. If there are more than one Transaction then the transaction should be scheduled in such a fashion that they remain in Isolation of one another.Durability means that Once a transaction commits, its effects will persist even if there are system failures. 6. Explain the necessity of defining processing rights and responsibilities. How are such responsibilities enforced? One of the reason to define rights is the security in the database system. If any user is allowed to define the data or alter the data then the database would just be of no use and so processing rights and responsibilities are clearly defined in any database system. The resposibilities are enforced using the table space provided by the database system. 7. Describe the advantages and disadvantages of DBMS-provided and application-provided security. DBMS provided security :- Any database system requires you to login and then process the data depending on the rights given by the DBA to the user who has logged in. The advatage of such a system is securing the data and providing the user and the DBA the secured platform. Any user who logs in cannot do whatever he want but his role can be defined very easily. There is no major disadvantage about the DBMS provided security apart from overhead of storing the rights and priviledges about the users. Application-provided security :- It is much similar to the DBMS provided security but the only difference is that its the duty of the programmer creating the application to provide all the seurities so that the data is not mishandled. 8. Explain how a database could be recovered via reprocessing. Why is this generally not feasible? If we reprocess the transaction then the database can be made to come to a state where the database is consistent and so reprocessing the log can recover the database. Reprocessing is not very feasible for a very simple reason that its very costly from time point of view and requires lots of rework and many transaction are even rollback giving more and more rework. 9. Define rollback and roll forward. Rollback :- Undoing the changes made by a transaction before it commits or to cancel any changes to a database made during the current transaction RollForward :- Re-doing the changes made by a transaction after it commits or to overwrite the chnaged calue again to ensure consistency 10. Why is it important to write to the log before changing the database values? The most important objective to write the log before the database is changed is if there is any need to rollback or rollforward any transaction then if the log are not present then the rollback rollforward cannot be done accurately.

Tell the World ...

Further Reading ...


SQL Server, Oracle and MySQL basic questions and answers, by Shree Limbkar in Database General interview questions, by jerkjames in Programming JDBC Basics - Part I, by techgeek.in in Java

2 of 5

8/20/2011 10:30 PM

Database interview questions for beginner

http://www.go4expert.com/forums/showthread.php?t=322

MySQL Storage Engines, by Janu in MySQL / PostGRESQL Difference between Database & Database Management System, by aryan123 in Database Relational Algebra Operations in SQL with Examples, by techgeek.in in Database SQL Server, Oracle and MySQL basic questions and answers, by Shree Limbkar in Database Calculating Date Differences, by Janu in Database Small Bug tracking utility in C# with access as database, by shabbir in Database

The Following 3 Users Say Thank You to shabbir For This Useful Post:
Sep 13th, 2007, 02:55 PM

a.shokry (Jul 18th, 2010), Daisy (Dec 10th, 2009), PAPU (Aug 10th, 2010)

#2
Re: Database interview questions for beginner

rollings
Newbie Member Join Date: Sep 2007 Posts: 2 Thanks: 0 Thanked 0 Times in 0 Posts Rep Power: 0

Thanks shabbir. , just got What I wanted

Sep 13th, 2007, 05:21 PM

#3
Re: Database interview questions for beginner

shabbir
Go4Expert Founder

My pleasure.
__________________ MBA Forums | C Programming Forum | Learn Technical Analysis | Internet Marketing Tips

Join Date: Jul 2004 Location: On Earth Posts: 13,985 Thanks: 290 Thanked 396 Times in 308 Posts Rep Power: 10

Sep 30th, 2007, 08:27 AM

#4
Re: Database interview questions for beginner

clocking
Ambitious contributor

Hi shabbir, I hesitate to suggest you this problem. Can You support me to designing a database for images of data?

Join Date: Jun 2007 Posts: 122

3 of 5

8/20/2011 10:30 PM

Database interview questions for beginner

http://www.go4expert.com/forums/showthread.php?t=322

Thanks: 0 Thanked 0 Times in 0 Posts Rep Power: 5

Jul 26th, 2009, 08:18 PM

#5
Re: Database interview questions for beginner

stylishkishore
Go4Expert Member Join Date: Jun 2009 Posts: 11 Thanks: 0 Thanked 0 Times in 0 Posts Rep Power: 0

nice ...very nice.

Aug 20th, 2009, 04:07 PM

#6
Re: Database interview questions for beginner

naimish
Banned

Wouldn't know we can also post like this

Thanks.

Join Date: Jun 2009 Location: On Earth Posts: 1,058 Thanks: 205 Thanked 24 Times in 19 Posts Rep Power: 0

Dec 10th, 2009, 11:53 AM

#7
Re: Database interview questions for beginner

Daisy
Newbie Member Join Date: Dec 2009 Posts: 2 Thanks: 1 Thanked 0 Times in 0 Posts Rep Power: 0

Quote:

Originally Posted by rollings

Thanks shabbir. , just got What I wanted


it was really benefit for me. because i am prepairing for competitative exams. thanks a lot shabbir

Dec 10th, 2009, 12:04 PM

#8
Re: Database interview questions for beginner

sameer_havakajoka
Skilled contributor

can we plz hav sum sql server questions and answers too?
__________________ - Thanks | Password Protect PDF v1.1 | Salsa Songs CDs | Salsa Forum |

Join Date: Sep 2009 Location: Hava Ke Paro Me Posts: 271 Thanks: 27 Thanked 11 Times in 9 Posts Rep Power: 2

Jun 30th, 2010, 01:31 PM

#9
Re: Database interview questions for beginner

jerryvn01
Banned Join Date: Jun 2010

Hi,

4 of 5

8/20/2011 10:30 PM

Database interview questions for beginner

http://www.go4expert.com/forums/showthread.php?t=322

Posts: 7 Thanks: 0 Thanked 0 Times in 0 Posts Rep Power: 0

Thanks very much for this comment. It help me to think about my ideals. Tks again and pls keep posting.

Aug 31st, 2010, 10:03 AM

#10
Re: Database interview questions for beginner

ksrao
Newbie Member Join Date: Aug 2010 Posts: 4 Thanks: 0 Thanked 1 Time in 1 Post Rep Power: 0

Hi, This is really a useful set of oracle sql interview questions for beginner. I found some more good questions for free at wiziq .

Kolla Sanjeeva Rao. OCP Oracle. More


Previous Article | Next Article Page 1 of 2 1 2 >

Similar Threads / Articles SQL Server, Oracle and MySQL basic questions and answers By Shree Limbkar In Database With 8 Replies. General interview questions By jerkjames In Programming With 11 Replies. JDBC Basics - Part I By techgeek.in In Java With 4 Replies. MySQL Storage Engines By Janu In MySQL / PostGRESQL With 1 Reply.

All times are GMT +5.5. The time now is 10:28 PM. Contact Us - Programming and SEO Forums - Sitemap - Advertise - Privacy Statement - Top Content Copyright of Users everything else Copyright Go4Expert 2004 - 2011.

5 of 5

8/20/2011 10:30 PM

You might also like