PYTORCH QUIZ DESCRIPTION

Which protocol consists of only 1 bit?

  • Alert Protocol
     

  • Handshake Protocol
     

  • Upper-Layer Protocol
     

  • Change Cipher Spec Protocol

In the SSL record protocol operation pad_1 is -

  •  is the byte 0x36 repeated 40 times for MD5
     

  • is the byte 0x5C repeated 40 times for MD5
     

  •  is the byte 0x5C repeated 48 times for SHA1 
     

  •  is the byte 0x36 repeated 48 times for MD5

Which protocol consists of only 1 bit?

  • Alert Protocol
     

  •  Handshake Protocol
     

  •  Upper-Layer Protocol
     

  •  Change Cipher Spec Protocol

_____________ is a technique or way to find the linear relation between the dependent variable and the independent variable by minimizing the distance.
 

  • Linear Regression 
     

  • Bilinear Regression
     

  • Discrete Regression
     

  • All of the above

Which protocol is used to convey SSL related alerts to the peer entity? 

  • Alert Protocol
     

  • Handshake Protocol
     

  •  Upper-Layer Protocol
     

  • Change Cipher Spec Protocol

What is the size of the RSA signature hash after the MD5 and SHA-1 processing?

  • 42 bytes
     

  • 32 bytes
     

  • 36 bytes
     

  •  48 bytes

The torch.cuda is a package which adds support for CUDA tensor type.
 

  • TRUE
     

  • FALSE
     

  •  Can be true or false
     

  •  Can not say

Which of the following are possible sizes of MACS?

i) 12 Bytes
ii) 16 Bytes
iii) 20 Bytes
iv) 24 Bytes

  • i and iii
     

  • ii only
     

  •  ii and iii 
     

  • ii iii and iv

Which is the key exchange algorithm used in CipherSuite parameter? 

  • RSA
     

  • Fixed Diffie-Hellman
     

  • Ephemeral Diffie-Hellman 
     

  • Any of the mentioned

Consider the following example –
Size of Plaintext - 48 bytes.
Size of MAC - 20 bytes.
Block Length - 8 bytes.
How many bytes of padding need to be added to the system?

  • 1

  • 2

  • 3

  • 4

The__________ package in PyTorch provides exactly this functionality. 

  • Autograd 
     

  • Tensor
     

  • numpy
     

  • None Of these 

The Conv1d and Conv2D is used to apply 1D and 2D convolution.

  • TRUE 
     

  • FALSE
     

  •  Can be true or false
     

  • Can not say

The RSA signature uses which hash algorithm?

  • MD5
     

  •  SHA-1
     

  •  MD5 and SHA-1
     

  • None of the mentioned.

Number of phases in the handshaking protocol?

  • 2

  • 3

  • 4

  • 5

The certificate message is required for any agreed-on key exchange method except__

  • Ephemeral Diffie-Hellman 
     

  •  Anonymous Diffie-Hellman
     

  • Fixed Diffie-Hellman
     

  •  RSA

Messages from the server are received by

  • onmessage
     

  •  send
     

  •  arrayBuffer
     

  • blob

In the handshake protocol which is the message type first sent between client and server?

  •  server_hello
     

  •  client_hello
     

  • hello_request 
     

  • certificate_request

Which one is not associated with Gecko?

  • Firefox
     

  • SeaMonkey
     

  • Thunderbird
     

  • Internet Explorer

____________ is a package which is used to wrap a tensor.

  • extend.variable
     

  • autograd.variable
     

  • variable   
     

  •  auto.variable

The certificate_verify message involves the process defined by the pseudo-code (in terms of MD5) -CertificateVerify.signature.md5_hash MD5(master_secret || pad_2 ||MD5(handshake_messages ||master_secret || pad_1).Is there any error? If so, what

  • Yes. pad_1 and pad_2 should be interchanged
     

  •  Yes. pad's should be present towards the end
     

  • Yes. master_key should not be used, the pre_master key should be used

     

  •  No Error

The DSS signature uses which hash algorithm?

  •  MD5
     

  •  SHA-2
     

  • SHA-1
     

  • Does not use hash algorithm

_________ is an open-source machine learning library for Python and is completely based on Torch.

  • Flask
     

  • PyTorch 
     

  •  PyBrain
     

  • CherryPy

A Tensor is an _________________

  • Dimensional Array
     

  • Bi-dimentional Array
     

  • n-dimensional Array  
     

  • None of these

The nn package defines a set of Modules, which are roughly equivalent to neural network layers.

  • Modules 
     

  • Layers
     

  • Groups
     

  • None of these

The client_key_exchange message uses a pre master key of size -

  • 48 bytes
     

  •  56 bytes
     

  •  64 bytes
     

  •  32 bytes

The maximum bytes for control frames is

  • 100 bytes
     

  • 125 bytes
     

  • 130 bytes
     

  • 150 bytes

In TensorFlow, packages like ________ provide higher-level abstractions over raw computational graphs that are useful for building neural networks.
 

  • Keras 
     

  • TenserFlow-Slim 
     

  • TELearn

     

  • All Of The Above  
     

For duplex communication we can't use___

  • Long Polling 
     

  • HTML5
     

  •  JavaScript
     

  • Streaming

The _______________function receives the gradient of the output Tensors with respect to some scalar value, and computes the gradient of the input Tensors with respect to that same scalar value.

  • Forward 
     

  • Backward
     

  • None of these
     

  • both

Which of the following is not associated with web socket communication?

  • https
     

  • wss
     

  • ws
     

  • http