IBM C2040-415 - Developing OpenSocial Applications Exam
Page: 3 / 11
Total 55 questions
Question #11 (Topic: )
What is the Activity Stream Data (xe:activityStreamData) datasource used for?
A. It uses a proprietary protocol for gathering IBM Connections Activity Streams.
B. Its a datasource that converts an IBM Notes View into an open format activity stream.
C. It is an open format specification for activity stream protocols which syndicate activities taken in social web application and services.
D. 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
Question #12 (Topic: )
When posting to the microblog. the body of the POST message is an ActivityEntry object.
Which field in the ActivityEntry object is mandatory?
Which field in the ActivityEntry object is mandatory?
A. userid
B. content
C. message
D. ActivityEntry object can have no properties.
Answer: C
Question #13 (Topic: )
Marco is creating an OpenSocial gadget that would retrieve and show dynamically created
data.
Which approach can result in performance improvement?
data.
Which approach can result in performance improvement?
A. Disable image pre-loading.
B. Use Cache-Control HTTP header.
C. Load all external content using Ajax.
D. Deliver all resources from external domains.
Answer: B
Question #14 (Topic: )
What JavaScript feature and its libraries are available to all gadgets without any additional
requirements?
requirements?
A. the basics feature including gadgets.show, gadgets.hide, and gadgets.xml
B. the crud (or REST) feature including ajax.get, ajax.put, ajax.post and ajax.delete
C. the core feature including gadgets.io, gadgets.util, gadgets.Prefs. and gadgets.json libraries
D. the dynamic-height feature including gadgets.window.adjustHeight and gadgets.window.getViewportDimensions
Answer: C
Question #15 (Topic: )
Why would a developer choose to use the gadgets.io.makeRequest over osapi.http.get?
A. The endpoint is non-trusted.
B. The endpoint requires HTTPS.
C. The endpoint requires OAuth support.
D. The endpoint is hosted in a different domain.
Answer: C