Master the C2040-415 Developing OpenSocial Applications content and be ready for exam day success quickly with this Testking C2040-415 real exam. We guarantee it!We make it a reality and give you real C2040-415 questions in our IBM C2040-415 braindumps.Latest 100% VALID IBM C2040-415 Exam Questions Dumps at below page. You can use our IBM C2040-415 braindumps and pass your exam.


♥♥ 2021 NEW RECOMMEND ♥♥

Free VCE & PDF File for IBM C2040-415 Real Exam (Full Version!)

★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW C2040-415 Exam Dumps (PDF & VCE):
Available on: http://www.surepassexam.com/C2040-415-exam-dumps.html

Q1. Which is a URL Embedded Experience?

A. Using HTML

<embed>

<url>http://www.facebook.com/gadgets.html</url> </embed>

B. Using XML

<embed>

<url>http://www. facebook.com/gadgets.htm</url> </embed>

C. Using HTML

<embed>

<gadget>http://www.facebook.com/gadgets.xml</gadget> </embed>

D. Using XML

<embed>

<gadget>http://www.facebook.com/gadgets.xml</gadget> </embed>

Answer: B

Explanation: 

Reference: https://opensocial.atlassian.net/wiki/display/OSREF/Embedded+Experiences+Tutorial


Q2. What is true regarding a gadget with Type="URL"?

A. Only Type="HTML" can be used for an OpenSocial Gadget.

B. A standard set of parameters are not added to the URL by the gadget server.

C. Type URL gadgets cannot take advantage of all features, notably features that manipulate HTML and JavaScript code directly.

D. When loading JavaScript library requests, a server must provide an OAuth service for retrieving core and feature-linked JavaScript.

Answer: C

Explanation: 

Reference: http://opensocial-resources.googlecode.com/svn/spec/2.0/OpenSocial- Specification.xml (Concepts and terminology, see type URL)


Q3. If a request is initiated without first logging in, what would be the result from the People API?

A. A login object is returned.

B. An empty person object is returned.

C. The request is redirected to the login page.

D. A populated person object, as it is not required to login before sending request to the People API.

Answer: C


Q4. Merchele is working on a gadget and would like it to render locally. She understands that the OpenSocial Component will read data from the local replica of the widget catalog. However, she is finding that it is not rendering locally.

Which might be a reason for this?

A. The ACL is not set properly on the local replica.

B. The gadget is using OAuth and needs to run remotely.

C. The IBM Notes client is not capable of handling trust management.

D. An instance of the IBM Domino server with Shindig is installed locally.

Answer: B

Explanation: 

Reference: http://www-10.lotus.com/ldd/dominowiki.nsf/dx/Gadget_rendering_process_OSC90#Local+Rendering


Q5. HTTP basic authentication is supported using the REST API. Which is a valid cookie named?

A. sessionid

B. RestToken

C. RestSession

D. SimpleToken

Answer: D

Explanation: 

Reference: http://www- 01.ibm.com/support/knowledgecenter/SST55W_4.1.0/liaca/liacaconfigrestapi.html


Q6. Which service must an OpenSocial container support?

A. Group

B. Social

C. People

D. Common

Answer: A


Q7. Which are valid REST API calls?

A. GET, POST, PUT ,DELETE

B. POST, PUT ,FETCH, DELETE

C. GET, UPDATE,PUT, DELETE

D. SELECT, POST, GET, DELETE

Answer: A

Explanation: 

Reference: https://opensocial-resources.googlecode.com/svn/spec/0.9/REST-API.xml


Q8. Danica needs to consume an OpenSocial gadget in her IBM Notes Web application. The rendered page is generated from a Form design element.

What is the best way to add an OpenSocial gadget to her web-based Notes Form?

A. Create a computedText field and make it a Pass thru-HTML text area. For the computed value enter the appropriate Javascript within <script>. ,</script>tags.

B. Create a computedText field and make it a Pass thru-HTML text area and call

@GetOpenSocialStream(URL;UserName;Password);.

C. Create a Form text field and make it computed. For the computed value enter in

@GetOpenSocialStream(URL;UserName;Password);.

D. Create a computedText field and make it a Pass thru-HTML text area. For the computed value enter @AjaxRequest(URL;UserName;Password);.

Answer: A


Q9. The MiniMessage library allows a developer to display a message window to a user.

Which is a valid message type?

A. Default

B. Custom

C. Dynamic

D. Dismissible

Answer: D

Explanation: https://developers.google.com/gadgets/docs/ui


Q10. John wishes to install OpenSocial to his workstation to develop an OpenSocial feature in his application-How should John update his IBM Notes client to have this feature?

A. The OpenSocial toolkit is a separate download from the IBM Passport site. John should download the setup file, execute it and follow the steps in the wizard.

B. In Notes, John should go to the Tools menu and select the Notes Smart Upgrade menu option and choose OpenSocial from the server's Smart Upgrade database.

C. John should open his widget catalog and enable the IBM Notes & Domino OpenSocial widget there. After Notes has been restarted, the feature should be available.

D. John should install Notes 9.0 Social Edition. When installing, he should ensure the "OpenSocial Component" option on the Custom Setup page of the installer is enabled.

Answer: D