[Free] 2018(Jan) EnsurePass Examcollection Oracle 1z0-897 Dumps with VCE and PDF Download 61-70

EnsurePass 2018 Jan Oracle Official New Released 1z0-897
100% Free Download! 100% Pass Guaranteed!
http://www.EnsurePass.com/1z0-897.html

Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam

Question No: 61 – (Topic 2)

Given that a web service endpoint is based on the stateless session EJB:

Ensurepass 2018 PDF and VCE

Which is true about the security roles of clients of MrBean? (Choose one)

  1. Only EJB clients must be in role A.

  2. Only Web Service clients must be in role A.

  3. Both EJB and web service clients must be in role A.

  4. Both EJB and web service clients must NOT be in role A.

Answer: C

Question No: 62 – (Topic 2)

Choose the option that best describe the deployer#39;s choices, when deploying an EJB that is also exposed as a RESTful web service using JAX-RS (Choose one):

  1. The EJB can only be deployed to a web container, since RESTful access to the EJB requires a web container to support the HTTP interaction needed.

  2. The EJB can be deployed to any EJB or web container that would support local references to the EJB from the JAX-RS runtime in the ejb container.

  3. The EJB can be deployed to any EJB or web container that would support local references to the EJB from the JAX-RS runtime in the web container.

  4. The EJB can be deployed to an EJB or web container that is visible to the JAX-RS

runtime, even on an application server separate from the JAX-RS runtime, since EJBs support local or remote interactions via RMI.

Answer: C

Question No: 63 – (Topic 2)

A developer needs to write a Web service that supports user sessions that timeout after 120 seconds. Which configuration file is correct for the developer use? (Choose one)

  1. web.xml

  2. server.xml

  3. ejb-jar.xml

  4. service-config.xml

Answer: A

Question No: 64 – (Topic 2)

A developer is creating a web service endpoint using a stateless session EJB for the business logic of an application. Choose two methods to select role based access control for the business logic ? (Choose two)

  1. Using method-permission element in ejb-jar.xml

  2. Using .htaccess file in the application#39;s ear

  3. Using lt;security-rolegt; element in web.xml

  4. By specifying security annotations like @RolesAllowed in the EJB class

Answer: A,D

Question No: 65 – (Topic 2)

A developer creates the following web service:

Ensurepass 2018 PDF and VCE

Assuming that he packages the class in a war file without deployment descriptors, the web service is hosted by a EE container relative to module context at ? (Choose one)

  1. quot;/Invoicequot;

  2. quot;/InvoicePortquot;

  3. quot;/InvoiceServicequot;

  4. quot;/InvoiceWebServicequot;

Answer: C

Question No: 66 – (Topic 2)

Given the resource class fragment:

Ensurepass 2018 PDF and VCE

Choose the code fragment below that would secure access only to the Resource update() method (Choose one):

  1. lt;security-constraintgt;

    lt;web-resource-collectiongt;

    lt;url-patterngt;/restlt;/url-patterngt;

    lt;http-methodgt;GETlt;/http-methodgt;

    lt;http-methodgt;POSTlt;/http-methodgt;

    lt;/web-resource-collectiongt;

  2. lt;security-constraintgt;

    lt;web-resource-collectiongt;

    lt;url-patterngt;/restlt;/url-patterngt;

    lt;http-methodgt;POSTlt;/http-methodgt;

    lt;/web-resource-collectiongt;

  3. lt;security-constraintgt;

    lt;web-resource-collectiongt;

    lt;url-patterngt;/rest/idlt;/url-patterngt;

    lt;http-methodgt;POSTlt;/http-methodgt;

    lt;http-methodgt;GETlt;/http-methodgt;

    lt;/web-resource-collectiongt;

  4. lt;security-constraintgt;D.lt;security-constraintgt;

lt;web-resource-collectiongt;

lt;url-patterngt;/idlt;/url-patterngt;

lt;http-methodgt;POSTlt;/http-methodgt;

lt;/web-resource-collectiongt;

Answer: B

Question No: 67 – (Topic 2)

Given the JAX-RS root resource class fragment:

Ensurepass 2018 PDF and VCE

Choose the statement that best describes the configuration that would be required to support the access control constraint shown:

  1. No further configuration is required – the JavaEE runtime will pick up the security constraint and configure the web container to match.

  2. The developer will have to configure the web container to require authenticated access to the URLs corresponding to this resource, so the proper information can be propagated to the EJB container.

  3. The developer will have to turn on authentication in the web container configuration file, so that all incoming requests are authenticated in order to be processed.

  4. The developer will have to configure the web container to require authenticated access to the URLs corresponding to this resource, and then map web-tier roles to ejb-tier roles, since the JAX-RS and EJB runtimes cannot use the same set of roles.

Answer: B

Question No: 68 – (Topic 2)

In which order do LogicalHandlers and SOAPHandlers configured on a Web Service endpoint execute on an incoming message ? (Choose one)

  1. SOAPHandlers in the order specified in configuration are executed first and later the LogicalHandlers specified in the order get executed

  2. LogicalHandlers in the order specified in configuration are executed first and later the SOAPHandlers specified in the order get executed

  3. All the handlers are executed in the order specified in the configuration

  4. All the handlers are executed in the reverse order specified in the configuration.

Answer: A

Question No: 69 – (Topic 2)

Choose two options from the following that can be achieved by setting the standard BindingProvider properties on a SEI proxy: (Choose two)

  1. Configuring HTTP Basic Authentication credentials to access a service

  2. Validating against schema for outgoing client messages

  3. Adding additional SOAP headers for outgoing messages

  4. Specifying web service endpoint address for service invocations

Answer: A,D

Question No: 70 – (Topic 2)

Given the following web service:

Ensurepass 2018 PDF and VCE

How many web methods are there in the above web service ? (Choose one)

  1. 1

  2. 2

  3. 3

  4. 4

  5. 5

Answer: D

100% Free Download!
Download Free Demo:1z0-897 Demo PDF
100% Pass Guaranteed!
Download 2018 EnsurePass 1z0-897 Full Exam PDF and VCE

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2018 EnsurePass IT Certification PDF and VCE