[Free] 2018(Mar) EnsurePass Pass4sure IBM C2040-415 Dumps with VCE and PDF 11-20

Ensurepass.com : Ensure you pass the IT Exams
2018 Mar IBM Official New Released C2040-415
100% Free Download! 100% Pass Guaranteed!

Developing OpenSocial Applications

Question No: 11

What is the Activity Stream Data (xe:activityStreamData) datasource used for?

  1. It uses a proprietary protocol for gathering IBM Connections Activity Streams.

  2. Its a datasource that converts an IBM Notes View into an open format activity stream.

  3. It is an open format specification for activity stream protocols which syndicate activities taken in social web application and services.

  4. It is a server-side JavaScript component added to an XPage. When rendered in the browser, anXSP.activityStreams is instantiated so client-side code can make GET requests to OpenSocial services.

Answer: C

Reference: http://ec.europa.eu/information_society/apps/projects/logos/3/317883/080/deliverables/001

_OPENiD21CloudbasedServicesAnalysisv10.pdf (page 22)

Question No: 12

When posting to the microblog. the body of the POST message is an ActivityEntry object. Which field in the ActivityEntry object is mandatory?

  1. userid

  2. content

  3. message

  4. ActivityEntry object can have no properties.

Answer: C

Reference: https://opensocial-resources.googlecode.com/svn/spec/trunk/Social-Data.xml

Question No: 13

Marco is creating an OpenSocial gadget that would retrieve and show dynamically created data.

Which approach can result in performance improvement?

  1. Disable image pre-loading.

  2. Use Cache-Control HTTP header.

  3. Load all external content using Ajax.

  4. Deliver all resources from external domains.

Answer: B

Question No: 14

What JavaScript feature and its libraries are available to all gadgets without any additional requirements?

  1. the basics feature including gadgets.show, gadgets.hide, and gadgets.xml

  2. the crud (or REST) feature including ajax.get, ajax.put, ajax.post and ajax.delete

  3. the core feature including gadgets.io, gadgets.util, gadgets.Prefs. and gadgets.json libraries

  4. the dynamic-height feature including gadgets.window.adjustHeight and gadgets.window.getViewportDimensions

Answer: C

Reference: http://opensocial-resources.googlecode.com/svn/spec/1.0/Core-Gadget.xml (, core features)

Question No: 15

Why would a developer choose to use the gadgets.io.makeRequest over osapi.http.get?

  1. The endpoint is non-trusted.

  2. The endpoint requires HTTPS.

  3. The endpoint requires OAuth support.

  4. The endpoint is hosted in a different domain.

Answer: C

Question No: 16

What is the context property used for when embedding an OpenSocial gadget?

  1. The quot;contextquot; field is used to pass data from the gadget to the container.

  2. The quot;contextquot; field is used to pass data to the gadget so that it knows exactly which content to render.

  3. There is no context property in an embedded experience when it is embedding an OpenSocial gadget.

  4. The context properties are referenced by index for the individual user of each gadget and contain a unique hash for individual embedded experiences.

Answer: B

Reference: https://opensocial.atlassian.net/wiki/display/OSD/Core-Gadget –

Embedded Experiences

Question No: 17

Jason configured Apache Shindig to host social applications.

What functionality does the OpenSocial Container JavaScript provide?

  1. UI layout

  2. feature extensions

  3. security management

  4. profiles, friends, activities, datastore

Answer: D

Reference: https://shindig.apache.org/

Question No: 18

Which reserved variable is available anywhere within the gadget?

  1. Prefs

  2. Owner

  3. Module

  4. ViewParams

Answer: C

Question No: 19

What is provided by OpenSocial support in IBM Connections?

  1. OpenSocial only provides support for embedded experiences when used with IBM Notes.

  2. OpenSocial integration with IBM Connections provides the Activities application user interface.

  3. OpenSocial support in IBM Connections provides the reference implementation for other vendors to evaluate specification compliance against.

  4. OpenSocial provides support for activity streams, embedded experiences, and OAuth allowing standards-based integration with in-house or third-party applications.

Answer: D

Question No: 20

OAuth does not require a specific interaction pattern which makes it ideal for which reason?

  1. For cases where OpenID is required and available to the consumer.

  2. For cases where OpenID is not required but is available to the consumer.

  3. For cases where authentication credentials are unavailable to the consumer.

  4. For cases where authentication credentials are always available to the consumer.

Answer: A

100% Ensurepass Free Download!
Download Free Demo:C2040-415 Demo PDF
100% Ensurepass Free Guaranteed!
C2040-415 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.