Oracle
1Z0-161 · Question #58
You have created an Oracle Java Cloud Service instance using an Oracle Database as a Service instance named DBaaS. You deploy your application to the Oracle Java Cloud Service instance. Given below…
The correct answer is C. An Oracle Database Cloud - Database as a Service instance named DBaaS is configured for the Oracle Java Cloud Service instance. See the full explanation below for the reasoning.
Question
You have created an Oracle Java Cloud Service instance using an Oracle Database as a Service instance named DBaaS. You deploy your application to the Oracle Java Cloud Service instance. Given below is the code snippet within your application's
weblogic.xml deployment descriptor file. <weblogic-web-app> ... <resource-description> <res-ref-name>DBaaS</res-ref-name> <jndi-name>jdbc/DBaaS</jndi-name> </resource-description> </weblogic-web-app> ... What does this entry indicate?Options
- AAn on-premise data source named DBaaS is configured for use by the application, but not when deployed to the cloud
- BAn on-premise data source named DBaaS is configured for use by the application that is deployed to the cloud
- CAn Oracle Database Cloud - Database as a Service instance named DBaaS is configured for the Oracle Java Cloud Service instance
- DAn Oracle Database Cloud - Database as a Service instance named DBaaS is configured as a data source for the application deployed to the cloud
How the community answered
(25 responses)- A4% (1)
- B16% (4)
- C72% (18)
- D8% (2)
Community Discussion
No community discussion yet for this question.