[Interview] Turing DevOps Interview Questions & Solution

 


Turing DevOps Interview Questions & Solution 


                                Download These Books to Get Turing Interview Solution 

 

Question:
A web application running in https://mydomain.com needs to access data from https://api.myotherdomain.com but is unable to. Error message "Origin is not allowed by Access-Control-Allow- Origin".

Options:

    mydomain.com needs to explicitly grant permissions to access api.myotherdomain.com via HTTP authorization headers

    None of the above

    api.myotherdomain.com needs to explicitly grant permissions to mydomain.com to retrieve data via HTTP access control headers

    mydomain.com needs to explicitly grant permissions to access api.myotherdomain.com via HTTP cors headers

    api.myotherdomain.com needs to explicitly grant permissions to mydomain.com to retrieve data via HTTP authorization headers

The correct answer to this question is:

"api.myotherdomain.com needs to explicitly grant permissions to mydomain.com to retrieve data via HTTP access control headers".


Question:
Which of the following k8s resources are not associated with any namespace?

Options:

    Services & Persistent Volumes

    ReplicaSets & Services

    DaemonSets & Nodes

    All of the above

    Persistent volumes & Nodes

The correct answer to this question is:

"Persistent volumes & Nodes".


Question:
What does kubectl rollout undo deployment/app --to-revision=2 do?

Options:

    It reverts the image of the app container inside deployment to version 2.0.0

    It reverts the image of the app container inside deployment to version 2

    It reverts the deployment of Kubernetes version to revision 2

    It reverts the deployment named app to the configuration in revision 2

    None of the above

The correct answer to this question is:

"It reverts the deployment named app to the configuration in revision 2".


Question:
What is the difference between Role and ClusterRole in Kubernetes?

Options:

    A role can only be used to grant access to resources within a single namespace.

    A Role is tight to a Node, ClusterRole is working on all the Nodes.

    A ClusterRole can be used to grant the same permissions as a Role, but because they are node-scoped.

    None of the above.

The correct answer to this question is:

"A role can only be used to grant access to resources within a single namespace."



Question:
What is an NS record in DNS, for example in mydomain.com?

Options:

    It specifies the IP address for mydomain.com

    It specifies the CNAME and the TTL for the A record

    It specifies the DNS server that is authoritative for mydomain.com

    None of the above

The correct answer to this question is:

"It specifies the DNS server that is authoritative for mydomain.com".



Question:
What is execution permissions in a directory in Linux?

Options:

    It is not used.

    Allows user/group/others to access that directory but not list.

    Allows user/group/others to delete files in that directory.

    Allows user/group/others to execute files in that directory.

The correct answer to this question is:

"Allows user/group/others to access that directory but not list."


If you want to get the all questions and answers then you can download it from this link: https://shawon10.gumroad.com/l/turing-devops-question-answers

 

 

Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment