Infrastructure Interview Questions

3,730 infrastructure interview questions shared by candidates

When a in-memory database is used primarily as a cache, eventually that database will become full. In order to continue operating, objects must be evicted from memory (essentially, deleted) to free up space. Some common strategies for determining what to evict include: LRU (Least Recently Used), where the least recently accessed keys are evicted first when an eviction is reguired LFU (Least Frequently Used), where the least frequently accessed keys are evicted first when an eviction is required Random, where a random key is evicted when an eviction is required No Eviction, where an error is raised rather than ever evicting a key Which statement about eviction policies is most TRUE? O Memcached supports the Random or LRU eviction strategles, whereas Redis never evicts keys and instead always raises an error when RAM is exhausted. Redis supports all of the above strategies, and Memcached supports only LRU and LFU. Typically an application will configure all available data stores with a similar eviction policy. Both Memcached and Redis support all of the above strategies, and you should configure Memcached or Redis appropriately as required by the application. Both Redis and Memcached support all of the above strategies except for Random. FU is always inferior to LRU and should never be used. While Redis supports all of the above strategies, Memcached only supports an RU eviction policy. It is conceivable that certain applications would benefit from multiple Redis servers with different eviction policies for different storage needs.
avatar

Infrastructure Engineer

Interviewed at Files.com

2.8
Jun 11, 2024

When a in-memory database is used primarily as a cache, eventually that database will become full. In order to continue operating, objects must be evicted from memory (essentially, deleted) to free up space. Some common strategies for determining what to evict include: LRU (Least Recently Used), where the least recently accessed keys are evicted first when an eviction is reguired LFU (Least Frequently Used), where the least frequently accessed keys are evicted first when an eviction is required Random, where a random key is evicted when an eviction is required No Eviction, where an error is raised rather than ever evicting a key Which statement about eviction policies is most TRUE? O Memcached supports the Random or LRU eviction strategles, whereas Redis never evicts keys and instead always raises an error when RAM is exhausted. Redis supports all of the above strategies, and Memcached supports only LRU and LFU. Typically an application will configure all available data stores with a similar eviction policy. Both Memcached and Redis support all of the above strategies, and you should configure Memcached or Redis appropriately as required by the application. Both Redis and Memcached support all of the above strategies except for Random. FU is always inferior to LRU and should never be used. While Redis supports all of the above strategies, Memcached only supports an RU eviction policy. It is conceivable that certain applications would benefit from multiple Redis servers with different eviction policies for different storage needs.

First explain your background and then I had to develop a microeconomics case about the pricing of licenses for taxis (which in a first stage are handed out for free) in a city and what you would do if you were the mayor of that city. The interview went okay but the exam was not that easy (1h15) as I hadn't studied pure microeconomics in 3 years. Also they had told me the exam would be multiple choice but in the end there were some open questions, and in my opinions a lot of questions were not very clear and could have ambiguous meanings.

First explain your background and then I had to develop a microeconomics case about the pricing of licenses for taxis (which in a first stage are handed out for free) in a city and what you would do if you were the mayor of that city. The interview went okay but the exam was not that easy (1h15) as I hadn't studied pure microeconomics in 3 years. Also they had told me the exam would be multiple choice but in the end there were some open questions, and in my opinions a lot of questions were not very clear and could have ambiguous meanings.

Viewing 1641 - 1650 interview questions

Glassdoor has 3,730 interview questions and reports from Infrastructure interviews. Prepare for your interview. Get hired. Love your job.