Disclaimer:
Educational Use Only:
The website links provided are to be used strictly for educational and knowledge-gaining purposes only.
No Misuse:
Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.
Respect for Websites and Businesses:
Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.
Acknowledge Value of Knowledge:
Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.
No Endorsement:
The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.
User Responsibility:
By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.
- What is affinity in the context of cloud load balancing?
a. Ensuring requests randomly reach any server
b. Ensuring client requests remain tied to a specific server
c. Distributing requests via fixed scheduling
d. Reducing latency through multi-region deployment
Answer: bjinaldesai+1 - Which type of affinity binds a user’s session to a particular server throughout its duration?
a. IP affinity
b. Round robin
c. Sticky session
d. Random assignment
Answer: cscribd+2 - What is another name for session affinity in distributed applications?
a. Float affinity
b. Sticky session
c. Rolling assignment
d. Random allocation
Answer: bstackoverflow+2 - Which mechanism does Google Cloud use to implement session affinity?
a. HTTP headers
b. DNS round robin
c. Cookies
d. UDP packets
Answer: cjinaldesai+1 - What is the main advantage of using affinity in load balancing?
a. Maximizing resource usage
b. Increasing security risks
c. Preserving user context
d. Reducing hardware costs
Answer: cstackoverflow+1 - In which scenario is affinity mostly required?
a. Stateless web services
b. Online shopping carts
c. Static content delivery
d. Database replication
Answer: bjinaldesai+1 - Session affinity is also known as:
a. Least connections
b. Sticky sessions
c. Weighted allocation
d. Multi-threading
Answer: bscribd+2 - IP affinity binds a user to a backend server based on:
a. Username
b. Source IP address
c. System clock
d. Random selection
Answer: bstackoverflow+1 - Which protocol can utilize sticky sessions for affinity?
a. TCP only
b. UDP only
c. HTTP/HTTPS
d. ICMP
Answer: cjinaldesai+1 - Why might affinity reduce scalability in cloud environments?
a. It increases data transfer
b. It pins sessions to servers, limiting dynamic scaling
c. It reduces network latency
d. It improves security
Answer: bstackoverflow+1 - Which of the following is a risk of relying too much on affinity?
a. Improved throughput
b. Server overload if assigned sessions accumulate
c. Increased redundancy
d. Lower memory usage
Answer: bjinaldesai+1 - What term describes cloud affinity based on network layer attributes?
a. TCP affinity
b. OS affinity
c. IP affinity
d. Application affinity
Answer: cscribd+1 - Session affinity primarily helps with what aspect?
a. Multi-region failover
b. User state preservation
c. Reducing encryption overhead
d. Disk usage control
Answer: bstackoverflow+1 - Which load balancing strategy ignores affinity?
a. Round robin
b. Sticky session
c. IP affinity
d. Cookie-based allocation
Answer: ascribd+1 - How does affinity affect caching in cloud applications?
a. It enables shared caching
b. It can reduce cache effectiveness if data is local to instances
c. It eliminates cache coherence issues
d. It improves global cache hits
Answer: bjinaldesai+1 - Affinity can be set by which infrastructure resource?
a. Storage type
b. CPU number
c. Network protocol or cookie
d. Domain name
Answer: cstackoverflow+1 - Session affinity is necessary for which device class?
a. Stateless routers
b. Stateful web servers
c. Network switches
d. Disk arrays
Answer: bjinaldesai+1 - The CAP theorem influences affinity design in distributed systems by:
a. Addressing security policies
b. Balancing consistency, availability, and partition tolerance
c. Requiring only availability
d. Removing need for affinity
Answer: bscribd - What outcome does poor affinity configuration cause?
a. Balanced load
b. Session loss and user frustration
c. Redundant requests
d. Improved throughput
Answer: bstackoverflow+1 - Cloud-native affinity solutions often use:
a. Disk zoning
b. Network segmentation
c. Cookies and HTTP headers
d. Multithreaded storage
Answer: cjinaldesai+1 - Affinity in Kubernetes environments is handled through:
a. Labels and selectors
b. IP addresses only
c. Storage volume tags
d. RAM allocation
Answer: ajinaldesai - What does “pod affinity” mean in Kubernetes?
a. Affinity to a region
b. Scheduling pods close to related pods
c. CPU pinning
d. Disk isolation
Answer: bjinaldesai - Anti-affinity is the opposite; it ensures:
a. Sessions are sticky
b. Related pods are distributed across nodes
c. Data redundancy
d. Packet filtering
Answer: bjinaldesai - Which service commonly employs session affinity in public cloud?
a. Block storage
b. Web applications requiring login states
c. Object caching
d. Static file serving
Answer: bstackoverflow+1 - What effect does session affinity have on infrastructure monitoring?
a. Simplifies metrics
b. Makes traffic patterns less evenly distributed
c. Enables instant scaling
d. Reduces monitoring needs
Answer: bstackoverflow+1 - Google Cloud HTTP(S) Load Balancer supports which affinity type?
a. Global affinity only
b. Cookie affinity (session-based)
c. Memory zone affinity
d. Disk affinity
Answer: bstackoverflow+1 - Which protocol is least affected by affinity?
a. Stateful HTTP
b. Stateless UDP
c. TCP keepalive
d. SSL connections
Answer: bstackoverflow+1 - What is the main drawback of using IP-based affinity?
a. It is stateful
b. Clients behind NAT can be grouped incorrectly
c. It always supports SSL
d. No session stickiness
Answer: bjinaldesai+1 - To increase reliability, load balancers should minimize:
a. Affinity settings in stateless contexts
b. Round robin in all cases
c. Server health checks
d. Random assignment
Answer: astackoverflow+1 - Affinity can be implemented using which HTTP property?
a. User-Agent header
b. Cookie values
c. Status codes
d. Cache-control headers
Answer: bjinaldesai+1 - An affinity group in Azure ensures:
a. All resources are geographically spread
b. Resources co-locate in the same datacenter
c. Resource isolation across clouds
d. Stateless execution
Answer: bjinaldesai - Which is NOT a benefit of affinity in a cloud application?
a. Enhanced session persistence
b. Reduced server cache validity
c. Simplified state management
d. Improved user experience for logged-in users
Answer: bstackoverflow+1 - Session affinity is LEAST important for:
a. E-commerce sites
b. Chat applications
c. File download servers with stateless design
d. Online banking
Answer: cstackoverflow+1 - Which network device can be configured for session affinity?
a. Switches
b. Load balancers
c. Routers
d. Firewalls
Answer: bjinaldesai+1 - Which cloud vendor supports session affinity through load balancers?
a. Azure
b. AWS
c. Google Cloud Platform
d. All of the above
Answer: dstackoverflow+1 - “Sticky session” configuration is needed for:
a. Streaming local video only
b. Preserving application state between requests
c. Disabling cookies
d. Multi-server redundancy
Answer: bjinaldesai+1 - Affinity in cloud can be a challenge during:
a. Cluster failover events
b. Static DNS resolution
c. RAM upgrades
d. Disk mirroring
Answer: ascribd+1 - What technology helps overcome session affinity issues?
a. Stateless REST APIs
b. Dedicated disk arrays
c. Memory channeling
d. Cluster zoning
Answer: astackoverflow+1 - What’s a consequence of ignoring session affinity for stateful applications?
a. Seamless user experience
b. Session loss on server switch
c. Increased login attempts
d. More throughput
Answer: bjinaldesai+1 - Affinity can be enforced via all EXCEPT:
a. Application cookies
b. User credentials
c. Source IPs
d. Virtual machine tags
Answer: dstackoverflow+1 - Affinity policies are often set in:
a. Application layer configuration
b. Hardware BIOS settings
c. Disk file systems
d. RAM management tools
Answer: ajinaldesai+1 - Session affinity in microservice architectures is best handled with:
a. Service mesh configuration
b. Disk quota assignment
c. IP routing tables
d. NTP servers
Answer: ajinaldesai - Affinity can conflict with:
a. High availability and autoscaling goals
b. Session persistence best practices
c. Cookie encryption
d. Global load balancing
Answer: astackoverflow+1 - For compliance, affinity policies might ensure:
a. GDPR-aligned data locality
b. Stateless transport
c. Asynchronous backups
d. Encrypted cache
Answer: ajinaldesai - Which solution balances affinity with autoscaling?
a. Central rate limiter
b. Distributed cache for session data
c. Static IP routing
d. Data sharding
Answer: bstackoverflow+1 - What monitoring practice should accompany affinity usage in cloud?
a. Tracking session distribution
b. Ignoring server stats
c. Disabling logs
d. Relying on DNS records
Answer: astackoverflow+1 - Affinity configuration best practices include:
a. Evaluating stateless possibilities first
b. Enabling for all resources
c. Deleting cookies
d. Enforcing disk quotas
Answer: ajinaldesai+1 - Which affinity type is best for geographically distributed users?
a. Local disk affinity
b. Geo-affinity matching nearest backend
c. RAM stick affinity
d. Sticky session on global DNS
Answer: bstackoverflow+1 - Affinity can contribute to:
a. Centralized resource allocation
b. Uneven request distribution if sessions are long-lived
c. Globally balanced traffic
d. Multi-cloud failover
Answer: bjinaldesai+1 - What is the most scalable method to maintain session state with affinity?
a. Store session state in distributed cache or database
b. Local storage on each server only
c. Hard-code session keys
d. Disable affinity for all traffic
Answer: astackoverflow+1
- https://jinaldesai.com/3015-google-cloud-load-balancing-interview-questions/
- https://stackoverflow.com/questions/49442362/google-cloud-https-load-balancer-session-affinity
- https://www.scribd.com/document/700848315/Set-Questions-1
- https://www.sanfoundry.com/1000-cloud-computing-questions-answers/
- https://www.scribd.com/document/541792862/Cloud-Computing-MCQ-Questions-and-Answers-PDF-Tutorial
- https://www.interviewbit.com/cloud-computing-mcq/
- https://www.scribd.com/document/714050526/Cloud-Computing-Mcqs
- https://www.placementpreparation.io/mcq/cloud-computing/
- https://testbook.com/objective-questions/mcq-on-cloud-technology–5eea6a0d39140f30f369e30f
- https://www.studocu.com/row/document/ibrahim-badamasi-babangida-university/computer-organisation-architecture/cloud-computing-mcq/16276174
- https://www.quiz-maker.com/cp-np-free-cloud-computing-pra
- https://www.examveda.com/computer-science/practice-mcq-question-on-cloud-computing/
- https://www.geeksforgeeks.org/interview-experiences/cloud-computing-interview-questions/
- https://in.indeed.com/career-advice/interviewing/load-balancing-interview-questions
- https://www.cliffsnotes.com/study-notes/21479910
- https://www.wecreateproblems.com/interview-questions/cloud-computing-interview-questions
- https://www.techtarget.com/searchcloudcomputing/quiz/Quiz-Cloud-computing-basics
- https://www.youtube.com/watch?v=VowVAusyNvw
- https://www.sanfoundry.com/cloud-computing-questions-answers-cloud-management-products/
- https://www.coursehero.com/file/133731525/AWS-Week-1-Practice-Quiz-9-Cloud-Computing-on-AWS-Great-Learningpdf/