Q1. Write a program in python to access the contents of an S3 bucket and find file with some prefix. Then output the contents of that file. You need to use boto3
Q2. In bash write a script that creates Dockerfile with contents that set base image to redis, install all dependencies for redis cluster management like curl and redis-tools, set the working directory to /redis, copy nodes.conf file from current dir to working dir, set redis.conf to use custom configuration from file named cluster-redis.conf, set environment variable REDIS_ENV, create a directory named /data to be used as redis recovery directory, set redis as the user to run as, expose ports 7000 through 7005, and add a cluster-init.sh script from current directory and set it as entrypoint