C2040-409

C2040-409 practice questions, page 3 of 5, with answer review and explanations.

Question 11

Charles is designing a database agent with IBM LotusScript that will display the name(s) of the folder(s) that a specific document is in, if it is in one or more folders. He is using the FolderReferencesEnabled property of the NotesDatabase Class. Which statement is true regarding the FolderReferencesEnabled property?

  1. The database must have the $FolderInfo hidden view to support folder references.
  2. The database must have $FolderRefInfo defined in the database profile to support folder references.
  3. The database must have the $FolderInfo and $FolderRefInfo hidden views to support folder references.
  4. The database must have $FolderInfo and $FolderRefInfo forms defined in the database profile to support folder references.

Question 12

An IBM Domino application performs certain operations, such as DDE-related functions, that are not available in all platform versions of IBM Notes and Domino. What function can be used to determine the underlying operating system?

  1. @Version
  2. @ClientType
  3. @Platform([Specific])
  4. @Platform([ClientType])

Question 13

Mary wants to attach the IBM Domino Designer JavaScript remote debugger to her server, and finds the parameter JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8000 already set in the server's notes.ini. What does the address=8000 mean?

  1. This is the port the client will use to connect for debug.
  2. This is the limit of user requests which will be debugged.
  3. This is the real memory address which will be debugged.
  4. This is the limit of memory in KB which can be used to debug.

Question 14

Mary has written an IBM Domino XPage application called myxsp in myDb.nsf on myServer. The end users are reporting performance issues on first use after the server starts. What two things could Mary do to improve performance of the application? (Choose two.)

  1. Set XPagesPreload=1 in the server notes.ini.
  2. Add myxsp to the JavaUserClasses in the notes.ini.
  3. Reduce the Java hap size via HTTPJavamaxheapsize notes.ini parameter.
  4. Increase the Java Heap size via HTTPJavamaxheapsize notes.ini parameter.
  5. Set XPagesPreloadDB=myServer!!myDb.nsf/myxsp.xsp in the server notes.ini.

Question 15

The Debug_AMGR notes.ini parameter can be used to debug IBM Domino agents running in which context?

  1. run on a client
  2. scheduled via AMGR
  3. called through HTTP via a browser
  4. during a test running in the IBM Domino Designer client