0% found this document useful (0 votes)
22 views4 pages

NET

Uploaded by

piyushvaishnav21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views4 pages

NET

Uploaded by

piyushvaishnav21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Question

What is the purpose of the HTTP POST method?


What does the User-Agent header represent?
Which HTTP header is used to specify the media type of the
What is the purpose of the OPTIONS HTTP method?
What is CORS in HTTP?
Which HTTP status code indicates a temporary redirect?
What is the primary improvement of HTTP/2 over HTTP/1.1?
What is the purpose of the Upgrade header in HTTP?
How does chunked transfer encoding work in HTTP?
What is the purpose of HSTS in HTTP?
What is the role of the default gateway in a network?
Which layer of the OSI model does IP operate in?
What is the three-way handshake in TCP used for?
Which of the following is a private IP address?
What does a VLAN (Virtual LAN) do?
Which protocol is used for secure remote access to devices?
How does DNS load balancing work?
How does packet fragmentation occur?
What is the function of a network proxy server?
How does packet fragmentation occur?
Which of the following is a valid Python data type?
Which of the following is not a keyword in Python?
Which method is used to add an item to the end of a list?
Which of the following is true about Python dictionaries?
How can you handle exceptions in Python?
How can you convert a string into a list of characters?
What is a Python generator?
What is the result of \{:.2f}\".format(2.4567)?"
How is memory managed in Python?
Which module in Python is used for regular expressions?
Option A Option B
Retrieve data Upload data to a server
Client device and browser information Server type
Content-Type Cache-Control
Upload data Retrieve resource metadata
A type of content compression A security feature to control cross-origin r
301 302
Persistent connections Multiplexing
To indicate a client request for protocol switchTo upgrade the server's SSL version
Breaks data into small chunks sent sequentialCompresses data before sending
Enforce HTTPS connections Cache static resources
To assign IP addresses To forward traffic to external networks
Physical Network
Encrypting data Establishing a reliable connection
10.0.0.1 172.16.0.1
Encrypts network traffic Divides a physical network into logical se
FTP HTTP
Rotates IP addresses for a domain Encrypts DNS queries
When a packet exceeds the MTU size of the When packets are sent to multiple destinat
Mediates requests between clients and serverEncrypts all outgoing traffic
When a packet exceeds the MTU size of the When packets are sent to multiple destinat
String Tuple
def if
insert() append()
They are mutable Keys must be unique
Using if-else blocks Using try-except blocks
split() list()
A function that returns all values at once A function that yields values lazily using yi
2.4567 2.45
Manual memory allocation and deallocation Through a garbage collector
regex re
Option C Option D Answer(A/B/C/D)
Update data Delete data
Authentication credentials Session timeout
Authorization Accept
Test server capabilities Delete data
A status code for unauthorized requests A method for caching resources
307 400
Cookie support Better error codes
To authenticate the client To specify a new cache policy
Encrypts data in blocks Specifies the total payload size upfront
Manage user sessions Compress payload data
To manage local DNS requests To encrypt data packets
Data Link Transport
Caching DNS responses Balancing network traffic
192.168.1.1 All of the above
Converts private IPs to public IPs Balances network load
Telnet SSH
Caches DNS responses locally Resolves private IPs to public IPs
When packets are encrypted for secure trans When packets are lost in transit
Provides IP address resolution Assigns DNS entries dynamically
When packets are encrypted for secure trans When packets are lost in transit
Dictionary All of the above
lambda print
extend() add()
They are unordered All of the above
Using while loops Using error-check functions
str() chr()
A function that produces random values A built-in random number generator
2.46 Error
By the operating system Using stack and heap only
regexlib string
wer(A/B/C/D)

You might also like