Posts
Knowledge has turned out to be mans greatest asset in mastering and conquering nature. The word science means literally knowledge. It is this quest and thrust for knowledge and the curiosity of man to know things beyond his reach that resulted in his becoming the lord of this plant. His never ending pursuit to unearth the reason behind phenomenon has resulted in endless discoveries and inventions, which have proved to be the grate stepping stones in the progress of mankind. Inventions like the telephone, radio, t.v, telegraph, transistors, airplanes, automobiles, steam engine, electricity, wireless, telescopes, microscope etc, have changed man’s life forever. There have been inventions and discoveries in all aspects of life. Science has worked grater miracles in the fields of health and medicine and has been the greatest weapon in man’s battle against diseases of various kinds. Vaccination is a miracle in the field of science. Penicillin, streptomycin, radium and x-rays have turned out be great blessings. The discovery of the atom and its structure has been one of the most remarkable discoveries made by man. The quantum theory, the electricity along with the great findings of Einstein, Neils Bohr etc, have revolutionised the world of science forever. Computer and information technology are the latest revolutions in the field of science. With the coming of mobiles, internet, web conferencing etc, the world has shrunk into a cyber village where time and distance have no meaning are at least are no longer barriers.
Knowledge has turned out to be mans greatest asset in mastering and conquering nature. The word science means literally knowledge. It is this quest and thrust for knowledge and the curiosity of man to know things beyond his reach that resulted in his becoming the lord of this plant. His never ending pursuit to unearth the reason behind phenomenon has resulted in endless discoveries and inventions, which have proved to be the grate stepping stones in the progress of mankind. Inventions like the telephone, radio, t.v, telegraph, transistors, airplanes, automobiles, steam engine, electricity, wireless, telescopes, microscope etc, have changed man’s life forever. There have been inventions and discoveries in all aspects of life. Science has worked grater miracles in the fields of health and medicine and has been the greatest weapon in man’s battle against diseases of various kinds. Vaccination is a miracle in the field of science. Penicillin, streptomycin, radium and x-rays have turned out be great blessings. The discovery of the atom and its structure has been one of the most remarkable discoveries made by man. The quantum theory, the electricity along with the great findings of Einstein, Neils Bohr etc, have revolutionised the world of science forever. Computer and information technology are the latest revolutions in the field of science. With the coming of mobiles, internet, web conferencing etc, the world has shrunk into a cyber village where time and distance have no meaning are at least are no longer barriers.
- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Back-end ChallengeIn the Bash script, wite a program that creates a file named Dockerfile. The contents of the Dockerfile should have the following commands:First, the base image should install python3 via the FROM command. Then the rest of the Dockerfile should look like the following:RUN pip install {{MODULES}}CMD ["python", {{FILENAME}}]{{MODULES}} should be replaced with the modules: numpy, scipy, and pandas all on one line. {{FILENAME}} should be replaced with ./main.pyThen your bash script should print the SHA1 hash of the contents of Dockerfile so that the output looks something like: HASH_OUTPUT Dockerfile
Back-end ChallengeIn the Bash script, wite a program that creates a file named Dockerfile. The contents of the Dockerfile should have the following commands:First, the base image should install python3 via the FROM command. Then the rest of the Dockerfile should look like the following:RUN pip install {{MODULES}}CMD ["python", {{FILENAME}}]{{MODULES}} should be replaced with the modules: numpy, scipy, and pandas all on one line. {{FILENAME}} should be replaced with ./main.pyThen your bash script should print the SHA1 hash of the contents of Dockerfile so that the output looks something like: HASH_OUTPUT Dockerfile
- Get link
- X
- Other Apps
Back-end ChallengeIn the Bash script, write a program that gets the raw output logs that exist at URL https://coderbyte.com/api/challenges/logs/web-logs-raw. The logs there are a sample of real web server logs. Each line begins with a date, e.g. Apr 10 11:17:35. Your program should do the following:Loop through each log item, and find the lines that contain the string coderbyte heroku/router. For each of those, echo the request_id value to a new line, and if the fwd key has the value of MASKED, then add a [M] to the end of the line with a space before it. Your final output should look something like the following:b19a87a1-1bbb-000-00000b19a87a1-1bbb-000-111118bb2413c-3c67-4180-22222 [M]10f93da3-2753-48a3-33333 [M]
Back-end ChallengeIn the Bash script, write a program that gets the raw output logs that exist at URL https://coderbyte.com/api/challenges/logs/web-logs-raw. The logs there are a sample of real web server logs. Each line begins with a date, e.g. Apr 10 11:17:35. Your program should do the following:Loop through each log item, and find the lines that contain the string coderbyte heroku/router. For each of those, echo the request_id value to a new line, and if the fwd key has the value of MASKED, then add a [M] to the end of the line with a space before it. Your final output should look something like the following:b19a87a1-1bbb-000-00000b19a87a1-1bbb-000-111118bb2413c-3c67-4180-22222 [M]10f93da3-2753-48a3-33333 [M]
- Get link
- X
- Other Apps
Back-end ChallengeIn the Python file, write a program to get all the files from a public S3 bucket named coderbytechallengesandbox. In there there might be multiple files, but your program should find the file with the prefix __cb__, and then output the full name of the file. You should use the boto3 module to solve this challenge.You do not need any access keys to access the bucket because it is public. This post might help you with how to access the bucket.Example Output__cb__name.txt
Back-end ChallengeIn the Python file, write a program to get all the files from a public S3 bucket named coderbytechallengesandbox. In there there might be multiple files, but your program should find the file with the prefix __cb__, and then output the full name of the file. You should use the boto3 module to solve this challenge.You do not need any access keys to access the bucket because it is public. This post might help you with how to access the bucket.Example Output__cb__name.txt
- Get link
- X
- Other Apps
TIME LEFT1 hours, 37 minutesVinsolWelcome to your Coderbyte assessment. Try and solve the challenges and answer the questions within this assessment to the best of your ability. Good luck!Submit AssessmentCHALLENGESINCOMPLETEOPEN-ENDEDINCOMPLETEMULTIPLE CHOICECOMPLETEAssessmentHelpMULTIPLE CHOICE QUESTIONSThe FROM keyword in a Dockerfile can appear:It can appear multiple times in a single DockerfileThere can be no FROM keyword in a DockerfileIt can appear only once at the topCan be defined only at the bottom of a DockerfileWhat is telemetry?Telemetry is a widely known SaaS tool to plan and execute DevOps projects.Telemetry is the process of recording the behaviour of your systems.Telemetry is an IT tool to help configure Docker.Telemetry is a tool to design, code and execute automated unit tests.What is the use of PTR (Pointer record) in DNS?A PTR is used for reverse DNS lookups.PTR is a tool used to configure your DNS.It is a pointer from one DNS record to another.PTS is a SaaS product that helps create DNS records.What does the following Docker command do?docker run -i -t alpine /bin/bashSetup /bin/bash in the containerStarts Docker in alpine modeThis Dockerfile is not validRuns the image as a containerWhat line is missing from this Dockerfile that allows us to install Python modules?FROM python:3ENV PYTHONUNBUFFERED 1RUN mkdir /codeWORKDIR /codeCOPY requirements.txt /code/***COPY . /code/PYTHON RUN pip install -r requirements.txtDOCKER-RUN pip install -r requirements.txtINSTALL pip install -r requirements.txtRUN pip install -r requirements.txtAWS: A company is developing a highly available web application using stateless web servers. Which services are suitable for storing session state data?Elastic Load BalancingCloudWatchDynamoDBGlacierAWS: An organization is building an Amazon Redshift cluster in their shared services VPC. The cluster will host sensitive data. How can the organization control which networks can access the cluster?Create a database user inside the Amazon Redshift cluster only for users on the networkRun the cluster in a different VPC and connect through VPC peeringDefine a cluster security group for the cluster that allows access from the allowed networksOnly allow access to networks that connect with the shared services network via VPNAWS: A Solutions Architect is designing an online shopping application running in a VPC on EC2 instances behind an ELB Application Load Balancer. The instances run in an Auto Scaling group across multiple Availability Zones. The application tier must read and write data to a customer managed database cluster. There should be no access to the database from the Internet, but the cluster must be able to obtain software patches from the Internet. Which VPC design meets these requirements?Public subnets for the application tier and NAT Gateway, and private subnets for the database clusterPublic subnets for both the application tier and the database clusterPublic subnets for the application tier, and private subnets for the database clusterPublic subnets for the application tier, and private subnets for the database cluster and NAT GatewaySave AnswersOPEN-ENDED QUESTIONSYour company is hosting an application in AWS. The application is read intensive and consists of a set of web servers and AWS RDS. It has been noticed that the response time of the application increases due to the load on the AWS RDS instance, how do you resolve the issue?Write your answer here...Tell us a bit about the difference between containers and virtual machines.Write your answer here...What is TTL when talking about Domains. What role does it play when we have to move from one provider to another, lets say from GoDaddy to AWS?Write your answer here...What is the difference between git merge and git rebase?Write your answer here...How do you find a list of files that have been changed in a particular commit?Write your answer here...What is the process to revert a commit that has already has been pushed and made public?Write your answer here...
TIME LEFT1 hours, 37 minutesVinsolWelcome to your Coderbyte assessment. Try and solve the challenges and answer the questions within this assessment to the best of your ability. Good luck!Submit AssessmentCHALLENGESINCOMPLETEOPEN-ENDEDINCOMPLETEMULTIPLE CHOICECOMPLETEAssessmentHelpMULTIPLE CHOICE QUESTIONSThe FROM keyword in a Dockerfile can appear:It can appear multiple times in a single DockerfileThere can be no FROM keyword in a DockerfileIt can appear only once at the topCan be defined only at the bottom of a DockerfileWhat is telemetry?Telemetry is a widely known SaaS tool to plan and execute DevOps projects.Telemetry is the process of recording the behaviour of your systems.Telemetry is an IT tool to help configure Docker.Telemetry is a tool to design, code and execute automated unit tests.What is the use of PTR (Pointer record) in DNS?A PTR is used for reverse DNS lookups.PTR is a tool used to configure your DNS.It is a pointer from one DNS record to another.PTS is a SaaS product that helps create DNS records.What does the following Docker command do?docker run -i -t alpine /bin/bashSetup /bin/bash in the containerStarts Docker in alpine modeThis Dockerfile is not validRuns the image as a containerWhat line is missing from this Dockerfile that allows us to install Python modules?FROM python:3ENV PYTHONUNBUFFERED 1RUN mkdir /codeWORKDIR /codeCOPY requirements.txt /code/***COPY . /code/PYTHON RUN pip install -r requirements.txtDOCKER-RUN pip install -r requirements.txtINSTALL pip install -r requirements.txtRUN pip install -r requirements.txtAWS: A company is developing a highly available web application using stateless web servers. Which services are suitable for storing session state data?Elastic Load BalancingCloudWatchDynamoDBGlacierAWS: An organization is building an Amazon Redshift cluster in their shared services VPC. The cluster will host sensitive data. How can the organization control which networks can access the cluster?Create a database user inside the Amazon Redshift cluster only for users on the networkRun the cluster in a different VPC and connect through VPC peeringDefine a cluster security group for the cluster that allows access from the allowed networksOnly allow access to networks that connect with the shared services network via VPNAWS: A Solutions Architect is designing an online shopping application running in a VPC on EC2 instances behind an ELB Application Load Balancer. The instances run in an Auto Scaling group across multiple Availability Zones. The application tier must read and write data to a customer managed database cluster. There should be no access to the database from the Internet, but the cluster must be able to obtain software patches from the Internet. Which VPC design meets these requirements?Public subnets for the application tier and NAT Gateway, and private subnets for the database clusterPublic subnets for both the application tier and the database clusterPublic subnets for the application tier, and private subnets for the database clusterPublic subnets for the application tier, and private subnets for the database cluster and NAT GatewaySave AnswersOPEN-ENDED QUESTIONSYour company is hosting an application in AWS. The application is read intensive and consists of a set of web servers and AWS RDS. It has been noticed that the response time of the application increases due to the load on the AWS RDS instance, how do you resolve the issue?Write your answer here...Tell us a bit about the difference between containers and virtual machines.Write your answer here...What is TTL when talking about Domains. What role does it play when we have to move from one provider to another, lets say from GoDaddy to AWS?Write your answer here...What is the difference between git merge and git rebase?Write your answer here...How do you find a list of files that have been changed in a particular commit?Write your answer here...What is the process to revert a commit that has already has been pushed and made public?Write your answer here...
- Get link
- X
- Other Apps
An organization is building an Amazon Redshift cluster in their shared services VPC. The cluster will host sensitive data. How can the organization control which networks can access the cluster?Create a database user inside the Amazon Redshift cluster only for users on the networkRun the cluster in a different VPC and connect through VPC peeringDefine a cluster security group for the cluster that allows access from the allowed networksOnly allow access to networks that connect with the shared services network via VPN
An organization is building an Amazon Redshift cluster in their shared services VPC. The cluster will host sensitive data. How can the organization control which networks can access the cluster?Create a database user inside the Amazon Redshift cluster only for users on the networkRun the cluster in a different VPC and connect through VPC peeringDefine a cluster security group for the cluster that allows access from the allowed networksOnly allow access to networks that connect with the shared services network via VPN
- Get link
- X
- Other Apps
What line is missing from this Dockerfile that allows us to install Python modules?FROM python:3ENV PYTHONUNBUFFERED 1RUN mkdir /codeWORKDIR /codeCOPY requirements.txt /code/***COPY . /code/PYTHON RUN pip install -r requirements.txtDOCKER-RUN pip install -r requirements.txtINSTALL pip install -r requirements.txtRUN pip install -r requirements.txt
What line is missing from this Dockerfile that allows us to install Python modules?FROM python:3ENV PYTHONUNBUFFERED 1RUN mkdir /codeWORKDIR /codeCOPY requirements.txt /code/***COPY . /code/PYTHON RUN pip install -r requirements.txtDOCKER-RUN pip install -r requirements.txtINSTALL pip install -r requirements.txtRUN pip install -r requirements.txt
- Get link
- X
- Other Apps
What is telemetry?Telemetry is a widely known SaaS tool to plan and execute DevOps projects.Telemetry is the process of recording the behaviour of your systems.Telemetry is an IT tool to help configure Docker.Telemetry is a tool to design, code and execute automated unit tests.
What is telemetry?Telemetry is a widely known SaaS tool to plan and execute DevOps projects.Telemetry is the process of recording the behaviour of your systems.Telemetry is an IT tool to help configure Docker.Telemetry is a tool to design, code and execute automated unit tests.
- Get link
- X
- Other Apps