Go Skills

Most commonly asked interview theory questions.

  1. Why golang
  2. What is goroutines
  3. What is channels
  4. Types of channels - Buffered & Unbuffered channel
  5. Where you used goroutine and channels in project
  6. What is wait groups
  7. What is Mutexes / how to avoid race condition in
  8. Go-routines talking each other one is failed to send data to another how you handle
  9. What is interfaces
  10. What is methods
  11. What are the reference types in golang
  12. How to generate in go mock / go mocking?
  13. Go testing tools used ?
  14. What is difference between interface and struct
  15. runtime time type checking
  16. Unit tests / How you test server, handler, repository ?
  17. How Slices different from array , how they dynamically shrink ?
  18. Remove middle element from slice without re-slicing ?
  19. Can we add filter on slice, for example only return even no from slice ?
  20. How to create an worker pool
  21. Error handling in go / exception handling in golang
  22. What is nil in golang
  23. What is anonymous function
  24. What is empty struct{}
  25. What is maps
  26. How to get only keys from map
  27. How to iterate over map without using for loop
  28. What is struct
  29. How to detect race condition in golang
  30. What are golang data structures used in project
  31. Have you written own pkg in golang
  32. Tools to format go code
  33. What is Function Closure
  34. How do know channel is closed?
  35. What is Shallow copy , Deep copy difference
  36. Datatypes in Go
  37. Write an API in gin framework
  38. Panic and Recovery
  39. What is go mod
  40. Serialization in go / Go is asynchronous or synchronous
  41. What is context package
  42. Add value to a map using channels
  43. Parallelism and concurrency
  44. Polymorphism and Inheritance in golang , How to achieve ?
  45. Design a rest server to store employee details
  46. Do you know Gin ?
  47. What is string literals
  48. What is Docker
  49. What is k8s
  50. Complexity of insert , search in maps and array/slice
  51. Drawbacks of micro services
  52. Write API for user register how you can do ?
  53. Micro services how to handle failed
  54. How you mange and read config at local, staging, production ?
  55. How to write response if something happen in service layer ?
  56. What happens when two go routines try to access same resource, how to avoid ?
  57. How to know if any service third party API failed ?
  58. How to copy one file from server1 to server2
  59. Rate yourself out of 10 in golang , database
  60. How you migrate existing monolithic project into micro services
  61. What are the design patterns ?
  62. Explain URL shortner service how you structure code ( Architecture folder structure)
  63. Which database will choose relational or nosql
  64. Can we design architecture for your project?
  65. Have you written own pkgs in golang ?
  66. What is docker file, docker-compose difference ?
  67. Can you able to write Docker file ?
  68. What is GRPC
  69. Can we use json or xml instread on protobuf in grpc
  70. Why not follow TDD in current project
  71. How you find error if any micro service is down , how to check logs and recover
  72. Do you know Virtualisation , pagination some OS concepts
  73. Which framework used
  74. How you migrate NoSQL to SQL DB
  75. What are the message queue you used ?
  76. Git hub actions –> CICD
  77. How you document your API - Swagger, GoDOC
  78. How you secure application at code level
  79. AWS - Amazon Elastic Compute Cloud (EC2), AWS Lambda - server less, Amazon Simple Storage Service (S3), Amazon DynamoDB,
  80. What is terraform
  81. Array vs linked-list , queue vs stack , complexity
  82. What is kafka
  83. How to set env in docker
  84. What is Service discovery
  85. Which db is faster relational vs nosql
  86. Interpreter vs compiler
  87. What is heap and stack
  88. What is thread
  89. Tell me common HTTP Error codes
  90. Explain 2 tier , 3 tier Architecture
  91. Communication Client to Server end to end
  92. Micro services vs monolith
  93. What is race condition , deadlock
  94. Linux commands
  95. What is /proc in Linux
  96. What is bash ?
  97. What is script and What is program
  98. Explain your project structure / What is clean code architecture
  99. ELK Elastic search
  100. How micro services communicates?