ORACLE APPS DBA INTERVIEW QUESTIONS 1.What are the scripts do you use while Apps Cloning? prepares the source system to be cloned by collecting information about
the database and creating generic templates of files containing source specific hardcoded values. Its location is $COMMON_TOP/admin/scripts/contextname/ creates the new context file used to configure the target system.

2. What is Patch? Patch is a program which fixes the bug. 3. Apps11i Post-Installation steps? 1) Shutdown all Oracle Application Processes 2) Apply Inter-Operability Patch(3830807) 3) Apply Discoverer Patch(3170128) 4) Relink all Oracle Appications executables 5) Restart Oracle Application Processes 4. Apps11i Post Cloning steps? 1)Update the profile options 2)Update the printer settings 3)Update workflow configuration settings 4)Verify APPLCSF variable 5)Update session_cookie_domain in icx_parameter table 5. Types of Patches?  One-off patch: This is the simplest type of patch. It is created to
resolve a specific bug. 

Minipack patch: This is a collection of one-off patches and
enhancements related to a particular module. Alphabetic characters denote the Minipack version for the module; for example, the product code for the Application DBA utilities is AD, and version Minipack I of this product would be called AD.I Family Pack patch: This is a collection of Minipack patches for a particular family group of application modules. Alphabetic characters denote the Family Pack version; for example, the J version of the Human Resources Suite Product Family would be HR_PF.J Maintenance Pack patch: This is a collection of Family Packs that serves as a point-level release upgrade; Oracle Applications Release 11.5.10 is an example of a Maintenance Pack.

6. Contents of a Patch? Readme files Driver files Metadata files Replacement files 7. Modes of Patching? Test mode (apply=n), With the Test mode, we can see the effects

What is the prerequisite to apply Opatch? Database should be down 15. 11i.AD. 11i.HR_PF. and generate actions 9.C 13. What are the drivers present in patching? C driver copies the files and links executables D driver runs the SQL scripts and programs that updates the database G driver generates the forms. Non-interactive mode (adpatch defaultsfile=$APPL_TOP/admin/<SID>/log) 8. Pre-install mode (preinstall=y).3 12. database. What do you do if patch fails? Review log file(s) to determine the cause of the error Fix the cause of the error Restart adpatch Answer 'Yes' when adpatch asks if you want to continue the previous session Adpatch will skip already completed jobs.5. and pick up from where it left off.B For example: 11i.5.<prod>. and plls Hidepw Prevents passwords from being displayed in log files Hotpatch Allows adpatch to be run when the instance is not in maintenance mode 10.H 11.A. 11. Pre-install mode of Autopatch is used when the version of Oracle Applications AutoPatch works with is different than the version of Oracle Applications in the database. Difference between adpatch and Opatch? adpatch is utility to apply Oracle Application Patches opatch is utility to apply Database Patches 14. Maintenance pack naming convention? 11.applying the patch will have on your system before applying the patch.1.G.<prod family name>. Novalidate . We use this mode during upgrade process. Family pack naming convention? 11i. Minipack naming convention? 11i. reports and message files U driver is a consolidated driver containing all copy.<letter> For example: 11i. Options of adpatch? Prevents adpatch from validating all schema connections Noprereq Prevents adpatch from checking the existence of prerequisite patches Nocompiledb Prevents adpatch from compiling database objects Nocompilejsp Prevents adpatch from compiling JSP objects Noautoconfig Prevents adpatch from running autoconfig after the patch has been completed Nogenerateportion Prevents adpatch from compiling forms.AD.2. menus.5.<prod>. 11.

19. How do you reduce patch timings? Merging patches via admrgpch Use various adpatch options like nocompiledb or nocompilejsp Use defaults file 20. AD_DEFERRED_JOBS. adworkXXX.16.I you need to enable maintenance mode in order to apply apps patch via adpatch utility.log ( file name you mentioned while patching ). How to apply a pre-requisite patch when adpatch is running? Shut down the workers using adctrl Backup FND_INSTALL_PROCESSES. Restore the two tables and restart files from backup & run the adpatch. Location of Patch History files? $APPL_TOP/admin/SID/javaupdates<timestamp>. With AD.txt(non-java related files ) 28. 21. Where do you find adpatch log files ? Patch log files will be in directory $APPL_TOP/admin/SID/log like adpatchXXX. restart files(. 17. restart files and apply the pre-requisite patch. How do you find out which drivers have been applied? Query the ad_patch_drivers. 23. If you know that the patch has been applied previously but patch is asking you to apply the existing patch as a pre-requisite? adpatch options=noprereq 18. How do you find out what patches have been applied on database? $ opatch lsinventory 24. How to go for the help on Opatch? opatch help 27.log for worker log files 29. if you want to hide the apps password. drop the above tables. Location of Adpatch default logfile location? $APPL_TOP/install/log . While applying Apps patch using adpatch. If you don't want to put apps in maintenance mode you can use adpatch options=hotpatch feature. How to apply the patch? opatch apply 26.txt(for java related files) $APPL_TOP/admin/SID/adpsv<timestamp>. How to rollback the opatch? opatch rollback 25.rf9) Then. how will that be possible ? Use adpatch flags=hidepw while applying patches in apps to hide apps or system password being displayed on Users Screen. How you put Applications 11i in Maintenance mode ? Use adadmin to change Maintenance mode in Oracle Apps. How do you know that a patch has been applied? Navigate to sitemap > patches patchhistory (or) Query AD_BUGS or AD_APPLIED_PATCHES 22.

Location of APPS password? $IAS_ORACLE_HOME/Apache/modplsql/cfg/wdbsvr. If I have 5 databases. Contents of controlfile? Database name & Identifier Timestamp of database creation Tablespace names Names & locations of datafiles and redolog files Current redolog file sequence number Checkpoint information Begin & end of undo segments Redo log archive information Backup information 38.xml 32. is it possible to point only to 1 bdump? Keep the same location in 'background_dump_dest' parameter for 5 databases in pfiles 34. How do you know whether ur system is autoconfing enabled or not? Run adcfginfo. verify that your system is AutoConfig enabled. swap space and contextfile=$APPL_TOP/admin/ (or) $8. Verify that the latest Rapid Clone Patch has been applied or not 33.30. How do you know the kernel version? uname -r 36. How do you determine whether your system is Rapid Clone enabled? First.dat 31. Then. Contents of pfile? db_name background_dump_dest user_dump_dest core_dump_dest control_files undo_management compatible db_block_size db_cache_size db_domain global_names instance_name max_dump_file_size remote_login_passwordfile service_names shared_pool_size 37. Why do you set Kernel parameters? Oracle uses UNIX resources such as shared memory.6 ORACLE_HOME/report60/server/CGIcmd. How to retrieve recent files? ls -ltr 35.

To setup these parameters permanently is use /etc/sysctl. What is Generic Service Management(GSM)? GSM is an extension of concurrent processing which provides a powerful framework for managing processes on multiple host machines. If your Kernel parameter settings are insufficient for Oracle. How do you find out if Form Server is running or not? ps -ef |grep f60webmx 45.-name<filename> if you are not in present directory. how do you find? find -name<filename> 40. How do you tell what products are installed within Applications? This information can be accessed within Applications from the Alert Manager . How do you delete a responsibility from Oracle Applications? Responsibilities cannot be deleted since those records are kept for security and monitoring purposes. How to enable a new language? Through License Manager 41. What is the Forms Server executable name? f60srvm 46. How do you create the user? Navigate to Security-->user-->define 51. Navigating path: Security -> User -> Define 52. What is the purpose of find? if you are in present directory. you will experience problems during installation and/or instance startup.semaphores for interprocess communication. 43. What is deadlock? When two processes waiting to update the rows of a table which are locked by an other process. The only thing to do is to invalidate the user by assigning an end date to the effective period for the user. So we modify the Kernel parameters in /proc/sys/kernel. How to confirm if Report Server is Up & Running ? ps -ef | grep rwmts60 48. What if the Form Server is slow? Bounce the server 47. However. 49. 39. then deadlock arises. What are Materialized views? Materialized views are schema objects that can be used to summarize and distribute data. How do you take backup in LINUX? By using tar or cp or cpio 42. How do you delete an existing user in the applications? Applications users cannot be deleted since records belonging to users are kept for security and monitoring purposes. how do you find? find . responsibilities can be disabled by assigning an end date to the effective period 53. 50.conf file. How to find out the version of a FORM? f60gen------------------for FORM version 44.

What happens. How do you check the current status of manager processes at OS level? $FND_TOP/sql/afcmstat. What is Confict Resolution Manager? CRM resolves conflicts such as request incompatabilities. What is ICM? ICM is the manager which controls other managers. How do you know whether Concurrent Manager is running or not? ps -ef |grep FNDLIBR 64. If ICM is down. How do you determine whether the standard managers are up? ps -ef |grep FNDLIBR (or)$FND_TOP/sql/afimchk.Responsibility. Where do you see the requests? Query the FND_CONCURRENT_REQUESTS 65. It occurs only in 11i RAC configuration. If it finds other managers down . ICM takes care of the queue control requests. that coordinates the concurrent processes generated by user's concurrent requests. How do you define a Concurrent Manager? Navigate to Manager --> Define 62. If Concurrent manager is not getting up. if Conflict Resolution Manager is down? ICM will take over the jobs of CRM 69. How to start/stop the Concurrent Manager? adcmctl. start/stop (or) $FND_TOP/bin/startmgr 61. 57. what might be the problem? Apps Listener is not up 67. How do you know whether Listener is up or not? ps -ef |grep FNDFS 66. 60. there is an incompatability with concurrent request and is resolved by Conflict Resolution Manager. . 58.sql 63. 56. 55.sql 68. What is Standard manager? Standard manager is the default manager which accepts all kinds of requests. Navigation Path: System--> Installations 54. what happens? All the other managers will keep working. What is Concurrent Manager? Concurrent Manager is a program or process manager on application db server. What is incompatability with Concurrent request? When a concurrent request is being processed and another concurrent manager is trying to process same type of request. What is Transaction manager? A Transaction manager is started on concurrent processing server and periodically reads the pipe (concatenation of Application tier and Database tier) for incoming transactions. it checks & try to restart them. It has no predefined specialization rules and is active all the time. which means starting up and shutting down other concurrent managers.

. How do you change the port values? Port values can be changed in the context file with the help of ContextEditor and running AutoConfig. When you run AutoConfig. 73. and one for the database tier. there is one Applications Context for each application tier. However. What is Queue Size? The queue size is the number of PMON cycles that the ICM waits between checking for disabled or new concurrent managers. The default for queue size of one PMON cycle should be used. but you can lower this number if you see you have a lot of request waiting (Pending/Normal).txt AD_SNAPSHOT. called the Applications Context. What happens if user kills ICM? Applications will be down 71. Location of Snapshot Information? $APPL_TOP/admin/SID/out/snapdnld. What is PMON cycle? This is the number of sleep cycles that the ICM waits between the time it checks for concurrent managers failures.70. 72. 76. You should change the PMON cycle to a number lower than 20 if your concurrent managers are having problems with abnormal terminations. What is the runaway process in CPU? The process to which the memory assigned is not released is known as runaway process. Navigate to Sitemap > Context Editor 77. there exists a template file which determines which values to pick from the XML file. reducing this number to a very low value many cause excessive cpu utilization. Its location is prod_top/admin/template 75. For each configuration file maintained by AutoConfig. What is Auto Config? How does AutoConfig know which value from the XML file needs to be put in which file? Auto Config is a configuration tool that supports automated configuration of an Oracle Application file system. AD_SNAPSHOT_FILES. it reads the XML files and creates all the AutoConfig managed configuration files. which defaults to 20. What is Sleep Time? The sleep time parameter indicates the seconds that the ICM should wait between checking for requests that are waiting to run. Location of AutoConfig template files and its use? AutoConfig uses template files to determine the basic settings that are needed. All of the information required for configuring an Applications file system is collected into a central repository. 74. AD_SNAPSHOT_BUGFIXES 79. The default sleep time is 60. What is Snapshot? Snapshot gives a picture of selected Application related files in a given APPL_TOP 78.

How do you know the database has invalid objects? Select * from dba_objects where status like 'invalid'. How to solve it? Kill the parent process by this command pkill pid 93. Undo information will be written into redo log files. How do you compile invalid objects? By running 'Validate APPS Schema' task in adadmin (or) Run utlrp.80. How do you know the database growth? Query dba_free_space dba_segments dba_extents 89. When you kill a particular process id. In which mode do you up the database after creating control file? startup mount 90.sql.sql. 91. 87. How do you findout the installation is single-node or multi-node? adconfig. catproc.txt-------------------->$APPL_TOP/admin (or) Query FND_NODES . What happens when you give ALTER tablespace begin backup? Datafile headers will be freezed. you are in DbTier 82.sql creates the product and user profile tables Its location is $ORACLE_HOME/sqlplus/admin 86.sql creates views and synonyms on data dictionary Its location is $ORACLE_HOME/rdbms/admin catproc. 83. What is use InterOperability Patch? We apply this patch for the compatability between OS and Oracle 88. 81. pupbld. What is dbclone? Creating same structure of existing database. Location of Apache logs? $IAS_ORACLE_HOME/Apache/Apache/log 85. it is again restarted. How do you know that you are in DbTier or AppsTier? Through XML file.sql. What if the database got crashed after giving ALTER tablespace xxx begin backup? Startup the database in mount mode and give the command ALTER tablespace xxx end backup 92.sql? catalog. Its location is $ORACLE_HOME/rdbms/admin 84.sql creates the PL/SQL procedures and packages Its location is $ORACLE_HOME/rdbms/admin pupbld. Why do you run catalog. How do you drop the user including contents? Drop user XXX cascade. If DbTier=yes.

lst admanifest.ini 105. How do you the Apache version? Type sqlplus after connecting to $IAS_ORACLE_HOME 106.conf 95. When you run the convert character set.cfg. How to find out database version? select * from v$ 96.sql? adutconf. How do you know the OUI version? $IAS_ORACLE_HOME/appsoui/oui/oraparam. Location of audit traces? $ORACLE_HOME/rdbms/audit 100. What is the use of adutconf.cfg. adadmin creates 3 files in the APPL_TOP/admin/SID/out. How do you find out the status and process id of the adworkers? ps –ef |grep adworker 107.lst 99. which files do you look for to trouble shoot? $IAS_ORACLE_HOME/Apache/Apache/conf/ httpd.94. What are they? admanifest_excp. How to find opatch Version ? $ORACLE_HOME/OPatch/opatch version 103. search for entry like jinit_ver_name (or) Under $FND-TOP/resource/appsweb_SID_HOSTNAME. How do you connect to RMAN? rman target system/manager@SID-----To connect remotely rman target / ----------------------------To connect globally 108.ini (or) grep -i version oraparam.sql reports standard information about the installed configuration of Oracle Applications start (or) $ORACLE_HOME/discwb4/util/startall. Location of HTML Cache in Oracle Applications? $OA_HTML/_pages 97. 104.lst . If Apache is getting problems. How to find Apache (web server) is running or not? ps -ef | grep httpd. search for entry like jinit_ver_name 102.conf $ IAS_ORACLE_HOME/Apache/Jserv/etc/jserv. How do you restart the Discoverer in Oracle Applications 11i? addisctl. How do you know the Jinitiator version? Under $COMMON_TOP/html/bin/appsweb_SID_HOSTNAME. Location of PL/SQL Cache in Oracle Applications? $IAS_ORACLE_HOME/Apache/modplsql/cache 98.

dictionary . How do you maintain multiple databases with single instance? By sourcing the environment variables 116. between sys and system? Sys owns data dictionary views System owns the objects owned by oracle utilities 112.109. What happens when you give commit statement? Server process records the SCN & commit record in the redo log buffer LGWR writes the redo log buffer entries & the SCN to redo log files Oracle notifies the user that the commit is completed Server process records that the transaction is completed & that the resource lock can be released 117. Location of Non-OAM context editor wizard? COMMON_TOP/util/editcontext------------------------Application Tier RDBMS_ORACLE_HOME/appsutil/editcontext-----Database Tier 110. uniform. perform logswitch by using ALTER SYSTEM SWITCH LOGFILE Copy the redolog file to the new location Use ALTER DATABASE RENAME FILE xxx TO xxx to make the change in control files. Multiplexing the Redo log files? If the log file is current. Syntax: ln -s filename linkname A hardlink is a pathname that references an inode Syntax: ln filename linkname 115. How to create a user through command prompt? useradd -g groupname -d directory -p password username 114. between sys and sysoper? Sysoper can take backup of controlfile Sys can take full backup of database 113. Multiplexing the controlfile using Pfile Shutdown the database Copy the existing controlfiles to a newname and location Add the new controlfile name to pfile Startup the database 119. autoextend. 120. Multiplexing the controlfile using SPfile Alter system set control_files=location Shutdown the database Create additional controlfiles Startup the database 118. What are the storage clauses do you specify? local. Diff. How to lock/unlock the scott/tiger account? alter user scott account lock/unlock 111. Diff. What is softlink or hardlink? A softlink is a file that points to another file.

Its location is $APPL_TOP/admin/<SID>/restart 135. 129. patchset levels? $AD_TOP/sql/adutconf.121. APPLPTMP? utl_file_dir should be edited in pfile 128. AutoUpgrade. They allow AutoPatch. How to find out the file version? adident Header <filename> 122. How to recover clone data? Recover database until cancel 124. and AD Administration to continue processing at the point where they stopped. after sourcing APPL_TOP & ORACLE_HOME environment files.0/reports/us 131. Location of US directory? $APPL_TOP/au/11. How to change the APPLTMP. How do you know the product versions.5. what happens? and What should you do? autoconfig should be run How do you mount the directories through NFS? mount -t nfs hostname:source destination 123. If . How do you know which user has which privileges? $DBA_SYS_PRIVS 137. What is the utility to upgrade from one version to another version? dbua 125. Location of JAR files? $PROD_TOP/java/jar-------------------------------------APPL_TOP $JAVA_TOP/oracle/apps/<prod>/jar------------------JAVA_TOP 130. What are AutoPatch Restart files? Restart files store information about completed processing in the event of a patch or system failure. How do you create Applications Context file? Run $AD_TOP/bin/adbldxml. Contents of APPL_TOP? environment files and products 126. How to check whether all the processes are running or not? ps -ef |grep smon 136. v$datafile 133. How do you know that the particular datafile belongs to particular tablespace? Query v$tablespace.lst (or) Query PRODUCT_COMPONENT_VERSION table. What does APPLCSF mean? $COMMON_TOP/admin 127. .dbc file is corrupted. will be reset 132. What happens when you give open resetlogs? log sequence no.

1 installation 138. the following values will be prompted for ORACLE_SID used to connect to database Full path to the Rapid Install Configuration file Full path to the JDK 1. such as ORACLE_HOME(RDBMS and IAS) or JRE. 139. It is physically located inside the ORACLE_HOME at $ORACLE_HOME/inventory and contains the detail of the patch level for that ORACLE_HOME. using OUI. It does not have any information about the detail of patches applied to each is included with the OUI patch. What is XML oraInventory? Starting with OUI 2. The Local Inventory gets updated whenever a patch is applied to the ORACLE_HOME.x and do? OUISetup. The inventory is XML if the following file exists $ORACLE_HOME/inventory/ContextXML/comps. The Global Inventory gets updated everytime you install or de-install an ORACLE_HOME. What is OraInventory? The OraInventory stores information about all oracle software products installed in all ORACLE_HOMES and other non-oracle products such as the Java Runtime Environment(JRE). the information in the inventory is stored in Extensible Markup Language(XML) format. The location of the OraInventory is /etc/oraInst.3. 141. 142. you should always do it through the OUI de-installer in order to keep the Global Inventory synchronized. Note: If you need to delete and ORACLE_HOME. the XML inventory is divided into 2 distinct components. What is Local Inventory? There is one Local Inventory per ORACLE_HOME.loc which points the location of Global Inventory. What does OUISetup. listed as a pre-requisite to Rapid Clone.8.Then. The Global Inventory records the physical location of Oracle products installed on the machine. Global Inventory or Central Inventory Local Inventory or Home Inventory 140. The XML format allows for easier diagnosis of problems and faster loading of data. What is Global Inventory? The Global Inventory is the part of the XML inventory that contains the high level list of all Oracle products installed on a machine.5. It should be run as part of the OUI Patch installation and performs the following tasks: .xml Unlike the binary OraInventory.

verify that your system is AutoConfig enabled. verify if latest Rapid Clone Patch has been applied. What is .pl know the target system values? adcfgclone.Register the OUI program in the Global Inventory Register the JRE in the Global Inventory Ensures that the ORACLE_HOME in which the patch is installed is properly registered in the Global Inventory.3. 146. Can you clone a multinode system to a singlenode system? You can use Rapid Clone to merge multiple APPL_TOP and COMMON_TOP file systems into a single APPL_TOP and COMMON_TOP file system. 145. How do you determine if your system is Rapid Clone enabled or not? will prompt for the values required to create the new context file used to configure the target contextfile=context 144. Port Name Default port numubers Web Listener Port 8000 Database Port 1521 RPC Port 1626 Reports Port 7000 Metric Server Data Port 9100 JTF Fulfillment Server Port 9300 148.1 Prompts common to DB and AppsTier Port Pool Number [0-99] 147. Then.6 ORACLE_HOME directory IAS ORACLE HOME directory Location of JDK1.0. There are 100 port pools.dbc file? and its contents? How do applications know the name of the dbc file? . PROMPTS: Database SID Domain name Prompts specific to the DBTier Target system database name RDBMS ORACLE_HOME directory DATA_TOP path Prompts specific to the AppsTier Database server node Does the target system have more than one applications tier server node(Y/N)? Is the target system APPL_TOP divided into multiple mount points(Y/N)? APPL_TOP mountpoint COMMON_TOP directory 8. How does adcfgclone. How do you determine if your system is autoconfig enabled or not? Run adcfginfo. 143. What is Port Pool? The Port Pool provides a way to use a set of predefined server ports.

By using FNDCPASS. HTML 152. Documents to be referred for installation? Installation guide Update Release notes 154. How to check whether the packages are available or not? rpm -qa |grep ar/make/qa 158. mandatory 159. How to findout the java version? java -version 157. How to verify whether java is installed or not? which java 156. The application knows the name of the DBC file by using profile option "Applications Database Id" Contents of dbc file: GUEST_USER_PWD DB_NAME DB_HOST DB_PORT Location: $FND_TOP/secure 149. How do you switch the logfile? alter system switch logfile .dbc stands for database connect descriptor file used to connect to database. How to compile JSP in Oracle Applications? Run ojspCompile. D2K. Whenever java or any other program like forms want to connect to database.loc when it is not present and you dont have root access? run . whose passwords can be changed? Oracle---------Database tier System--------Application tier User-----------Oracle user 161. its uses dbc file. What are the development technologies? Java. Location of installation log files? $ORACLE_HOME/appsutil/log/contextname-------------> on database $APPL_TOP/admin/contextname/log-------------------------->on application 160. How do you set the path of /etc/oraInst. This listener is started by 151. What is Web Listener? Web Listener is web server listener which is listening for web services (HTTP) script Location: $JTF_TOP/admin/scripts 150. when you are doing multinode installation? Yes./rapidwiz -inventory_loc='location' 155. How do you restart the installation? rapidwiz -restart 153. Do you have to install JDK on all systems.

administration schema Applsyspub is the gateway to login to the application 165.ora should be modified .6 1)Unzip the patchset in /stage directory and run the runInstaller 2)Select the 10G OUI and again run the runInstaller 3)Select patchset 4)Startup migrate 5)Run the script catpatch.0. What is Shared Server? In Shared Server environment. Why do you use scope=spfile.2. the parameter will take effect with next database startup BOTH: affect the current instance and persist to the SPFILE. This is the default behaviour if an SPFILE was used at STARTUP 167. Steps to apply Patchset? Patchset includes bugfixes for 9.162. shared_server=no. applsys schema.sql 168. tnsnames. How to enable Shared Server? Two parameters should be set in pfile. How to force the checkpoint? By setting FAST_START_MTTR_TARGET parameter (or) alter system checkpoint 163.0.2. the server process handles the request of several user processes. applsyspub schema? Apps schema contains only synonyms for other modules Applsys schema contains all the fnd tables. Location: $AD_TOP/bin 164. 169. of dispatchers Then. of predefined server processes dispatchers=protocol of dispatcher and no. memory and both? MEMORY: Set for the current instance only. Parameters regarding the performance tuning? audit_trail=true timed_statistics=true max_dump_file_size=10240 It shows whether the system is autoconfig enabled or not. What is the difference between apps schema. What is the purpose of adcfginfo.4 – 9. This is the default behaviour if a PFILE was used at STARTUP SPFILE: update the SPFILE.

Sign up to vote on this title
UsefulNot useful