Dropbox MCQs

Dropbox MCQs

The following Dropbox MCQs have been compiled by our experts through research, in order to test your knowledge of the subject of Dropbox. We encourage you to answer these 40 multiple-choice questions to assess your proficiency.
Please continue by scrolling down.

1: Which of the following field types is NOT supported by the Dat astore records?

A.   Boolean

B.   Bytes

C.   Text

D.   List

2:

Consider the syntax of DBFilesystem method property of sync API:

@property (nonatomic, readonly, getter=isShutDown) BOOL shutdown

Which of the folloWing is the correct statement about the given properly?


A.  

This property indicates whether the f‌irst sync has completed and the f‌ilesystem is ready to use.

B.  

This property represents the current total disk space consumed by f‌iles in the cache.


C.  

This property indicates that in case the account associated with this f‌ilesystem becomes

unlinked. then f‌ile system will be shut down.


3:

This question is based on the graphic shown below.

Which of the following is represented by the given icon in your Dropbox?

A.  

Sharing

B.  

Files

C.  

Photos

D.  

Celebrations 

E.  

Get Started

4: What parameters are sent in the json http request when you make a Datastore API call to the /datastores/get_deltas method?

A.   only handle

B.   handle and rev

C.   dsid and key

D.   only dsid

5: Which of the following is NOT a valid request parameter of the Core API's "oauth2/token" method?

A.   grant_type

B.   code

C.   token_type

D.   client_secret

6:

Fill in the blank:

Initially a free storage space of is offered to the users having a free drop-box account.


A.  

4 GB

B.  

2 GB  

C.  

520 MB

D.  

1024 MB

7:

This question is based on the graphic shown below.

The given image contains an icon that is present under the Events tab of your Dropbox; what does the given icon represent?

A.  

You have added the app.  

B.  

You have edited the file.

C.  

You have added the f‌ile. 

8: Which of the following parameters is NOT returned in Json http response. when you make a call to "datastores/list_datastores" method of the Datastore API?

A.   infodict

B.   list_datastores_result

C.   dsinfo

D.   conflict_result

9: Which Datastore APi method will you use to write a delta to the server such that the client is up to date?

A.   /datastores/put_delta

B.   datastores/get_deltas

C.   Idatastores/create_datastore

10: Which of the following is NOT a Datastore APl method?

A.   /await

B.   /authorize

C.   /put_delta

D.   /get_snapshot

11: Which of the following will be returned in response. when a Core API call is made to the "account/info" method?

A.   The referral link of the user.

B.   The display name of the user.

C.   The name of the team to which the user belongs.

D.   The country code. if available.

E.   All of the above.

12:

What response will be returned when a call is made to the below-given instance method of DBFilesystem sync API?

{NSArray ‘)listFolder:(DBPath ’)path error:(DBError ")error


A.  

It will return an array of DBFilelnfo objects on success. or 'nil‘ if an error occurs. 

B.  

It will return the information regarding the f‌ile or folder at path on success, or 'nil‘ if an error occurs.


C.  

It will return the newly created f‌ile object if the f‌ile was opened successfully, or 'nil' if an error occurs.


13:

Suppose you post a request to a Core APl's 'loauth2/token_from_oauth1' method.

In which of the following formats will the response be returned by the above call?


A.  

["access_token": “ABCDEFG", "token_type": "bearer", "uid": "12345"]

B.  

["access_token": "ABCDEFG", token_type: "bearer”]

C.  

An empty JSON dictionary, which indicates success.

D.  

[oauth_token_secret= ABCDEFG &oauth_token=XYZ&uid=100]

14: Which of the following is not a property of a DatatStore APl, Dropbox.Accountlnfo?

A.   publicAppUrl

B.   quota

C.   privateBytes

D.   authUrl

15: Which of the following methods can be set while making a core API call to "f‌iles_put"?

A.   PUT

B.   POST

C.   GET

D.   Both a and b

A.  

B

B.  

D

C.  

A

D.  

E

E.  

c

F.  

F

17: Which of the following datastore APl methods is used to check the validity of a private datastore ID or used to create a new datastore with the given ID, and returns its revision and handle?

A.   ldatastores/put_delta

B.   ldatastores/await

C.   /datastores/get_snapshot

D.   ldatastores/get_or_create_datastore

18: Which of the following endpoints is used to send the Core API request to the "loauth/authorize" method?

A.   www.dropbox.com

B.   api-content.dropbox.com

C.   api.dropbox.com

D.   api-notify.dropbox.com

19: Which of the following permissions can be set while sharing a Dropbox file?

A.   You can allow access to your f‌ile to only those people who have the password for accessing it.

B.   You can add an expiration date to the files.

C.   You can allow anyone, whoever has the link, to access you f‌ile.

D.   All of the above.

20:

Which of the following is a valid Json Http response when you make a call to the '/datastores/get_datastore‘ method of the Datastore API?

A.  

<get_or_create_result> ::= {"rev": <rev>. "hand le": <handle>."created": <Boolean>

B.  

<get_result> ::= ["datastores": <datastores>. “token": <dbase64>

C.  

<get_result> ::= {"rev": <rev>. "handle": <handle>, "role": <role>

D.  

<get_or_create_result> ::= {"dsid": <str>. "handle": <handle>."rev": <rev>. "info": <infodict>, "role": <role>

21:

What response will be returned when you make the following core API call?

httpszllapi.dropbox.com/1/disable_access_token


A.  

It will return a JSON encoded dictionary including an access token and a token type.

B.  

It will return a URL encoded access token, token secret, and a dropbox user id.

C.  

It will return an empty JSON dictionary that indicates success.

22: What does the DBThumbSizeM constant represent in the Sync API?

A.   It represents a thumbnail scaled to a size that f‌its in a bounding box of resolution 640x480 pixels.

B.   It represents a thumbnail scaled to a size that f‌its in a bounding box of resolution 128x128 pixels.

C.   It represents a thumbnail scaled to a size that f‌its in a bounding box of resolution 32x32 pixels.

D.   It represents a thumbnail scaled to a size that fits in a bounding box of resolution 64x64 pixels.

23: What is the function of LlST_PUT. a list operation of the DataStore API?

A.   It is used for inserting a new atomic value into a list.

B.   It is used for moving an existing list item to a new position.

C.   It is used for replacing an existing list item with a new atomic value.

D.   It is used for creating a f‌ield that contains an empty list value.

24: What is the function of the Core API method "/shares"?

A.   It is used to return the metadata of the restored f‌iles including revisions, size etc.

B.   It is used to create and return a copy of reference link to a f‌ile.

C.   It is used to create and return a Dropbox link to f‌iles or folders that can be used by the users to preview a file in a web browser.

D.   It is used to return a link directly to a f‌ile.

25:

Consider the following Sync APl instance method call and answer the question that follows it. (void)linkFromController:(UlViewController ‘)rootController

What is the above syntax method call used for?


A.  

It is used to initiate the process for linking new accounts.

B.  

It is used to create a new account with your Dropbox application's app key and secret

C.  

It is used to track changes to the f‌iles and folders.

26:

Which of the given Datastore APl methods will you call to get the following response?
<snapshot_result> ::= ["rows": <|ist_of_rows>, "rev": <rev>. "role": <role>]
<list_of_rows> ::= [<row>. ...]
<row> ::= {"tid": <tid>, "rowid": <recordid>, "data": <datadicl>]

A.  

ldatastores/put_delta

B.  

ldatastores/await

C.  

/datastores/get_snapshot

D.  

ldatastores/get_or_create_datastore

27: Which of the following roles has no access to the shared datastore?

A.   Owner

B.   Viewer

C.   Editor

D.   None

28:

What response will be returned when a call is made to the following instance method of DBFilesystem Sync API and an error occurs?

(NSString

A.  

Link Url 

B.  

nil

C.  

File not found

D.  

undef‌ined

29:

What response will be returned when a call is made to the below-given instance method of DBFilesystem sync API and the folder is created successfully?

(BOOL)createFolder:(DBPath ‘)path error:(DBError “)error


A.  

YES 

B.  

NO

C.  

TRUE

D.  

FALSE

30: Which of the following is an incorrect declaration syntax for the properties of a Sync API method "DBAccount"?

A.   @property (nonatomic. readonly) NSString ‘userld

B.   @property (nonatomic. readonly. getteFisLinked) BOOL linked

C.   @property (nonatomic. readonly) NSArray ‘linkedAccounts

D.   @property (nonatomic. readonly) DBAccountlnfo ‘info

31: Which of the following is NOT a datastore identifier?

A.   Handle

B.   Title

C.   ID

D.   Public

32:

When we retrieve the information about the user‘s account with user ID “123" by making a call to the

A.  

Quota used by the user in shared folders (in bytes).

B.  

Quota used by the user outside of shared folders (in bytes).

C.  

Total quota allocated to the user (in bytes).

33: Which of the following is a valid method of Dropbox.Datastore.DatastoreManager API?

A.   void handleRemoteDslistUpdateo()

B.   void openDefaultDatastore(callback)

C.   Object getSyncStatus()

D.   void dispatchDslistEvent

34: Which of the following statements regarding saving of files to Dropbox. is correct?

A.   The files are automatically saved only to the computers that have Dropbox installed on them.

B.   The files are automatically saved only to the phones that have Dropbox installed on them.

C.   The f‌iles are automatically saved only to the Dropbox website.

D.   The files are automatically saved to the computers and phones that have Dropbox installed on them, and even to the Dropbox website.

35: Which of the following is NOT a valid property of the DBAccountlnfo method of the Sync API?

A.  

@property (nonatomic, readonly) NSString "userName

B.   @property (nonatomic, readonly) NSString 'orgName

C.   @property (nonatomic. readonly) NSString ‘displayName

D.   @property (nonatomic, readonly, getter=isLinked) BOOL linked

36: Which of the following options is not an instance method of DBAccountManager sync API?

A.   unlink

B.   linkFromController

C.   initWithAppKey

D.   handleOpenURL

37: Which of the following methods will return the contents of the file decoded as UTF8 format when the file can be read, and return "nil" in case of an error?

A.   (NSFileHandle ‘)readHandle:(DBError ”)error

B.  

(NSData ‘)readData:(DBErro")error

C.  

(NSString ‘)read$tring:(DBError ")error

D.  

(NSArray ")listFolder:(DBPath ‘)path error:(DBError “)error

38: endpoint(s) is/are used to create a new datastore having a private ID.

A.   create_datastore

B.   put_delta

C.   get_or_create_datastore

D.   Both a and b

39: Which of the following parameters must be supplied to the "loauth2/authorize" method. in order to authorize your app while making a Core API call?

A.   client_id

B.   force_reapprove

C.   response_type

D.   redirect_uri

40: Which of the following parameters are returned in response. when application calls "/oauth /access_token" method of the Core API?

A.   URL—encoded access token

B.   Access token secret

C.   Dropbox user id

D.   Both a and c

41: Which of the following are the valid parameters of a Core APl method ‘ldelta‘?

A.   path_pref‌ix

B.   include_media_info

C.   include__deleted

D.   Locale

42: Suppose you created a Dropbox API app named "XYZ" without any specif‌ic permission. Which of the following functions can be performed by your app?

A.   Your app can see all the user's folders.

B.   Your app can create new folders.

C.   Your app can move. copy. delete folders.

D.   Your app can share folders.