Oracle OCA 1Z0-301
1. Which two protocols are used to communicate directly to an OC4J instance that is deployed as part of
an Oracle9iAS instance? (Choose two.)
A. ORMI
B. HTTPS
C. HTTP
D. AJP12
E. AJP13
Answer: AE
2. An application developer provides you with the LoginServlet.class file and informs you that the servlet
needs to connect to your production database.
As a Web Administrator, you are responsible for configuring the appropriate data source. No data sources
have been configured up to now. Which three are true regarding enabling the servlet to connect to the
database? (Choose three.)
A. You can use the preinstalled data source and customize it appropriately for your needs.
B. To use the preinstalled data source you first need to delete the <data-source> entries.
C. If it is a global data source that applies to all applications, the data source is configured at the
application level for this application.
D. Global data sources are specified in the data-sources.xml file and applications can refer to that.
E. If it is a local data source that applies to only this application, the data source is configured at the
application level for this application.
F. Data sources are defined in the application.xml file and your application can know about those data
sources only if the data-sources.xml file knows about it.
Answer: ADE
3. Documents matching the following regular expression are defined as being cacheable in the
cacheability rules for your Web Cache:/.html?$
Your site has many .htm and .html files that are presented to Web visitors. Which file types will be
cached?
A. The .html files would be cached, but not the.htm files.
B. The .htm files would be cached, but not the .html files.
C. Both the .html files and the .htm files would be cached.
D. Neither the .html files nor the .htm files would be cached.
Answer: C
4. The machine hosting your Oracle9iAS Infrastructure has been stopped and the operating system has
been restarted. Which three steps do you need to take to get Oracle Internet Directory working? (Choose
three.)
A. Start Enterprise Manager daemon.
B. Start the Oracle9iAS metadata repository and the database listener.
C. Start Oracle Management Server in order to get connected to OEM Web site.
D. Navigate to the infrastructure homepage, select Oracle Internet Directory, and then click Start.
E. Navigate to the Farm page, select the Oracle9iAS Infrastructure instance, and click Start All to start
Oracle9iAS metadata repository and the database listener and all OID components.
F. Navigate to the Oracle Internet Directory home page and start the Distributed Administration Service.
Answer: ABD
5. The Web Cache Web site's invalidation messages can be sent to the target Web Cache's invalidation
port through which two methods? (Choose two.)
A. AJP
B. HTTP GET
C. HTTP POST
D. Oracle Net
E. HTTP GET WITH STRING
Answer: BC
1. Which two protocols are used to communicate directly to an OC4J instance that is deployed as part of
an Oracle9iAS instance? (Choose two.)
A. ORMI
B. HTTPS
C. HTTP
D. AJP12
E. AJP13
Answer: AE
2. An application developer provides you with the LoginServlet.class file and informs you that the servlet
needs to connect to your production database.
As a Web Administrator, you are responsible for configuring the appropriate data source. No data sources
have been configured up to now. Which three are true regarding enabling the servlet to connect to the
database? (Choose three.)
A. You can use the preinstalled data source and customize it appropriately for your needs.
B. To use the preinstalled data source you first need to delete the <data-source> entries.
C. If it is a global data source that applies to all applications, the data source is configured at the
application level for this application.
D. Global data sources are specified in the data-sources.xml file and applications can refer to that.
E. If it is a local data source that applies to only this application, the data source is configured at the
application level for this application.
F. Data sources are defined in the application.xml file and your application can know about those data
sources only if the data-sources.xml file knows about it.
Answer: ADE
3. Documents matching the following regular expression are defined as being cacheable in the
cacheability rules for your Web Cache:/.html?$
Your site has many .htm and .html files that are presented to Web visitors. Which file types will be
cached?
A. The .html files would be cached, but not the.htm files.
B. The .htm files would be cached, but not the .html files.
C. Both the .html files and the .htm files would be cached.
D. Neither the .html files nor the .htm files would be cached.
Answer: C
4. The machine hosting your Oracle9iAS Infrastructure has been stopped and the operating system has
been restarted. Which three steps do you need to take to get Oracle Internet Directory working? (Choose
three.)
A. Start Enterprise Manager daemon.
B. Start the Oracle9iAS metadata repository and the database listener.
C. Start Oracle Management Server in order to get connected to OEM Web site.
D. Navigate to the infrastructure homepage, select Oracle Internet Directory, and then click Start.
E. Navigate to the Farm page, select the Oracle9iAS Infrastructure instance, and click Start All to start
Oracle9iAS metadata repository and the database listener and all OID components.
F. Navigate to the Oracle Internet Directory home page and start the Distributed Administration Service.
Answer: ABD
5. The Web Cache Web site's invalidation messages can be sent to the target Web Cache's invalidation
port through which two methods? (Choose two.)
A. AJP
B. HTTP GET
C. HTTP POST
D. Oracle Net
E. HTTP GET WITH STRING
Answer: BC