Ensurepass

QUESTION 11

A developer has completed a web project but has not applied any security mechanism. Currently all the pages are open for anyone to access. Which two can be configured using the RAD8 Security Editor? (Choose two.)

 

A.

a list of roles and the resources the roles can access

B.

the web page to use for login and error

C.

the user authentication mechanism used for the application

D.

the link between the web application and an external directory (e.g., Microsoft Active Directory)

 

Correct Answer: AC

 

 

QUESTION 12

A developer has added jsf-trace.jar to the project. The developer needs to mention the host name on the context parameter of the web application. Which parameter name can the developer mention for the host on web.xml?

 

A.

com.ibm.faces.trace.HOST

B.

com.ibm.faces.debug.HOST

C.

com.ibm.faces.log.HOST

D.

com.ibm.faces.print.HOST

 

Correct Answer: A

 

 

QUESTION 13

With Rational Application Developer workbench, what can a developer open only one at a time?

 

A.

workspace

B.

view

C.

perspective

D.

window

 

Correct Answer: A

 

QUESTION 14

What does the Eclipse Test and Performance Tools Platform (TPTP) JUnit test generate?

 

A.

automation scripts, which reduce manual testing efforts

B.

multiple test cases for a class, which improve reliability

C.

an execution history from which a report can be created

D.

test data, which can be used to simulate actual production workloads

 

Correct Answer: C

 

 

QUESTION 15

When do connection pools simplify resource allocation?

 

A.

when the resources are deployed on a single server instead of multiple servers.

B.

when the resources are allocated from data sources and not from places in the code

C.

when the resources are allocated from the same data source each time a call is made

D.

when the resources are no longer required to be allocated from the application server

 

Correct Answer: B

 

 

QUESTION 16

In the Rational Application Developer workbench, what does the Content Assist feature do?

 

A.

shows possible code completions that are valid with the current context

B.

auto saves changes to create a workbench history of files

C.

prompts the developer for the workspace that should be used

D.

formats Java code using a predefined set of rules

 

Correct Answer: A

 

 

QUESTION 17

There is a simple named query defined in the following way:

 

@NamedQuery(name=etCustomer? query=elect c from Customer c?@NamedQuery(name=?etCustomer? query=?elect c from Customer c?

 

Which Entity Manager (em) method must be used to access this defined named query?

 

A.

Query q = em.createNamedQuery(etCustomer?;Query q = em.createNamedQuery(?etCustomer?;

B.

Query q = em.createQueryByName(etCustomer?;Query q = em.createQueryByName(?etCustomer?;

C.

Query q = em.findNamedQuery(etCustomer?;Query q = em.findNamedQuery(?etCustomer?;

D.

Query q = em.getNamedQuery(etCustomer?;Query q = em.getNamedQuery(?etCustomer?;

 

Correct Answer: A

 

 

 

 

 

QUESTION 18

Within which view is it possible to define and change the version of JPA that should be used in the JPA project?

 

A.

Java Persistence

B.

Project Facets

C.

Project Properties

D.

Resource

 

Correct Answer: B

 

 

QUESTION 19

Which annotation is used to define a JPA entity?

 

A.

@Entity

B.

@Id

C.

@JPAEntity

D.

@Table

 

Correct Answer: A

 

 

QUESTION 20

What does the RAD Scrapbook feature makes it possible for you to do?

 

A.

run and test Java code without creating an executable test class

B.

create test servers for running and testing Java code

C.

run Java projects with different versions of JREs

D.

transfer the contents of one Java archive file to another

 

Correct Answer: A

 

Free VCE & PDF File for IBM C9510-819 Real Exam

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

Comments are closed.