Add office photos
TCS logo
Engaged Employer

TCS

Verified
3.7
based on 90.3k Reviews
Video summary
Filter interviews by
Gcp Data Engineer
Clear (1)

TCS Gcp Data Engineer Interview Questions and Answers

Updated 3 Oct 2024

Q1. write a python code to trigger a dataflow job in cloud function

Ans.

Python code to trigger a dataflow job in cloud function

  • Use the googleapiclient library to interact with the Dataflow API

  • Authenticate using service account credentials

  • Submit a job to Dataflow using the projects.locations.templates.launch endpoint

Add your answer
right arrow

Q2. Recursion function for factorial

Ans.

Recursion function to calculate factorial of a number

  • Define a function that takes an integer as input

  • Base case: if input is 0, return 1

  • Recursive case: return input multiplied by factorial of input-1

  • Example: factorial(5) = 5 * factorial(4) = 5 * 4 * factorial(3) = ... = 5 * 4 * 3 * 2 * 1 = 120

Add your answer
right arrow

Q3. Why you choose tcs

Ans.

I chose TCS for its reputation, global presence, diverse opportunities, and focus on innovation.

  • TCS is a renowned company with a strong reputation in the IT industry

  • TCS has a global presence with offices in multiple countries, providing opportunities for international exposure

  • TCS offers diverse opportunities for career growth and development in various domains

  • TCS is known for its focus on innovation and cutting-edge technologies, which aligns with my career goals

Add your answer
right arrow

Q4. create gcs bucket using python

Ans.

Use Python to create a GCS bucket

  • Import the necessary libraries like google.cloud.storage

  • Authenticate using service account credentials

  • Use the library functions to create a new bucket

Add your answer
right arrow
Discover TCS interview dos and don'ts from real experiences

Q5. string is palindrome or not

Ans.

Check if a string is a palindrome or not

  • Compare the string with its reverse to check for palindrome

  • Ignore spaces and punctuation marks when comparing

  • Examples: 'racecar' is a palindrome, 'hello' is not

Add your answer
right arrow

Q6. Reverser a number

Ans.

Reverse a given number

  • Convert the number to a string

  • Reverse the string

  • Convert the reversed string back to a number

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at TCS Gcp Data Engineer

based on 2 interviews
Interview experience
4.5
Good
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Gcp Data Engineer Interview Questions from Similar Companies

Cognizant Logo
3.7
 • 12 Interview Questions
Deloitte Logo
3.8
 • 10 Interview Questions
View all
Recently Viewed
REVIEWS
Cognizant
No Reviews
SALARIES
Apstersoft Technologies
No Salaries
SALARIES
TCS
SALARIES
Deloitte
SALARIES
Appstallions Technologies
SALARIES
TCS
SALARIES
IBM
SALARIES
Speroware Technologies
SALARIES
Oak Brook Technologies
DESIGNATION
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter