NewWork mode: your Claude Code or Codex on work calls, answering from your project's codeSkip to content

Quiz: SRE / Platform Engineer

SRE / Platform Engineer questions from real interviews as a quiz, with an explanation for every option.

Try it: 5 questions

Loading…

Sample questions

  1. Which factors should be considered when choosing the number of Kafka topic partitions? Select three.

    • Expected throughput, data volume, and message size
    • To preserve message order, create a separate partition for every key
    • Required processing parallelism and the number of consumer instances
    • The partition count must always match the number of brokers
    • Broker capacity and the overhead of having many partitions
    Full answer
  2. Which three OS or distribution–package manager pairs are correct?

    • Gentoo — emerge
    • Arch Linux — pacman
    • Void Linux — apt
    • FreeBSD — dnf
    • Alpine Linux — apk
    Full answer
  3. What does this pipeline do with a gzipped Redis log?

    zcat redis.log.gz | awk '{print $3}' | grep SET | sort | uniq -c | sort -nr
    
    • Extracts the third field, keeps values containing SET, and counts them in descending order.
    • Extracts every line containing SET, removes duplicates, and sorts the lines by time.
    • Decompresses the log, replaces each SET with its occurrence count, and saves the result to a file.
    • Counts all log lines containing SET and prints one overall total.
    Full answer
  4. On Linux, how can you find the number of OS threads used by a Go service when you know its PID?

    • Check the memory size in /proc/<PID>/statm
    • Read the Threads field in /proc/<PID>/status
    • Call runtime.NumGoroutine()
    • Count the files in /proc/<PID>/fd
    Full answer
  5. How can ArgoCD permissions be separated so that some users can only view applications while others can trigger syncs?

    • Use a Kubernetes ServiceAccount for each application to separate permissions
    • Allow all users to sign in and enforce restrictions only in the Git repository
    • Run a separate ArgoCD server for each user group
    • Define roles and policies in argocd-rbac-cm, then assign roles to users or groups
    Full answer
  6. What do containers in the same Kubernetes Pod have in common? Select all that apply.

    • They are managed as part of one Pod lifecycle.
    • They share a network namespace and can reach one another via localhost.
    • Each container has its own IP address, separate from the Pod's IP.
    • They automatically use a shared filesystem.
    • They always run on the same node.
    Full answer
  7. Which statements about signals in Unix-like systems and the difference between SIGTERM and SIGKILL are correct? Select three.

    • Signals asynchronously notify processes about events.
    • A process can handle SIGTERM and perform cleanup before exiting.
    • SIGKILL cannot be caught or ignored.
    • SIGTERM cannot be caught, so it always terminates a process immediately.
    • A process can catch SIGKILL and exit gracefully.
    Full answer
  8. What is the main difference between when and tags in Ansible?

    • when sets a condition for a task to run, while tags help select tasks when running a playbook.
    • when sets the order of tasks, while tags determine which operating systems they run on.
    • when selects tasks when running a playbook, while tags set conditions based on variables.
    • when and tags are equivalent ways to skip tasks based on a condition.
    Full answer
  9. What is AppArmor in Linux?

    • An ACL system that assigns file permissions to users
    • A filesystem encryption mechanism
    • A MAC system that restricts applications using profiles
    • A tool for backing up system configuration files
    Full answer
  10. Which of the following are examples of Linux pseudo-filesystems? Select all that apply.

    • NFS, mounted from network storage
    • sysfs, mounted at /sys
    • procfs, mounted at /proc
    • ext4, commonly used for disk partitions
    • tmpfs, often used for /run
    Full answer