IBM C2040-415 - Developing OpenSocial Applications Exam

Page:    1 / 11   
Total 55 questions

Which three MIME Content-Types are supported by REST/RPC protocols?

  • A. text/xml
  • B. text/html
  • C. application/xml
  • D. application/json
  • E. application/openOffice
  • F. application/OpenSocial


Answer : A,C,D

What is the File Service Data (xe:fileServiceData) datasource used for in an XPages
Social-enabled application?

  • A. retrieves JSON from a URL
  • B. accesses files from third-parties like IBM Connections and DropBox
  • C. retrieves an XML file from a URL and contains methods for walking through its DOM
  • D. makes a connection to an OpenSocial-supported server such as Connections to retrieve an activity stream


Answer : D

Which is a valid JSON object?

  • A. "nameVMarko"
  • B. "name":"Marko"
  • C. ,["name":"Nikola"."deptM:"project management”]
  • D. [Mname^"Olivera^,,dept,,:7rontdeskl,[Mname^"Milan^,,dept^,,”Mechanican”]


Answer : B

Which two features enable a gadget developer to programmatically address sizing limitations in an IFrame allowing content to shrink or grow as needed?

  • A. css
  • B. views
  • C. resize
  • D. dynamic-width
  • E. dynamic-height


Answer : D,E

Reference: ftp://public.dhe.ibm.com/software/dw/lotus/OS_gadget_IC4_final.pdf (page 6)

A developer can only use which method to authorize users in an OpenSocial gadget?

  • A. LTPA
  • B. SAML
  • C. OAuth
  • D. basic authorization


Answer : C

Page:    1 / 11   
Total 55 questions