Assuming that a cache memory is present
While executing STORE two conditions may occur.
- The memory location is in the cache- then we may store the data to cache as well to memory right away, this is called write through policy.Or we wait for the block to get evicted from cache and then proceed to write to main memory this is Write Back policy.
- The memory location is not present in the Cache- we can put it in the cache by allocating some space. This is write allocate policy.Or we can directly write to main memory in no write allocate policy.
Seeing all your options and assuming that the memory location is present in the Cache the answer should be -Cache only OR Both cache and main memory
Reference