SESSION MANAGEMENT MCQs – CHAPTER 7 DAE 10 min Score: 0 Attempted: 0/10 Subscribe 1. . Which of the below is not a session tracking method? (A) URL rewriting (B) SSL sessions (C) Cookies (D) HistoryShow All Answers 2. . Which of the following is stored at client side? (A) URL rewriting (B) Hidden form fields (C) Cookies (D) SSL sessionsShow All Answers 3. . Which of the following leads to high network traffic? (A) Hidden form fields (B) URL rewriting (C) SSL sessions (D) CookiesShow All Answers 4. . What is the maximum size of cookie? (A) 4 bytes (B) 4 MB (C) 4 KB (D) 40 KBShow All Answers 5. . Which method creates unique fields in the HTML which are not shown to the user? (A) User authentication (B) HTML Hidden field (C) URL writing (D) HTML invisible fieldShow All Answers 6. . Which object is used by spring for authentication? (A) ContextHolder (B) SecurityContextHolder (C) AnonymousHolder (D) SecurityHolderShow All Answers 7. . Which object of HttpSession can be used to view and manipulate information about a session? (A) All mentioned above (B) Creation time (C) Last accessed time (D) Session identifierShow All Answers 8. . Which class provides stream to read binary data such as image etc. from the request object? (A) Both A & B (B) ServletOutputStream (C) ServletInputStream (D) None of the aboveShow All Answers 9. . Which of these ways used to communicate from an applet to servlet? (A) RMI Communication (B) All mentioned above (C) Socket Communication (D) HTTP CommunicationShow All Answers 10. . Which method is used to send the same request and response objects to another servlet in RequestDispatcher? (A) Both A & B (B) sendRedirect() (C) forward() (D) None of the aboveShow All Answers