An Infosys data engineer needs to process 10 TB of unstructured data. Which Apache tool would be most suitable for batch processing?
AApache Spark
BApache NiFi
CApache Hadoop MapReduce
DApache Storm
Correct Answer:
A. Apache Spark
EXPLANATION
Apache Spark is superior for large-scale batch processing due to its in-memory computing capabilities, providing faster execution than MapReduce for processing large datasets.
The Richardson Maturity Model progresses from the Swamp (0), to Resources (1), HTTP Verbs (2), and finally Hypermedia (3) as the highest level of REST maturity.
An Infosys developer needs to optimize a SQL query that joins 4 tables. The query currently takes 8 seconds to execute. Which indexing strategy would be most effective?
AIndex only the primary key columns
BCreate composite indexes on join columns and filter conditions
CIndex all columns in the tables
DRemove all existing indexes
Correct Answer:
B. Create composite indexes on join columns and filter conditions
EXPLANATION
Composite indexes on join columns and WHERE clause conditions significantly improve query performance by reducing the number of rows scanned.
In Infosys' microservices architecture, which design pattern is used to manage distributed transactions across multiple services?
ASaga Pattern
BFactory Pattern
CSingleton Pattern
DObserver Pattern
Correct Answer:
A. Saga Pattern
EXPLANATION
The Saga pattern is used in microservices to manage distributed transactions by breaking them into local transactions coordinated through event-driven communication.
Which HTTP status code should a REST API return when a resource is successfully created?
A200 OK
B201 Created
C202 Accepted
D204 No Content
Correct Answer:
B. 201 Created
EXPLANATION
HTTP status code 201 Created is the correct response when a new resource is successfully created via POST request, typically including the resource location in the response header.
Which of the following best describes the Infosys' commitment to 'Digital-First' customer experience in 2024-25?
ACompletely eliminating phone support
BPrioritizing digital channels while maintaining traditional support options
CIncreasing service costs for digital transactions
DRemoving human interaction from all services
Correct Answer:
B. Prioritizing digital channels while maintaining traditional support options
EXPLANATION
Infosys' Digital-First approach prioritizes digital channels and experiences while still maintaining traditional support options for customer choice and accessibility.