nerdexam
IBM

P2180-031 · Question #81

What is a best way to keep an active server session alive?

The correct answer is C. Set heartbeat interval to a value lower than session timeout defined on Worklight server. See the full explanation below for the reasoning.

Question

What is a best way to keep an active server session alive?

Options

  • AAlert user that session is about to expire and ask to perform some action to keep it alive
  • BInvoke any Worklight adapter procedure in the background ignoring the response
  • CSet heartbeat interval to a value lower than session timeout defined on Worklight server
  • DThere is no way to keep session alive from the client. Server is the only entity that can control this

How the community answered

(22 responses)
  • A
    9% (2)
  • B
    9% (2)
  • C
    77% (17)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full P2180-031 Practice