Skip to main content

C2040-415 Online Practice Questions

Developing OpenSocial Applications

55 questions available · Page 1 of 6

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

Which reserved variable is available anywhere within the gadget?

  1. A

    Prefs

  2. B

    Owner

  3. C

    Module

  4. D

    ViewParams

Show answer and explanation

Correct answer: C

Question 2 Single choice

Which URL will perform rollup of the activity stream?

  1. A

    /activitystreams/@me/@all@rollup

  2. B

    /activitystreams/@me/@all@group

  3. C

    /activitystreams/@me/@all?rollup=true

  4. D

    /activitystreams/@me/@all?rollup=group

Show answer and explanation

Correct answer: C

Question 3 Single choice

Which service must an OpenSocial container support?

  1. A

    Group

  2. B

    Social

  3. C

    People

  4. D

    Common

Show answer and explanation

Correct answer: A

Question 4 Single choice

By default, when does the PushToCredStore agent run when a widget is approved on the master server?

  1. A

    immediately

  2. B

    once every hour

  3. C

    once every two hours

  4. D

    once per day at 12:00 AM

Show answer and explanation

Correct answer: B

Question 5 Single choice

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?

  1. A

    The ACL is not set properly on the local replica.

  2. B

    The gadget is using OAuth and needs to run remotely.

  3. C

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

  4. D

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

Show answer and explanation

Correct answer: B

Question 6 Single choice

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

  1. A

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

  2. B

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

  3. C

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

  4. D

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

Show answer and explanation

Correct answer: C

Question 7 Single choice

One part of a widget is its configuration on the IBM Connections server.

What makes up the second part?

  1. A

    The actual widget written to the iWidget specification.

  2. B

    The widget companion file on the Connections server.

  3. C

    The Java XML information file on the Connections server.

  4. D

    The actual XML configuration file on the Connections server.

Show answer and explanation

Correct answer: D

Question 8 Single choice

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

Which is a valid message type?

  1. A

    Default

  2. B

    Custom

  3. C

    Dynamic

  4. D

    Dismissible

Show answer and explanation

Correct answer: D

Question 9 Single choice

Which will ensure that a container will attempt to render the gadget regardless of container support for views?

  1. A

    Version

  2. B

    Default View

  3. C

    Preview Image

  4. D

    SpecificationVersion

Show answer and explanation

Correct answer: A

Question 10 Single choice

In which feature of IBM iNotes are OpenSocial gadgets available?

  1. A

    Views

  2. B

    Pages

  3. C

    Sidebar

  4. D

    Documents

Show answer and explanation

Correct answer: C