ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
I am quite frankly amazed at the low quality of questions asked during interviews.
This page is a compilation of questions you can expect from me during an interview for an Oracle-related position. They are not intended to be complete but rather to highlight things that are important and rarely asked.
Will there be any answers posted here? Only if you pay in Credit Suisse bars, fine single-malt scotch, and/or via a consulting contract.
DBA Questions
The following questions have been developed to afford a reasonable view into the skills, experience, and qualifications of someone applying for the position of Oracle DBA.
Relevant follow-up questions should be assumed.
If you are assigned to managing 20-200 production databases. What tools will you want and why?
Assuming the above ... design your backup strategy on the white board. Ask any questions required to gather the information necessary to do so.
Assuming the above ... what are you going to do to make sure these databases are properly configured for security, stability, scalability, and high availability?
Assuming the above ... describe your normal activities from the beginning to the end of your work day.
What is Jonathan Lewis' most recent book about and what was the most important thing you learned from reading it?
What was the last class you took to improve your skills and what is the most important thing you learned from it?
Describe the best and worst days of your career as a DBA.
Someone just called you on the phone and told you that no one can connect to the Accounts Payable application. Describe, in detail, what you will do to resolve the issue?
You just got an email from the help desk saying the Distribution system is running unacceptably slowly. Describe, in detail, what you will do to resolve the issue?
A table in your DSS system has a bitmap index on one column. You
update one byte in one row. How much redo will be generated and why: In
version 11.2? In version 12.2?
What are the issues related to running nologging transactions on a production server?
What are the implications of a database with multiple data block sizes? When might you choose non-standard block sizes?
Describe, in detail, what happens when the following commands are issued in sequence: STARTUP NOMOUNT, ALTER DATABASE MOUNT, ALTER DATABASE OPEN, SHUTDOWN NORMAL. In what version of Oracle would your answer not be correct?
What is the worst system failure in your career as a DBA and what was your part in resolving it?
What is the correct number of PMON and DBWR processes for a database?
What is your favorite new feature in version 18c ... and why?
What is your favorite new feature in version 19c ... and why?
What will you do if after we hire you I ask you to grant the DBA role to the VP of Marketing?
An employee just emailed you that they accidentally updated all of the
rows in a lookup table. What will you do?
In what way is Oracle's claim that any application can run on RAC not true?
When deploying DataGuard: Why might you want to have more than one listener on each server?
What are the best and worst aspects of working with MyOracleSupport?
Describe the steps you would use to apply a PSU or CPU to a database.
What is an RDA and what have you used them for?
Review this Alert Log [Alert log provided by interviewer] and tell me what you see of interest.
Review this AWR report [AWR report provided by interviewer] and tell me what you see of interest.
What is Edition Based Redefinition and why would you utilize it?
If you created a database user named C##TOOLS why did you name the user this way?
On the white board write a fully functional package header and body containing one stored procedure and one function including exception handling.
How would you evaluate the value of In-Memory option for an
application database?
A DBA that previously managed a database created an application container ... why?
What is the worst mistake you have made as an Oracle DBA, what did you
do, who did you inform and when, and how was it resolved?
How many servers do you have at home?
SQL & PL/SQL Developer Questions
The following questions have been developed to afford a reasonable view into the skills, experience, and qualifications of someone applying for the position of SQL and/or PL/SQL Developer.
Relevant follow-up questions should be assumed.
When is it appropriate to use PL/SQL rather than SQL?
When is it appropriate to use dynamic rather than static SQL?
What is the difference between an implicit cursor and an explicit cursor? Write an example of each on the whiteboard.
Explain the Oracle transaction model including MVCC and SCNs.
Explain the Oracle locking model and the proper use and variants of the FOR UPDATE statement.
Your code is generating ORA-01555s. What are the possible causes?
How do the SAVE EXCEPTIONS and LIMITS clauses work?
What is the last book you read to improve your development skills and what is the most important
thing you learned?
What as the last class you took to improve your skills and what is the most important new thing you learned from it?
Why did Tom Kyte say that "triggers are evil?"
Explain how SQL Injection works and how you would prevent it.
What are your four favorite Oracle supplied built-in packages and how have you used them?
What is partition pruning and how does it work? Provide an example of where you would expect it to not work.
What is DBMS_XPLAN and how have you used it?
Under what situations would you consider the use of a function based index?
What is the biggest technical mistake you have made during your career as an Oracle developer?
What is your favorite new feature in 18c and why?
What is your favorite new feature in 19c and why?
Which PL/SQL warning has been most valuable to you?
What would you do if an explain plan indicated that your code was very fast but when run it took hours to complete?
Which hints do you use and why?
What is a pragma and how have you used them?
What is JSON and how would you create a table supporting JSON?
Please take a look at this code sample [code_provided by interviewer]. How would you improve it?
Please take a look at this explain plan [plan_provided by interviewer] and describe the order of execution.
What is the worst mistake you have made as a developer, what did you
do, who did you inform and when, and how was it resolved?
How many servers do you have at home?
DBA Manager Questions
The following questions have been developed to afford a reasonable view into the skills, experience, and qualifications of someone applying for the position of DBA Manager:
Not from the standpoint of managing people but from the standpoint of hiring and managing DBAs.
Relevant follow-up questions should be assumed.
Due to an accident a table has been dropped from a production database. Your two most senior DBAs come to you with different solutions. One wants to recover the table from last night's backup. The other wants to recover it from the recyclebin. What do you do?
The organization runs an e-commerce business that takes orders for contact lenses on its website. Describe the landscape from a compliance, governance, and regulatory point of view and the specific issues you and your team will need to address.
The company has decided to move from generic 3U servers to ODAs and Exadata and to implement Edition Based Redefinition in 19cR3. No one on the current team has the required skill sets. Please write a job description on the white board and describe how you would interview candidates?
What is your responsibility with respect to servers, storage, and networking?
Who is responsible for keeping the team's skill set current?
What have you done during your career to keep your skill set current with respect to the highly technical teams you've managed?
What operating systems do you think are appropriate for an Oracle database and why?
What are the plusses and minuses with respect to full backups versus incremental backups?
Four nines of uptime means a system can be unavailable for how many minutes per year?
It is 2:30am and a production database is down. What instructions does your team have? Where are you? What are you doing? How will your team reach you?
You have a team of DBAs in the local office and a team at a remote location. A local DBA has changed the password of a critical account. How do you communicate the new password to the DBAs at the remote location?
An Oracle salesperson is telling you that you need to purchase Database Vault to secure your database. What are your concerns and how are how will you determine whether purchasing the licenses will solve your security issue?