Uploaded by mefekam510

1Z0-599 PDF Dumps Confirmed Methods for Exceptional Benefits

advertisement
Oracle
1Z0-599
Oracle WebLogic Server 12c Essentials
QUESTION & ANSWERS
https://www.genuinedumps.com/1Z0-599-exam-questions.html
QUESTION 1
You deploy more than one application to the same WebLogic container. The security is set on JavaEE
level
and all deployed JavaEE applications use the same security roles.
What is your recommendation for architecture with those requirements?
A.
B.
C.
D.
E.
Combine all applications into a single one.
Define global roles on the WebLogic Domain level.
Use Ms Active Directory to keep the roles there.
Use Oracle Identity and Access Management solution to simplify the management.
Keep role mapping in the external WebLogic Role Mapped developed for that solution.
Correct Answer: B
Explanation/Reference:
Note:
* Types of Security Roles: Global Roles and Scoped Roles
There are two types of security roles in WebLogic Server:
/ A global security role can be used in any security policy. Oracle provides several default global roles
that
you can use out of the box to secure your WebLogic resource
/ A scoped role can be used only in policies that are defined for a specific instance of a WebLogic
resource
(such as a method on an EJB or a branch of a JNDI tree). You might never need to use scoped roles.
They
are provided for their flexibility and are an extra feature for advanced customers.
Incorrect:
Not E: Role mapping is the process whereby principals (users or groups) are dynamically mapped to
security roles at runtime. In WebLogic Server, a Role Mapping provider determines what security roles
apply to the principals stored a subject when the subject is attempting to perform an operation on a
WebLogic resource. Because this operation usually involves gaining access to the WebLogic resource,
Role Mapping providers are typically used with Authorization providers.
QUESTION 2
A common approach to solve application performance issues is to add more hardware. Which two
reasons describe why this alone does not always solve performance problems?
A. There may be a bottleneck in the application that additional hardware would not solve.
B. Adding more hardware is costly and time consuming.
C. Adding hardware at the application layer may place additional load on an already overloaded
database, network appliance, or storage system.
D. Adding more hardware may introduce new configuration requirements that need to be tested.
https://www.genuinedumps.com/1Z0-599-exam-questions.html
Correct Answer: A,C
QUESTION 3
A customer has a development environment that uses the auto-deployment feature. The customer
claims the application is not redeployed even if the new version is copied to an application
subdirectory. Which two parameters of the configuration should you check?
A. Check if archive file in the compressed version has a new REDEPLOY file.
B. If server was started in the Development Mode. Auto-deployment is not supported in production
mode.
C. If the application includes an EJB 3 module. Auto-deployment is not supported for EJBs.
D. You change JVM from HotSpot to JRockit. Auto-deployment is not supported in HotSpot auto
deployment.
E. If the domain is a single-server domain. Auto-deployment is not supported in multiserver
domains.
Correct Answer: A,B,E
Explanation/Reference:
Auto-deployment is intended for use with a single server target in a development environment. Note:
* If auto-deployment is enabled, when an application is copied into the \autodeploy directory of the
Administration Server, the Administration Server detects the presence of the new application and
deploys it automatically (if the Administration Server is running). If WebLogic Server is not running
when you copy the application to the \autodeploy directory, the application is deployed the next time
the WebLogic Server Administration Server is started. Auto-deployment deploys only to the
Administration Server. * Limitations of Auto-Deployment Auto-deployed applications are very
convenient in a development environment, but there are some limitations: There is no configuration
in config.xml for an auto-deployed application. Therefore, in the Administration Console, there are no
notes or target pages associated with an auto-deployed application because there is no backing
configuration for that information. You cannot associate an auto-deployed application with a
deployment plan since auto-deployed applications do not support any configuration operations which
would be reflected in a deployment plan. You cannot set up security policies or roles for autodeployed applications. You cannot undeploy or redeploy auto-deployed applications using WebLogic
Server tools. Reference; Developing Applications for Oracle WebLogic Server 12c, Auto-Deploying
Applications in Development Domains
QUESTION 4
What are the two proper locations of deployment descriptors files inside of archives deployed to
WebLogic?
A. the WEB-INF subdirectory for a WAR file
B. the META-INF subdirectory for an EAR file, or EJB-JAR
https://www.genuinedumps.com/1Z0-599-exam-questions.html
C. the DD-INF subdirectory
D. the root of archive
E. any searchable location
Correct Answer: A,B
Explanation/Reference:
A:
* The WEB-INF directory contains the deployment descriptors for the Web application (web.xml and
weblogic.xml) and two subdirectories for storing compiled Java classes and library JAR files.
* Web Application - WEB-INF/web.xml ( WEB-INF/weblogic.xml )
The WEB-INF directory is a vital component of your web application. Web application wont run without
it.It
contains a heirarcy in which you’ll find the necessary configuration information for your web
application, and
all the class files for your servlets and classes that are called up by your JSPs.
WEB-INF folder contains all the class files for your servlets and classes that are called up by your JSPs
B:
Enterprise Application - META-INF/application.xml (META-INF/weblogic-application.xml) and META-INF/
ejb-jar.xml ( META-INF/weblogic-ejb-jar.xml )
Generally comprises of EJBs. Bussiness Tier of an application and EJB basically handels the Bussiness
logic of application (distributed objects)
META-INF/application.xml containes Mappings and security roles etc.whereas META-INF/ejb-jar.xml
containes ejb classes , session beans mapping etc.,
The META-INF directory is related to .jar files, It contains the manifest file which has list of jars.
A context-root setting in application.xml takes precedence over context-root setting in weblogic.xml
(The
context root of a web application determines which URLs weblogic will delegate to your web
application.
Note:
* Deployment descriptors are xml documents that describe runtime behaviour for the deployment
unit. The
XML file contains information such as the context root of the web application and the mapping of the
portable names of an application's resources to the application Server's resources
QUESTION 5
Identify the two options that can be used to patch WebLogic Server without Incurring application
downtime.
A.
B.
C.
D.
E.
automated process using the Admin Server
automated using JDeveloper
manual process with or without Smart Update
scripted with WLST
automated process using Enterprise Manager 12c
https://www.genuinedumps.com/1Z0-599-exam-questions.html
Correct Answer: C,D
Explanation/Reference:
Note:
* Rolling Upgrade is the process of upgrading a running WebLogic Server cluster with a patch,
maintenance pack, or minor release without shutting down the entire cluster or domain. During the
rolling
upgrade of a cluster, each server in the cluster is individually upgraded and restarted while the other
servers in the cluster continue to host your application.
QUESTION 6
Which is the correct WebLogic Server distribution version to download if you want to install WebLogic
Server 12c to run in 64 bit mode on a 64 bit Linux X86?
A.
B.
C.
D.
E.
Linux x86 with 64 bit JVM
ZIP distribution for Linux
Linux x86 with 32 bit JVM
Generic distribution
Network installer
Correct Answer: C
Explanation/Reference:
1. Follow the on-screen instructions to access the table of WebLogic Server installers.
2. After accessing the installer table, click the File1 link for the Generic Package or OS-specific
Package
installer, as appropriate for your operating environment. For example, if your operating system is
Linux x86,
click the File1 link under the Linux (32-bit JVM) column, on the Oracle WebLogic Server 12cR1 +
Oracle Coherence row.
Reference: http://docs.oracle.com/cd/E24329_01/web.1211/e24493/getst.htm#GETST149
QUESTION 7
In a Java EE messaging application, one MDB is consuming a lot of memory at high traffic.
What configuration should you use to prevent possible out-of-memory error at high traffic and at the
same
time not losing messages?
A. Configure a Work Manager for the MDB with a Maximum Thread Constraint.
B. Configure a Work Manager for the MDB with a Minimum Thread Constraint.
C. Configure a Work Manager for the MDB with a Maximum Thread Constraint and a Capacity
https://www.genuinedumps.com/1Z0-599-exam-questions.html
Constraint.
D. Configure a Work Manager for the MDB with a Minimum Thread Constraint and a Capacity
Constraint.
E. Configure a Work Manager for the MDB with both a Maximum Thread Constraint and Minimum
Thread Constraint.
Correct Answer: B
Explanation/Reference:
Note:
*
* When to Use Work Managers
Following are guildelines to help you determine when you might want to use Work Managers to
customize
thread management:
/ The default fair share is not sufficient.
This usually ocurrs in situations where one application needs to be given higher priority over another.
/ A response time goal is required.
/ A minimum thread constraint needs to be specified to avoid server deadlock
QUESTION 8
You want to capture WebLogic internal events correlated with JVM events for viewing offline. What
three
actions must you take to enable this within WebLogic?
A. Run WebLogic in a JRockit JVM and ensure the Flight Recorder is enabled.
B. Configure the WebLogic Diagnostic Framework Event Volume to Low, Medium, or High depending
onthe type of events you want to capture.
C. Configure the WebLogic Diagnostic Framework bridge to send events to the JRockit Flight
Recording.
D. Take a dump from the default recording or create a new recording for the time period you want
tocapture.
Correct Answer: A,B,D
Explanation/Reference:
A: You can enable JFR at runtime to take JRA recordings from the JRockit Management Console. You
also
have the option of turning off the JFR and recordings at the JRockit JVM level from the java command
line
using:
https://www.genuinedumps.com/1Z0-599-exam-questions.html
$ java -XX:-FlightRecorder
B:
* In most environments, there is little performance impact when the Diagnostic Volume is set to Low
and
the most performance impact if Diagnostic Volume is set to High. The volume of diagnostic data
produced
by WebLogic Server needs to be weighed against potential performance loss.
* WLDF provides the Diagnostic Volume attribute to set the amount of code coverage that is enabled
and the amount of data provided in the events that are generated for the covered code
The following code example sets the volume to Medium:
...
connect()
edit()
startEdit()
cd("Servers/myserver")
cd("ServerDiagnosticConfig")
cd("myserver")
cmo.setWLDFDiagnosticVolume("Medium")
save()
activate()
D: Integrated with the WebLogic Diagnostic Image and Watch and Notification
system
• Enables capture based on system state, event – capture during event; no need to replicate
• Watch for stuck thread count, heap size increase, available memory, etc.
• Set up notifications: capture WLDF image
• Diagnostic image capture spurs JFR file generation; JFR file included in diagnostic image
• Includes full JFR data from all event generators
Note:
* WebLogic Diagnostic Framework (WLDF) provides specific integration points with JRockit Mission
Control Flight Recorder. WebLogic Server events are propagated to the Flight Recorder for inclusion in
a
common data set for runtime or post-incident analysis.
Reference: Oracle Fusion Middleware Performance and Tuning for Oracle WebLogic Server, Tuning
WebLogic Diagnostic Framework and JRockit Flight Recorder Integration
Reference: JRockit Flight Recorder & WebLogic Diagnostic FrameWork (WLDF) Integration
https://www.genuinedumps.com/1Z0-599-exam-questions.html
Download