Microsoft認定資格 Developer Associate(予想問題) その8
通常
試験時間: 00:00問題時間: 00:00
問題一覧
問題 25 / 65
製品情報を更新した際に Azure Cache for Redis の "Products" キーだけを削除してキャッシュを無効化するための適切なコードスニペットはどれですか 前提: ConnectionMultiplexer 型の Connection が既に初期化されている
①IDatabase cache = Connection.GetDatabase(); cache.KeyDelete("Products");
②IDatabase cache = Connection.GetDatabase(); cache.RemoveKey("Products");
③var server = Connection.GetServer(); server.FlushDatabase();
④IDatabase cache = Connection.GetDatabase(); cache.StringSet("Products", null);
⑤Connection.KeyDelete("Products");
