nerdexam
Oracle

1Z0-900 · Question #45

1Z0-900 Question #45: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.

Create Java Web Applications using Servlets

Question

How can a servlet indicate to the browser that cookie data should be sent over a secure connection?

Options

  • ACall the getSecure(true) method on the cookie object.
  • BEncrypt the cookie data. The browser automatically sends encrypted data over a secure
  • CSet the ENCRYPT header in the response.
  • DConfigure SessionTrackingMode.SSL on the ServletContext object.

Unlock 1Z0-900 to see the answer

You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#cookies#secure flag#HTTPS/SSL#servlet API
Full 1Z0-900 Practice