Latest LFCS Practice Tests with Actual Questions

Get Complete pool of questions with Premium PDF and Test Engine

Exam Code : LFCS
Exam Name : Linux Foundation Certified System Administrator
Vendor Name : "Linux-Foundation"







LOT-801 Dumps LOT-801 Braindumps

LOT-801 Real Questions LOT-801 Practice Test LOT-801 Actual Questions


IBM


LOT-801


Lotus Notes Domino 8 Application Development Update


https://killexams.com/pass4sure/exam-detail/LOT-801


  1. Set directory =navigator.LookupNames(Users, userName, itemName, True)

  2. Set navigator =directory.LookupNames(Users userName, itemName, True)




Answer: D



Question: 113

Zhong supports the Orders database. He has been asked to give users a way to select a category from a view and have the category name and all view entries within the category copied to a table that can then be pasted into a memo. The table needs to include a link back to each document represented by a view entry. How should Zhong proceed?


  1. Create a view action. In the Programmer's Pane, enter the formula:@Command([CopySelectedAsTable])Instruct the users to select the category name, click the view action, and then paste the table in the memo.

  2. Create a view action. In the Programmer's Pane, enter the

    formula:@Command([CopySelectedAsTable]) Instruct the users to select the category name and all documents from the category, click the view action, and then paste the table in the memo.

  3. Create a view action. In the Programmer's Pane, enter the formula:@Command([CopySelectedAsTable]) Ensure that the category is the first categorized column in the view. Instruct the users to select the category name, click the view action, and then paste the table in the memo.

  4. Create a view action. In the Programmer's Pane, enter the formula:@Command([CopySelectedAsTable]). The category must be the first categorized column in the view. Instruct the users to select the category name and all documents from the category, click the view action, and then paste the table in the memo.




Answer: B



Question: 114

Karl wrote a Web service in a local database using Domino Designer, and he wants to test it from his local workstation using a Notes 8 client. He highlights the Web service in Designer and chooses the menu option, "Design - Preview in Default Web Browser". What happens?


  1. A Web page opens in the default web browser, with a link to the WSDL file for the Web service on the local machine


  2. A Web page opens in the default web browser, with an example SOAP message for each method in the Web service

  3. A Web page opens in the default web browser, with forms that can be filled out

    in order to send SOAP requests to the Web service

  4. Karl is prompted for a server name, and if a replica of the database is found on that server then the design changes that Karl just made are replicated to the server and the Web service on the server opens in a browser window




Answer: A



Question: 115

After importing a WSDL file into a LotusScript script library to generate Web service consumer code, what is the basic structure of the code that is generated?


  1. A single class with a method for each Web service method that isdefined, and custom types for complex data types if necessary

  2. A single class with a method for each Web service method that is defined, and

    additional classes for complex data types if necessary

  3. A public function or subroutine for each Web service method that is defined, with custom types for complex data types if necessary

  4. A class that connects to the Web service, a public function or subroutine for each

Web service method that is defined, and additional classes for complex data types if necessary




Answer: B



Question: 116

Chris is creating a Web service consumer in Domino. He has a URL that he has used from a Web browser to browse the WSDL for the Web service he will consume. He does not have a copy of the WSDL file on his computer. When he selected the option to import the WSDL, he was presented with a window prompting him to enter a file name. How can Chris get the WSDL imported into his Web service consumer?


  1. Enter the URL of the WSDL as the file name, and click the Open button. Domino will then import the WSDL.

  2. Select the "Retrieve WSDL from Web" option. A window displays prompting

    for the "WSDL Web address". Enter the URL of the WSDL as the Web address, and click the Open button. Domino will then import the WSDL.

  3. Enter the URL of the WSDL as the file name, and click the Open button.A prompt displays asking if Domino should access the external system and import the


    WSDL, overwriting any existing code. Click the Yes button, and Domino will then import the WSDL.

  4. Select the "Retrieve WSDL from Web" option. A window displays prompting

for the "WSDL web address". Enter the URL of the WSDL as the Web address, and click the Open button. A prompt displays asking if Domino should access the external system and retrieve the WSDL, overwriting any existing code. Click the Yes button, and Domino will then import the WSDL.




Answer: A



Question: 117

Kevin has created a Web service consumer by importing a WSDL. He now has a script library including the OrderInfoClass class, with functions to call the Web service. One function is listed in the class as:

Function GETCUSTNAME(ORDERNO As String) As String Let

GETCUSTNAME = Service.Invoke("GETCUSTNAME", ORDERNO) End

Function Here is the code Kevin has written in an action to test the function: Sub Click(Source As Button)

Msgbox |CustName: "| & OrderInfoClass.GETCUSTNAME(Inputbox$("Order:"))

& |"| End Sub

Kevin has a Use statement in the Options area referencing the script library. But when he tries to open the application and run the test action, a "Variable not declared: GETCUSTNAME" error displays. How can Kevin fix the code in the test action?


  1. Add this line before theMsgbox statement: Dim GETCUSTNAME As Variant

  2. Add this line before theMsgbox statement: Dim GETCUSTNAME As NotesWebService

  3. Add this line before theMsgbox statement: Dim OrderInfoClass As New OrderInfoClass

  4. Add this line before theMsgbox statement: Dim OrderInfoClass As New NotesWebService




Answer: C



Question: 118

What is the benefit of the mappings file generated by Designer when working with LotusScript Web service-enabled script libraries?


  1. Itprecompiles the LotusScript code prior to the call to the Web service.


  2. It allows the generation of WSDL files from any Web service-enabled script library.

  3. It allows for translation betweenLotusScript and Java Web service libraries in

    Designer.

  4. It enables the reuse of namespace constants among script libraries, allowing them to be combined in a common library.




Answer: D



Question: 119

Adriana has imported a WSDL file into her Script Library design element. A portion of the LotusScript code that has been generated appears as follows:

Const n0 = rn:GoogleSearch Class ResultElement_n0 As XSD_ANYTYPE

Public summary As String Public URL As String Public snippet As String Public title As String

Public cachedSize As String

Public relatedInformationPresent As Boolean Public hostName As String

Public directoryCategory As DirectoryCategory_n0

Public directoryTitle As String Sub NEW

End Sub End Class

What else did Designer create when this WSDL file was imported?


  1. The associated Java code for the web service.

  2. AWSNamespaces.mappings text file in the Notes data directory.

  3. A new WSDL file used by Domino to execute the web service call.

  4. An associated WSDL entry in the Web Services design element area.




Answer: B



Question: 120

Theron has a Notes Composite Application that consists of a Notes application communicating and interacting with a WebSphere portlet on the same page. What feature of composite applications allow this to occur?


  1. Eclipse


  2. Web Services

  3. Property Broker

  4. Websphere Portal




Answer: C