exam questions

Exam 1z0-900 All Questions

View all questions & answers for the 1z0-900 exam

Exam 1z0-900 topic 1 question 63 discussion

Actual exam question from Oracle's 1z0-900
Question #: 63
Topic #: 1
[All 1z0-900 Questions]

You are building the User Preferences page of an application. A user can change values, such as his or her name, password, address, company, and so on.
These values are sent to a CDI backing bean via AJAX when the user tabs out of each field. However, the values must be retained in the CDI bean and stored in the database only when the user clicks the Save button.
Which two scopes will allow your CDI bean to retain its state while the user is interacting with the User Preferences page? (Choose two.)

  • A. Dependent
  • B. View
  • C. Session
  • D. Request
  • E. Application
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
orjava
7 months ago
Answer B, C. Application Scope and Dependent Scope surely not. Request Scope only retains data by the duration of a request. View and Session scope is correct.
upvoted 1 times
...
devmsaleh
1 year, 11 months ago
Answer should be : B and C
upvoted 2 times
...
LeoAlioth
2 years, 2 months ago
according to this https://docs.oracle.com/javaee/7/tutorial/cdi-basic008.htm, C and E are correct
upvoted 1 times
...
emtchan
2 years, 4 months ago
The answer should be B and C (View and Session).
upvoted 2 times
...
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago