Company: Walmart_SDE_MCQ
Difficulty: medium
You want to carry out a reflection-based distributed denial-of-service (DDoS) attack against a network, where a small DNS query is amplified into a much larger response payload. Which DNS protocol extension enables this? EDNS0 WDNS8 FDNS1 KDNS2 Regarding semaphores in Java as used within an operating system, which of these statements hold true: 1. A semaphore is viewed as a protected integer variable. 2. The signal operation decrements the semaphore value, indicating that a resource is available. 3. A queue is used to hold processes waiting on the semaphore. 4. It is guaranteed that once a semaphore operation is started, no other process can access the semaphore until the operation is completed. 1, 2, and 4 1, 3, and 4 2, 3, and 4 All of these What does this JavaScript snippet print: let empIDs = [465216, 748125, 787465, 89265, 656546, 153220]; for (let i = empIDs.length - 1; i >= 0; i--) { let j = Math.floor(Math.random() * i); let k = empIDs[i]; empIDs[i] = empIDs[j]; empIDs[j] =