Atom (code editor) MCQs

Atom (code editor) MCQs

Answer these 40 Atom (code editor) MCQs and see how sharp is your knowledge of Atom (code editor).
Scroll down and let's start!

1: Which of the following elements does not belong to the Person construct of an Atom?

A.   atom:name

B.   atom:uri

C.   atom:email

D.   atom:feed

A.   The rel attribute contains the link's IRI whereas the href attribute indicates the link relation type.

B.   The rel attribute is a required attribute whereas the href attribute is an optional attribute.

C.   The value href attribute must be an IRI reference [RFC3987] whereas the value of the rel attribute may either match the isegment-nz-nc or the IRI reference.

D.   None of the above

3: Which of the following attributes must be contained in the element of an Atom?

A.   term

B.   scheme

C.   label

D.   href

4: Which of the following elements indicates the default author of the feed of an Atom?

A.   <atom:generator>

B.   <atom:publisher>

C.   <atom:author>

D.   <atom:copyright>

5: State whether the following statement is true or false:
is not a required element of in an Atom

A.   True

B.   False

6: Which of the following elements are optional for an Atom element?

A.   <updated>

B.   <source>

C.   <category>

D.   <title>

7: For which of the following elements of an Atom, time zone is not a required content?

A.   <atom:created>

B.   <atom:issued>

C.   <atom:modified>

D.   <atom:updated>

8: Which of the following options describes a cryptographic attack on an Atom Document?

A.   Using a different hash key to decrypt an Atom Document

B.   Changing the digital signatures of an Atom Document

C.   Changing bits in a way that the decrypted message makes sense but has a different meaning

D.   None of these

9: Which of the following attributes are optional for the element of an Atom?

A.   version

B.   uri

C.   term

D.   label

10: Which of the following statements is true about the atom:logo and atom:icon elements of an Atom?

A.   The content of an atom:logo element is an Internationalized Resource Identifier (IRI) [RFC3987] where as the content of an atom:logo element is a Uniform Resource Identifier (URI) [RFC3986].

B.   The atom:icon element identifies a small image and provides an iconic visual identification for the feed whereas the atom:logo element identifies a larger image and provides visual identification for the feed.

C.   In case of an atom:logo element, the image must have an aspect ratio of one (horizontal) to one (vertical) whereas for an atom:icon element, the image must have an aspect ratio of 2 (horizontal) to 1 (vertical).

D.   None of these

11: Which of the following encryption algorithms are required by Atom processors using Digital Signatures for securing Atom Documents?

A.   AES-128

B.   AES-256

C.   Blowfish

D.   IDEA

E.   TripleDES

12: Which of the following security mechanisms of Atom must be used if message authentication code(MAC) is used to authenticate an Atom Document?

A.   Watermarking

B.   Signing and Encryption

C.   Digital Signatures

D.   Hash Function

13: State whether the following statement is true or false:
elements may contain one or more elements.

A.   True

B.   False

14: Atom processors must be able to decrypt Atom Documents with the ________ encryption algorithm

A.   AES-128

B.   AES-256

C.   Blowfish

D.   IDEA

15: Which of the following actions should be taken by Atom processors to check the integrity of a decrypted Atom Document?

A.   Verifying the hash in the signature in the document

B.   Comparing the decrypted Atom Document with the original Atom Document

C.   Using message authentication code (MAC) authentication

D.   Verifying a hash of the document within the document

16: Which of the following normalization strategies should be used to generate the atom:id element of an Atom?

A.   Provide the scheme in uppercase characters.

B.   Provide the host, if any, in lowercase characters.

C.   Use uppercase A through H characters when percent-encoding.

D.   For schemes that define an empty path to be equivalent to a path of "/", use "/".

E.   For schemes that define a port, use an empty port if the default is desired.

17: Which of the following values cannot be assigned to the type attribute of a Text construct of an Atom?

A.   text

B.   html

C.   xhtml

D.   xml

18: Which of the following is a valid Atom Date construct?

A.   <updated>2003-12-13t18:30:02Z</updated>

B.   <updated>2003-12-13T18:30:02</updated>

C.   <updated>2003-12-13T18:30:02.25+01:00</updated>

D.   <updated>2003-12-13t18:30:02+01:00</updated>

19: Which of the following statements is true about an Atom Document that uses MAC for its authentication?

A.   The document must be encrypted first and then signed.

B.   The document must be signed first and then encrypted.

C.   Either of the above orders may be followed.

D.   None of these

A.   <link type="application/atom+xml" href="http://atom.com/atom.xml"/>

B.   <link href="http://example.org/feed/" rel="self" />

C.   <link href="atom.xml" type="application/atom+xml" rel="alternate" />

D.   <link title="Atom Feed" href="http://atom.com/atom.xml"/>

21: The content of the element of an Atom must be a ________

A.   URI

B.   string

C.   text

D.   media type

A.   URI

B.   media type

C.   string

D.   binary data

23: Which of the following options describes a spoofing attack on an Atom Document?

A.   Removing the atom:id element from the Atom Document

B.   Adding an atom:id element to the Atom Document

C.   Creating a duplicate of an Atom Document by publishing a falsified atom:source element

D.   None of these

24: Which of the following values can be assigned to the type attribute of a Content construct of an Atom?

A.   text

B.   xml

C.   html

D.   base64

E.   xhtml

25: Which of the following elements must be contained in a Person construct of an Atom?

A.   atom:name

B.   atom:feed

C.   atom:uri

D.   atom:email

26: Due to which of the following reasons should Atom Documents not use Message Authentication Code (MAC) for the Digital signature security mechanism?

A.   Improper handling of the keying material used for Message Authentication Code (MAC) authentication may cause security risks for Atom Documents.

B.   Message Authentication Code (MAC) does not ensure the integrity of Atom Documents.

C.   Atom Documents do not support Message Authentication Code (MAC) for the Digital signature security mechanism.

D.   Message Authentication Code (MAC) is not compatible with the Digital signature security mechanism used for Atom Documents.

27: Which of the following metadata elements should not be used to convey machine readable licensing information?

A.   atom:rights

B.   atom:source

C.   atom:published

D.   atom:title

28: Which of the following elements are necessarily contained in every Atom element?

A.   unique identifier

B.   category

C.   title

D.   timestamp

29: Which of the following security mechanisms are used to secure Atom Documents?

A.   Digital Signatures

B.   Watermarking

C.   Encryption

D.   Message Integrity Code (MIC)

30: Analyze the following identifiers:
1 http://www.example.org/thing
2 http://www.EXAMPLE.org/thing
3 HTTP://www.example.org/thing
4 http://www.example.com/%7ebob
5 http://www.example.com/%7Ebob
Which of the above identifiers can be considered similar when comparing the instances of the element of an Atom?

A.   1 and 2

B.   1 and 3

C.   4 and 5

D.   2 and 3

E.   None of these

31: Which of the following software libraries can be used to access Atom feeds?

A.   Rome

B.   Apache Abdera

C.   Apache POI

D.   OpenJDK

32: Which of the following is/are a required attribute of the element of an Atom?

A.   term

B.   scheme

C.   label

D.   All of the above

33: Which of the following statements are true about Atom 1.0?

A.   Atom 1.0 offers built-in support for XML Digital Signatures and XML Encryption.

B.   Atom 1.0 is not in an XML namespace but may contain elements from other XML namespaces.

C.   Atom 1.0 documents can be identified by a MIME media type.

D.   Atom 1.0 includes a non-normative RELAX NG schema that validates Atom Document instances.

E.   Atom 1.0 includes relative IRI support using xml:base.

34: Which of the following Common Atom constructs are supported by Atom 1.0?

A.   Text construct

B.   Person construct

C.   Date construct

D.   All of the above

A.   title

B.   href

C.   rel

D.   type

36: Which of the following elements are Common Atom Date constructs?

A.   atom:published

B.   atom:summary

C.   atom:updated

D.   atom:title

E.   atom:rights

37: The is an element of a ________ construct of an Atom.

A.   Person

B.   Date

C.   Content

D.   Link

38: Which of the following modes of operation is used by Atom processors while decrypting Atom Documents using AES-128?

A.   Counter (CTR)

B.   Electronic codebook (ECB)

C.   Output feedback (OFB)

D.   Propagating cipher-block chaining (PCBC)

E.   Cipher Block Chaining (CBC)

39: Which of the following values must be considered for the mode attribute if it is not present in the Content construct of an Atom?

A.   text

B.   html

C.   xml

D.   xhtml

A.   self

B.   related

C.   alternate

D.   via 

41: Which of the following security mechanisms of Atom provides document authentication, message integrity and proof of origin?

A.   Watermarking

B.   Encryption

C.   Hash Function

D.   Digital Signatures