Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
 

Oracle 1z0-900 Exam Actual Questions

The questions for 1z0-900 were last updated on July 8, 2024.
  • Viewing page 1 out of 36 pages.
  • Viewing questions 1-4 out of 142 questions

Topic 1 - Single Topic

Question #1 Topic 1

You need to develop a chat application, which allows the display of emoticons and images together with text messages.
How should you configure a WebSocket endpoints to receive both text and binary messages?

  • A. Create two @onMessage methods in the same endpoint with appropriate parameter types.
  • B. Define the @onMessage methods in your endpoint with Object as parameter and check the actual type in your code.
  • C. You can achieve this only by creating separate WebSocket endpoints for each message type.
  • D. Create two @onMessage methods, each with appropriate decoder attribute in the same endpoint.
Reveal Solution Hide Solution   Discussion   3

Correct Answer: A 🗳️

Question #2 Topic 1

Which two capabilities are provided by the Java Authentication and Authorization Services (JAAS) API? (Choose two.)

  • A. protecting data from unauthorized viewing by using encryption
  • B. verifying that a user is allowed to perform an action
  • C. ensuring that data is not modified in transit
  • D. verifying identity claims from users
Reveal Solution Hide Solution   Discussion   3

Correct Answer: BD 🗳️

Question #3 Topic 1

Which interface should you implement if you want to be alerted to the lifecycle events surrounding your task being executed by a ManagedExecutorService?

  • A. the Runnable Interface
  • B. the ManagedExecutorTask interface
  • C. the TaskEventListener interface
  • D. the ManagedTaskListener interface
Reveal Solution Hide Solution   Discussion  

Correct Answer: D 🗳️
Reference:
https://github.com/javaee/concurrency-ee-spec/blob/master/api/src/main/java/javax/enterprise/concurrent/ManagedExecutorService.java

Question #4 Topic 1

Given the code fragment:

Which URL triggers the invocation of the getEmployee () method?

  • A. <base url>/Employees/89724
  • B. <base url>/Employees/J6349
  • C. <base url>/Employees/id:a7280
  • D. <base url>/Employees/id/J6349
Reveal Solution Hide Solution   Discussion   4

Correct Answer: B 🗳️

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in