Exam Details

  • Exam Code
    :E20-405
  • Exam Name
    :EMC Content Management Server Programming(CMSP)
  • Certification
    :Legato Cert
  • Vendor
    :EMC
  • Total Questions
    :229 Q&As
  • Last Updated
    :Mar 11, 2025

EMC Legato Cert E20-405 Questions & Answers

  • Question 11:

    Which setting controls the format of DFC logging messages created by calls to DfLogger?

    A. entries in the log4j.properties file

    B. server.ini settings on the Content Server

    C. regional settings in the operating system

    D. the locale setting of the session in which the log messages are created

  • Question 12:

    Given the following code: Which statement is true about disconnecting the session within "ourMethod"?

    A. It is safe to disconnect this session, because a session will always be passed to"ourMethod."

    B. It is not safe to disconnect this session, because the calling code may still require it.

    C. It is safe to disconnect this session within "ourMethod" only if the session is not null.

    D. It is not possible for "ourMethod" to disconnect the session, because there is no referenceto a SessionManager.

  • Question 13:

    The following utility method requires the handling of an exception: How would you handle the exception, so that value either contains the session's ID, or returns an empty string?

    A. You add a try/catch block (in bold) around the value assignment:try{value = session.getSessionId();} catch (DfException dfe) {DfLogger.debug(this,dfe.getStackTraceAsString(),null,null);}

    B. You add a throws clause (in bold) to the method signature:public String getMySessionId(IDfSession session) throws DfException{...}

    C. Exception handling is not required because session.isConnected() ensures a session ispresent, andsession.getSessionId() only throws an exception if the session is not present.

    D. You add a throws clause (in bold) to the method signature AND add a try/catch block (inbold) around the value assignment that throws a new DfException():public String getMySessionId(IDfSession session) throws DfException{String value = "";try{value = session.getSessionId();}catch (DfException dfe){DfLogger.debug(this,dfe.getStackTraceAsString(), null,null);}return value;}

  • Question 14:

    Given the following code: What problem may be encountered?

    A. The closing of the collection may throw an exception.

    B. The collection should throw a DfException if it is null, to ensure the collection is closed.

    C. If the collection is null in the finally block, the collection will never be closed.

    D. There is no problem encountered in the code.

  • Question 15:

    Which statement is true about the IDfCollection object returned by IDfSession.apply() ?

    A. Because it was not created by a query, it does not have to be closed.

    B. It should be closed after the server method results are processeD.

    C. It returns the content of the server method log file as a BLOB fielD.

    D. It can be used to re-run the method in the case of a failure.

  • Question 16:

    What happens when you fail to close open sessions in a DFC application?

    A. The performance for the other users will be impaired.

    B. Eventually, no more sessions will be available for new connections.

    C. Garbage collection will release all appropriate resources.

    D. All existing sessions will be disconnected.

  • Question 17:

    An exception is thrown within the following code, during the disconnect process. What is a possible cause of the disconnect error?

    A. The code did not check to see if the session object was valid.

    B. The code did not perform any work after opening the session.

    C. The session was not retrieved through an IDfSessionManager interface.

    D. The code did not cast the retrieved session object to IDfSession before assignment.

  • Question 18:

    What should be performed after processing query results?

    A. close the IDfQuery object

    B. close the IDfSession object

    C. close the IDfCollection object

    D. No action is needed since garbage collection will release all appropriate resources.

  • Question 19:

    Which statement is true about the collection returned by IDfSysObject.getVersions()

    A. It has a fixed number of fields in the result set that cannot be extendeD.

    B. It must be closed after the code has processed the list of versions returneD.

    C. It only returns versions with symbolic labels.

    D. It does not have to be closed because it did not result from IDfQuery.execute().

  • Question 20:

    What is the appropriate statement for releasing the session obtained from the following statement? IDfSession session = client.newSession(docbaseName, loginObj);

    A. session.disconnect();

    B. session.close();

    C. session.release();

    D. session = null;

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only EMC exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your E20-405 exam preparations and EMC certification application, do not hesitate to visit our Vcedump.com to find your solutions here.