Download IBM WebSphere Application Server Developer Tools V8.5 with Liberty Profile.C9510-319.TestKing.2019-02-22.75q.vcex

Vendor: IBM
Exam Code: C9510-319
Exam Name: IBM WebSphere Application Server Developer Tools V8.5 with Liberty Profile
Date: Feb 22, 2019
File Size: 3 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
A developer is installing a Liberty profile runtime environment on a Windows machine and has specified the following installation path:
C:\IBM\WebSphere
When the installation is finished, in which directory will all of the Liberty profile files be stored?
  1. C:\IBM\WebSphere\wlp
  2. C:\IBM\WebSphere\server
  3. C:\IBM\WebSphere\liberty
  4. C:\IBM\WebSphere\profile
Correct answer: A
Question 2
Which task is supported on WebSphere Application Server Developer Tools when targeting the Liberty runtime?
  1. Start and stop a remote server
  2. Federate applications to the server
  3. Deploy RESTful Web Services (JAX-RS) applications
  4. Automatically update the target runtime when importing an application with an invalid runtime
Correct answer: C
Question 3
A developer using WebSphere Application Server Developer Tools wants to create a web project that will contain servlets and JSP files. The developer opens the New Web Project wizard using File > New > Web Project menu item. 
What should the developer do in the New Web Project wizard to accomplish this?
  1. Select the Web 2.0 Project template.
  2. Select the Simple Project template, and select Java EE in the Programming Model section.
  3. Select the Simple Project template, and select Client-side only in the Programming Model section.
  4. Select the Simple Project template, and add the Servlets and JSP facets using the Change Features button.
Correct answer: B
Question 4
A developer using WebSphere Application Server Developer Tools has written a web application that is shared by multiple EAR projects. Which statement is true if the developer deletes the web application?
  1. All the references to the Web application are re moved from the EAR projects by default.
  2. The developer must remove the references to the web application from all the EAR projects before deleting the web application.
  3. All the references to the Web application are re moved from the EAR projects only if none of the projects are deployed to a Liberty server.
  4. All the references to the Web application are removed from the EAR, but only if the user selects to do that in the Delete Resources confirmation dialog.
Correct answer: A
Question 5
A developer is using the WebSphere Server application Developer Tools to convert their existing JPA project to an OSGi JPA bundle. The original JPA project has a persistence.xml file that is by default located in the src/META-INF folder of the project. 
The developer invokes the action to convert the JPA project to an OSGi bundle project. 
Which changes are expected to be performed by the tools to the original project when it is converted to an OSGi bundle?
  1. The MANIFEST.MF file is generated under a new META-INF folder in the root of the project. The following entry is added to the MANIFEST.MF file: Meta-Persistence
  2. The MANIFEST.MF file is generated under a new META-INF folder without a Meta-Persistence: Entry
  3. The MANIFEST.MF file is generated in the src/META-INF folder which contains the persistence.xml file. The following entry is added to the MANIFEST.MF file: Meta-Persistence
  4. The MANIFEST.MF file is generated in the BundleContext/META-INF folder. The persistence.xml is moved from the src folder to the same location as the MANIFEST.MF.
Correct answer: C
Question 6
The manifest file of an OSGi application project contains the following headers:
Application-Content: BundleA; version=1.0.0, BundleB; version=1.0.0
Use-Bundle: BundleC; version=1.0.0
Which statement is true about the bundle content of this OSGi application?
  1. BundleA, BundleB and BundleC are directly contained in the application.
  2. BundleA, BundleB and BundleC are references to bundles that are hosted in an OS Gi bundle repository.
  3. BundleA and BundleB are directly contained in the application while BundleC is a reference to a bundle that is hosted in an OSGi bundle repository.
  4. BundleC is directly contained in the application while BundleA and BundleB are references to bundles that are hosted in an OSGi bundle repository.
Correct answer: C
Question 7
A developer has created a Liberty server in WebSphere Application Server Developer Tools for Eclipse. 
How can the developer start the Liberty server from the Servers view using a JRE different from the default JRE?
  1. Open the Runtime Explorer view, select the runtime and click the Properties context sensitive menu item. Change the JRE set ting under the Server category in the Properties dialog.
  2. Open the Server Configuration editor by double c licking the server configuration in the Servers view, add a JVM configuration element and specify the JRE location in the Location field.
  3. Open the Server editor by double clicking the server in the Servers view, select the Runtime Environments link and change the JRE setting in the Liberty Profile Runtime Environment dialog.
  4. Open the Server Configuration editor by double clicking the server configuration in the Servers view, add a Variable configuration element with the Name field set to java. Home and the Value field set to the location of the JRE.
Correct answer: C
Question 8
A developer is testing a web application using a Liberty profile server. The application will also need to run on a Tomcat server and cannot make use of any APIs that are specific to the Liberty profile server. How can the user ensure that no classes outside of the specification classes are used by the application during the test?
  1. Create a file server.env under the same directory as the server.xml file and add the following line: 
    Class-Path-Visibility=spec
  2. Open the meta-inf/manifest.mf file under the web project, add the following line: 
    Class-Path-Visibility: specification
  3. On the Server > Runtime Environment preference page, edit the Liberty profile runtime entry and select only the Specification checkbox under the API visibility section.
  4. In the Server Configuration editor, create a Classloader Service item under the application element and add the attribute apiTypeVisibility with the value of spec.
Correct answer: D
Question 9
In WebSphere Application Server Developer Tools with default settings, which situation will cause validation errors instead of warnings in the Problems view?
  1. The closing </form> tag of a form element in an HTML page is omitted and the file is saved.
  2. An optional header of a bundle manifest file is misspelled in the Source view, and the file is then saved.
  3. A user is added to a basic user registry in the Liberty server.xml file with a name and a password, without the password being encoded.
  4. A package is used and specified in an Import-Package header of a bundle manifest file, and no corresponding Export-Package header exists for the same package in the manifest file of another bundle in the workspace.
Correct answer: D
Question 10
A developer runs a servlet from an OSGi web project named CounterWebBundle on a Liberty server and gets the following error message when the doGet method of the servlet is run:
[ERROR ] SRVE0777E: Exception thrown by application class
'com.ibm.ws.eba.servlet.CounterServlet.doGet():42' java.lang.NoClassDefFoundError: javax.naming.InitialContext
How should the developer resolve the problem?
  1. Ensure that jndi-1.0 and serverStatus-1.0 are added to the Feature Manager in the server configuration.
  2. Ensure that jndi-1.0 is added to the Feature Manager in the server configuration and the javax.naming package is added to the Import-Package of CounterWebBundle.
  3. Ensure that jndi-1.0 is added to the Feature Manager in the server configuration and Web 2.0 is selected in the Project Facets of the Properties for CounterWebBundle.
  4. Ensure that jndi-1.0 is added to the Feature Manager in the server configuration and the javax.naming.InitialContext is specified in the init-method of the bean specified in the blueprint.xml file of CounterWebBundle.
Correct answer: B
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!